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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff88
mov edi, ecx
mov ebx, edx
mov dword [esp], eax
mov byte [esp + 4], 0
test ebx, ebx
je 0x4d24f3
mov eax, ebx
call fcn.004e2100
mov esi, eax
mov eax, esi
call fcn.00402724
mov dword [esp + 8], eax
push 0
push 0
mov eax, esi
xor edx, edx
push edx
push eax
mov edx, dword [esp + 0x18]
mov eax, ebx
call fcn.004e259c
test al, al
je 0x4d24ea
mov ebx, dword [esp + 8]
mov eax, ebx
cmp byte [edi + 0x6a], 0
je 0x4d2321
mov esi, dword [eax + 0x3c]
add esi, ebx
mov eax, dword [esi + 0x90]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [esi + 0x90], eax
xor eax, eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xf8]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0xfc]
mov dword [edi + 0x40], eax
xor eax, eax
mov dword [esi + 0xf8], eax
xor eax, eax
mov dword [esi + 0xfc], eax
xor eax, eax
mov dword [esi + 0xe8], eax
xor eax, eax
mov dword [esi + 0xec], eax
xor eax, eax
mov dword [esi + 0xf0], eax
xor eax, eax
mov dword [esi + 0xf4], eax
xor eax, eax
mov dword [esi + 0xe0], eax
xor eax, eax
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x4d2057
mov edx, eax
mov eax, esi
call fcn.004d1e9c
test eax, eax
je 0x4d2057
mov ecx, ebx
add ecx, eax
cmp dword [ecx + 0x1c], 0
jne 0x4d203e
cmp dword [ecx + 0x18], 0
je 0x4d2057
mov eax, dword [ecx + 0x18]
sub eax, dword [esi + 0x30]
mov dword [edi + 0x44], eax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov eax, dword [esi + 0x54]
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
push 4
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [edi + 0x28]
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
lea eax, [esp + 0x24]
xor edx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 8]
call fcn.004d05e0
push edx
push eax
call fcn.004cfd94
add esp, 0x10
cmp edx, 0
jne 0x4d215b
cmp eax, 0
jne 0x4d215b
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x54]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push dword [edi + 0x2c]
push dword [edi + 0x28]
mov eax, dword [edi]
push eax
mov eax, dword [0x529920]
mov eax, dword [eax]
call dword [eax + 0x438]
push 4
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [edi + 0x28]
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
xor edx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 8]
call fcn.004d05e0
push edx
push eax
call fcn.004cfd94
add esp, 0x10
movzx ebp, word [esi + 6]
dec ebp
test ebp, ebp
jl 0x4d22db
inc ebp
xor ebx, ebx
lea eax, [ebx + ebx*4]
cmp dword [esi + eax*8 + 0x11c], 0
jbe 0x4d22d3
lea eax, [ebx + ebx*4]
cmp dword [esi + eax*8 + 0x118], 0
jbe 0x4d22d3
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x114]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x118]
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
push 4
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
lea eax, [esp + 0x24]
xor edx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 8]
call fcn.004d05e0
push edx
push eax
call fcn.004cfd94
add esp, 0x10
cmp edx, 0
jne 0x4d22d3
cmp eax, 0
jne 0x4d22d3
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x118]
xor edx, edx
push edx
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x11c]
add eax, dword [esp + 0x14]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
mov eax, dword [edi]
push eax
mov eax, dword [0x529920]
mov eax, dword [eax]
call dword [eax + 0x438]
push 4
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
xor edx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 8]
call fcn.004d05e0
push edx
push eax
call fcn.004cfd94
add esp, 0x10
inc ebx
dec ebp
jne 0x4d216b
push 2
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x50]
xor edx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 8]
call fcn.004d0650
push edx
push eax
call fcn.004cfd94
add esp, 0x10
jmp 0x4d24ea
mov esi, dword [eax + 0x3c]
add esi, ebx
mov eax, dword [esi + 0x80]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [esi + 0x80], eax
xor eax, eax
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xe8]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0xec]
mov dword [edi + 0x40], eax
xor eax, eax
mov dword [esi + 0xe8], eax
xor eax, eax
mov dword [esi + 0xec], eax
xor eax, eax
mov dword [esi + 0xd8], eax
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
xor eax, eax
mov dword [esi + 0xe4], eax
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4d23c5
mov edx, eax
mov eax, esi
call fcn.004d1df4
test eax, eax
je 0x4d23c5
add eax, ebx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4d23c5
sub edx, dword [esi + 0x34]
mov dword [edi + 0x44], edx
xor edx, edx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x18]
push eax
push 4
mov eax, dword [esi + 0x54]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi]
push eax
call fcn.00406f80
test eax, eax
je 0x4d2414
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x54]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi]
push eax
call fcn.00406fc0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x54]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi]
push eax
call fcn.00406f80
movzx ebp, word [esi + 6]
dec ebp
test ebp, ebp
jl 0x4d24da
inc ebp
xor ebx, ebx
lea eax, [ebx + ebx*4]
cmp dword [esi + eax*8 + 0x10c], 0
jbe 0x4d24d2
lea eax, [ebx + ebx*4]
cmp dword [esi + eax*8 + 0x108], 0
jbe 0x4d24d2
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x108]
push eax
mov eax, dword [edi + 0x28]
lea edx, [ebx + ebx*4]
add eax, dword [esi + edx*8 + 0x104]
push eax
mov eax, dword [edi]
push eax
call fcn.00406f80
test eax, eax
je 0x4d24d2
lea eax, [esp + 0xc]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x108]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x10c]
add eax, dword [esp + 0x10]
push eax
mov eax, dword [edi + 0x28]
lea edx, [ebx + ebx*4]
add eax, dword [esi + edx*8 + 0x104]
push eax
mov eax, dword [edi]
push eax
call fcn.00406fc0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x108]
push eax
mov eax, dword [edi + 0x28]
lea edx, [ebx + ebx*4]
add eax, dword [esi + edx*8 + 0x104]
push eax
mov eax, dword [edi]
push eax
call fcn.00406f80
inc ebx
dec ebp
jne 0x4d2424
mov eax, dword [esi + 0x50]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi]
push eax
call fcn.00406b30
mov eax, dword [esp + 8]
call fcn.00402744
mov al, byte [esp + 4]
add esp, 0x78
pop ebp
pop edi
pop esi
pop ebx
ret