Function at 0x4b8520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0xac
call fcn.006977b0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x28]
call fcn.004f2e64
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x2d]
mov si, word [eax + 0x3f]
mov ebp, dword [eax + 0x35]
lea edi, [eax + 0x35]
mov dword [esp + 0x10], edi
call fcn.00407280
mov eax, dword [eax]
push ebp
push eax
lea ecx, [esp + 0x30]
call fcn.004f0634
mov ecx, dword [ebx + 0x2d]
mov ecx, dword [ecx + 0x59]
call fcn.004fc28c
mov edx, dword [ebx + 0x31]
mov ecx, dword [ebx + 0x2d]
push edx
call fcn.00407cc0
mov ebp, eax
push 0
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.005095c8
movsx esi, si
push esi
push 0x4e1
mov ecx, ebp
call fcn.005096bc
mov ecx, dword [ebx + 0x2d]
mov edi, dword [edi]
mov ebp, eax
call fcn.004072d0
cmp edi, dword [eax]
jge 0x4b8653
xor edi, edi
cmp ebp, edi
je 0x4b87a4
cmp dword [ebp + 0x1d], esi
jne 0x4b8655
mov eax, dword [esp + 0x10]
mov cx, word [eax + 4]
cmp cx, word [eax + 0xc]
je 0x4b8655
mov edx, dword [ebx + 0x39]
push edx
push 0x4e1
mov ecx, ebp
call fcn.004168a0
mov esi, eax
cmp esi, edi
je 0x4b8645
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00416860
lea ecx, [esp + 0x18]
call fcn.004a8740
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x28]
jge 0x4b8617
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.004f1c3c
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
lea eax, [esp + 0x20]
push eax
push esi
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004b8080
mov ecx, dword [esp + 0x14]
push ebp
call fcn.004168d0
mov ebp, eax
jmp 0x4b8655
xor edi, edi
cmp ebp, edi
je 0x4b87a4
lea ecx, [ecx]
movsx eax, word [esp + 0x32]
cmp dword [ebp + 0x1d], eax
jl 0x4b87a4
test byte [ebp + 0x10], 2
mov eax, dword [ebx + 0x39]
jne 0x4b8688
mov edx, dword [ebp]
push edi
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4b8696
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004f335c
mov esi, eax
cmp esi, edi
je 0x4b877c
mov eax, dword [esp + 0xc8]
cmp dword [eax + 8], edi
jne 0x4b86d9
movsx ecx, word [esp + 0x32]
cmp dword [ebp + 0x1d], ecx
jne 0x4b86be
cmp word [esp + 0x2c], 1
jle 0x4b86d9
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
push edx
call fcn.004b8430
xor edi, edi
jmp 0x4b877c
lea ecx, [esp + 0x38]
call fcn.004f2e64
lea ecx, [esp + 0x18]
call fcn.004f2e64
xor eax, eax
mov ax, word [ebp + 0x1d]
lea ecx, [esp + 0x38]
push eax
call fcn.004f1bfc
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3e]
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.004f0c08
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004f1c3c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1e]
push edx
push eax
push 1
lea ecx, [esp + 0x24]
call fcn.004f0c08
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x28]
jge 0x4b874e
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.004f1c3c
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0xc8]
lea eax, [esp + 0x20]
push eax
push esi
push ecx
push edx
push edi
mov ecx, ebx
call fcn.004b8080
mov esi, dword [esp + 0x14]
test byte [esi + 0x10], 2
jne 0x4b8791
mov ecx, dword [ebp + 4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
push ebp
call fcn.004f3074
mov ebp, eax
cmp ebp, edi
jne 0x4b8660
mov edx, dword [esp + 0xc8]
cmp dword [edx + 8], edi
jne 0x4b8924
mov ecx, dword [ebx + 0x2d]
mov esi, dword [esp + 0x32]
call fcn.00407280
cmp si, word [eax + 0xa]
jg 0x4b8829
cmp ebp, edi
je 0x4b8829
lea ebx, [ebx]
test byte [ebp + 0x10], 2
mov eax, dword [ebx + 0x39]
jne 0x4b87ea
mov edx, dword [ebp]
push edi
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4b87f8
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004f335c
cmp eax, edi
je 0x4b8805
cmp dword [ebp + 0x1d], edi
je 0x4b88a3
mov esi, dword [esp + 0x14]
test byte [esi + 0x10], 2
jne 0x4b881a
mov ecx, dword [ebp + 4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
push ebp
call fcn.004f3074
mov ebp, eax
cmp ebp, edi
jne 0x4b87d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.00536828
lea ecx, [esp + 0x94]
mov dword [esp + 0x48], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.00535fe4
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edi
call fcn.005351a4
mov ecx, 0x2d
call fcn.004dc218
cmp eax, edi
je 0x4b88bd
push edi
push edi
mov ecx, eax
call fcn.004f9d94
mov esi, eax
jmp 0x4b88bf
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
push edx
mov esi, eax
call fcn.004b8430
xor edi, edi
jmp 0x4b8924
xor esi, esi
mov eax, dword [esp + 0xc8]
mov cx, word [eax + 0xc]
mov word [esi + 0x13], cx
mov edx, dword [esp + 0x28]
push edx
mov ecx, esi
call fcn.004f7b3c
push edi
push esi
push 0x1000
mov ecx, ebx
mov byte [esi + 0x16], 0
call fcn.004f8e0c
mov eax, dword [eax + 0x17]
mov ecx, dword [esp + 0xc4]
push eax
call fcn.0056b860
push edi
push esi
push 0x100b
mov ecx, ebx
call fcn.004f8e0c
mov ecx, dword [eax + 0x17]
push 1
push ecx
mov ecx, dword [esp + 0xc8]
call fcn.00534a20
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0xc8]
cmp dword [eax + 8], edi
jne 0x4b89d1
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.00536828
lea ecx, [esp + 0x94]
mov dword [esp + 0x48], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.00535fe4
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edi
call fcn.005351a4
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 1
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.004b1d90
mov ecx, dword [esp + 0xc4]
lea edx, [esp + 0x48]
push edx
call fcn.0056b860
mov ecx, dword [esp + 0xc0]
push 1
lea eax, [esp + 0x74]
push eax
call fcn.00534a20
mov ecx, dword [esp + 0x14]
call fcn.005095ac
mov ecx, dword [ebx + 0x2d]
mov ecx, dword [ecx + 0x59]
call fcn.004fc26c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0xc