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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53a62b
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebp
push esi
mov esi, ecx
test byte [esi + 4], 1
jne 0x4f13e0
cmp dword [esi + 0x430], 0xffffffff
je 0x4f13e0
mov ax, word [esi + 0x12a]
cmp ax, 0xe
je 0x4f13e0
cmp ax, 0xf
je 0x4f13e0
lea eax, [esp + 0x60]
mov ecx, 4
xor ebp, ebp
mov dword [eax - 8], ebp
mov dword [eax - 4], ebp
mov dword [eax], ebp
add eax, 0xc
dec ecx
jne 0x4f109c
push ebx
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x64]
push esi
push ecx
mov word [esp + 0x3c], bp
mov word [esp + 0x3a], bp
mov word [esp + 0x38], bp
mov word [esp + 0x3e], 6
call fcn.00453ee0
lea edx, [esp + 0x38]
lea eax, [esp + 0x78]
push edx
push esi
push eax
mov word [esp + 0x4a], 3
call fcn.00453ee0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x90]
push ecx
push esi
push edx
mov word [esp + 0x56], 0xe
call fcn.00453ee0
lea eax, [esp + 0x50]
lea ecx, [esp + 0xa8]
push eax
push esi
push ecx
mov word [esp + 0x62], 0xb
call fcn.00453ee0
movsx eax, word [esi + 0x21e]
add esp, 0x30
lea ebx, [esi + 8]
shl eax, 0xc
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x70]
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x7c]
call fcn.004e75c0
push ebx
lea ecx, [esp + 0x88]
call fcn.004e75c0
lea edx, [esp + 0x40]
lea eax, [esi + 0x164]
push edx
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x18], 0xffffffe0
mov dword [esp + 0x20], 0xffffffc0
call fcn.0046d3e0
lea eax, [esp + 0x48]
push eax
call fcn.0046d7b0
add esp, 0xc
lea edi, [esp + 0x60]
mov dword [esp + 0x20], 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xc
push ecx
mov ecx, edi
call fcn.004e7650
push edi
call fcn.0046d870
call fcn.0046da40
push edi
call fcn.0046d790
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, ecx
jle 0x4f11e6
mov dword [esp + 0x1c], eax
jmp 0x4f11f0
cmp eax, dword [esp + 0x10]
jge 0x4f11f0
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4f1201
mov dword [esp + 0x14], eax
jmp 0x4f120b
cmp eax, dword [esp + 0x18]
jge 0x4f120b
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add edi, 0xc
dec eax
mov dword [esp + 0x20], eax
jne 0x4f11ae
lea edx, [esp + 0x24]
lea ecx, [esp + 0x34]
push edx
mov dword [esp + 0x28], 0xc
call fcn.004e7650
lea eax, [esp + 0x34]
push eax
call fcn.0046d870
call fcn.0046da40
lea ecx, [esp + 0x38]
push ecx
call fcn.0046d790
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x430]
lea eax, [esi + 0x164]
push eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x30], edx
call fcn.0046d7b0
add esp, 0xc
lea edi, [esp + 0x60]
mov dword [esp + 0x20], 4
push edi
call fcn.0046d870
call fcn.0046da40
push edi
call fcn.0046d790
add esp, 8
lea eax, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x28], 0xc
push eax
call fcn.004e7680
mov ecx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
add eax, ecx
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 4], edx
mov edx, dword [edi + 8]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 8], edx
add edi, 0xc
dec eax
mov dword [esp + 0x20], eax
jne 0x4f12bf
mov eax, dword [esi + 0x434]
pop edi
cmp eax, ebp
pop ebx
jne 0x4f1368
push 0x84
call fcn.004088a0
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x90], ebp
je 0x4f1340
mov ecx, eax
call fcn.00408fa0
jmp 0x4f1342
xor eax, eax
push ebp
push ebp
mov ecx, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esi + 0x434], eax
call fcn.004090e0
mov ecx, dword [esi + 0x434]
mov word [ecx + 0x38], 0x20
mov eax, dword [esi + 0x458]
cmp eax, ebp
je 0x4f13c9
cmp eax, 0x40
jle 0x4f137c
mov eax, 0x40
mov ecx, dword [esi + 0x434]
push eax
call fcn.004093e0
mov ecx, dword [esi + 0x434]
call fcn.004093a0
lea edx, [esp + 0x7c]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esi + 0x434]
push edx
call fcn.004092c0
pop esi
pop ebp
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret
mov ecx, dword [esi + 0x45c]
cmp ecx, ebp
je 0x4f1377
mov eax, 0x40
sub eax, ecx
jns 0x4f137c
xor eax, eax
jmp 0x4f137c
mov ecx, dword [esi + 0x434]
xor ebp, ebp
cmp ecx, ebp
je 0x4f13f8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x434], ebp
mov ecx, dword [esp + 0x88]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x8c
ret