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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
xorps xmm0, xmm0
mov dword [esp + 4], edx
push esi
mov esi, ecx
movlpd qword [esp + 0x6c], xmm0
push edi
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x88], 0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], 0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf8], xmm0
movlpd qword [esp + 0x100], xmm0
movlpd qword [esp + 0x108], xmm0
mov edx, dword [eax + 4]
push 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.004b1bb0
mov dword [esp + 0x90], eax
lea edx, [esp + 0x74]
add esp, 4
mov dword [esp + 0xc0], 1
lea eax, [esp + 0xc0]
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0x90], eax
mov ecx, esi
mov eax, dword [ebp + 8]
push 0
mov dword [esp + 0xdc], eax
call fcn.004ef150
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x4f5801
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004e81a0
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4f5815
mov ecx, dword [esp + 0x10]
call fcn.004b2770
mov ecx, dword [esp + 0x14]
push dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, esi
call fcn.004f53d0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp byte [eax + 0x57], 0
jne 0x4f5b47
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x60], xmm0
cmp dword [edx + 0x60], 0
jne 0x4f5862
mov eax, dword [ecx]
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x28]
mov dword [edx + 0x5c], eax
inc dword [esi + 0x28]
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], esi
mov dword [esp + 0x68], 0x400
mov al, byte [eax + 8]
mov byte [esi + 0x94], al
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], eax
call fcn.004af9a0
mov ecx, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4f5b47
cmp byte [eax + 0x57], 0
jne 0x4f5b47
mov eax, dword [esi + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], 0
lea edi, [eax + 1]
add eax, 2
add eax, edx
mov dword [esp + 0x28], edi
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x64], edi
mov edi, dword [esp + 0x24]
test edx, edx
jle 0x4f5a19
mov eax, dword [esp + 0x28]
add ecx, 8
mov dword [esp + 0x20], edx
mov edx, 2
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
cmp byte [esi + 0x17], 0
mov edi, dword [ecx]
je 0x4f5947
mov word [esp + 0x48], dx
mov dword [esp + 0x38], fcn.004b28f0
mov dword [esp + 0x3c], 0x4b27d0
mov dword [esp + 0x4c], 0
test edi, edi
je 0x4f5938
mov edx, edi
lea ecx, [esp + 0x34]
call fcn.004acb00
cmp word [esp + 0x48], 0
je 0x4f5947
mov eax, dword [esp + 8]
push eax
mov edx, edi
mov ecx, esi
call fcn.004b82d0
add esp, 4
jmp 0x4f5992
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
test edi, edi
je 0x4f5965
push 0
push 0
mov edx, edi
call fcn.004b1740
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x4f5967
xor eax, eax
cmp byte [ecx + 0x57], 0
mov dword [esp + 0x30], eax
jne 0x4f5985
push dword [esp + 8]
mov edx, eax
mov ecx, esi
call fcn.004b85e0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4f5992
call fcn.004b1450
mov ecx, edi
call fcn.004afaf0
mov edi, dword [esp + 0x24]
cmp al, 0x45
jne 0x4f59f5
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4f59c2
push 0
push 0
push dword [esp + 0x10]
mov edx, 0x56
mov ecx, edi
call fcn.00499040
add esp, 0xc
jmp 0x4f59f5
mov edx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
mov edx, 2
mov eax, dword [esp + 8]
add ecx, 0x14
inc eax
mov dword [esp + 0x1c], ecx
sub dword [esp + 0xc], 1
mov dword [esp + 8], eax
jne 0x4f58f8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add edx, eax
mov ecx, dword [edi + 0x74]
mov dword [esp + 8], edx
cmp dword [edi + 0x78], ecx
jg 0x4f5a4a
push edx
push dword [esp + 0x24]
mov edx, 0x60
mov ecx, edi
push eax
call fcn.00499040
mov edx, dword [esp + 0x14]
add esp, 0xc
jmp 0x4f5a7d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x74]
mov edx, dword [esp + 0xc]
cmp dword [edi + 0x78], ecx
jg 0x4f5ab0
push 0
push eax
push edx
mov edx, 0x7e
mov ecx, edi
call fcn.00499040
add esp, 0xc
jmp 0x4f5adf
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [esp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xc], eax
cmp dword [edi + 0x78], ecx
jg 0x4f5b10
lea eax, [edx + 1]
mov ecx, edi
push eax
push edx
push dword [esp + 0x14]
mov edx, 0x7f
call fcn.00499040
add esp, 0xc
jmp 0x4f5b3f
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f5b54
mov edx, ecx
mov ecx, eax
call fcn.004b2770
pop edi
mov dword [esi + 0x78], 0
mov byte [esi + 0x94], 0
pop esi
mov esp, ebp
pop ebp
ret