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

Disassembly:
push 0xffffffffffffffff
push 0x4e8e9f
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x53450c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53450c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xe4]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
test eax, eax
je 0x4d22ab
lea ecx, [edx + eax*4 - 4]
lea esp, [esp]
cmp dword [ecx], 0
jne 0x4d22ab
sub ecx, 4
dec eax
jne 0x4d22a0
xor ecx, ecx
test eax, eax
je 0x4d22bc
cmp dword [edx + ecx*4], 0
jne 0x4d22da
inc ecx
cmp ecx, eax
jne 0x4d22b1
lea ecx, [esp + 0xa4]
call fcn.004d07b0
push 0x52d724
lea eax, [esp + 0xa8]
push eax
call fcn.0045ed14
push ebx
lea ecx, [esp + 0x3c]
call fcn.004c35b0
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4d2314
mov edx, dword [esp + 0x38]
lea eax, [edx + eax*4 - 4]
cmp dword [eax], 0
jne 0x4d2310
sub eax, 4
dec ecx
jne 0x4d2305
mov dword [esp + 0x14], ecx
cmp esi, edi
je 0x4d2347
mov ebx, dword [edi + 4]
mov edi, dword [edi]
push ebx
mov ecx, esi
call fcn.00485f40
mov eax, dword [esi + 4]
cmp ebx, eax
ja 0x4d232e
mov eax, ebx
mov ecx, dword [esi]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call fcn.0045e5f0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 1
mov ecx, esi
call fcn.004c3230
push 1
lea ecx, [esp + 0x3c]
call fcn.004c3230
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.004c2f90
test eax, eax
jns 0x4d23f7
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.004c3450
lea eax, [esp + 0x24]
mov byte [esp + 0xd8], 1
cmp ebp, eax
je 0x4d23ca
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ebx
mov ecx, ebp
call fcn.00485f40
mov eax, dword [ebp + 4]
cmp ebx, eax
ja 0x4d23ad
mov eax, ebx
mov ecx, dword [ebp]
lea edx, [eax*4]
push edx
push edi
push ecx
call fcn.0045e5f0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
jmp 0x4d28c4
jne 0x4d2486
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.004c3450
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov byte [esp + 0xdc], 2
call fcn.004c3730
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.004c3450
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xdc], 3
call fcn.004c3730
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
jmp 0x4d28c4
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
test eax, eax
je 0x4d24aa
lea ecx, [edx + eax*4 - 4]
lea esp, [esp]
cmp dword [ecx], ebx
jne 0x4d24aa
sub ecx, 4
dec eax
jne 0x4d24a0
mov eax, dword [edx + eax*4 - 4]
cmp eax, 0x80000000
jae 0x4d24c3
add eax, eax
inc ebx
cmp eax, 0x80000000
jb 0x4d24b5
mov dword [esp + 0x4c], ebx
push ebx
lea ecx, [esp + 0x3c]
call fcn.004cfe60
push ebx
mov ecx, esi
call fcn.004cfe60
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x4d24ed
lea ecx, [ecx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x4d24ed
sub ecx, 4
dec eax
jne 0x4d24e2
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
dec eax
mov edi, ebx
sub edi, eax
mov dword [esp + 0x14], eax
lea eax, [edi + 1]
push eax
mov ecx, ebp
call fcn.00485f40
cmp ebx, dword [esp + 0x14]
ja 0x4d25cd
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004c2f90
test eax, eax
jle 0x4d2584
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.004d0110
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004c3450
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
mov byte [esp + 0xdc], 4
call fcn.004cff40
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x68]
push eax
mov byte [esp + 0xe0], 0
call edx
push 1
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004c2f90
test eax, eax
jg 0x4d2524
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004cfec0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push esi
push ebp
push edx
push eax
call fcn.004d2110
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add esp, 0x10
add eax, eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0xe0], 0xffffffff
call edx
jmp 0x4d28f4
mov eax, edi
shl eax, 5
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004d0b90
add esp, 0xc
push 1
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0xe0], 5
call fcn.004c2f90
test eax, eax
js 0x4d2627
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004d0110
mov eax, dword [ebp]
inc dword [eax + edi*4]
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004c2f90
test eax, eax
jns 0x4d2603
mov edx, dword [esp + 0x20]
add edi, edi
add edi, edi
mov eax, ebx
add edx, 0xffffffe0
lea ecx, [ebx*4 - 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], ecx
jmp 0x4d2654
mov eax, dword [esp + 0x54]
mov ebx, dword [esi + 4]
cmp eax, ebx
jae 0x4d2666
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x5c], ecx
jmp 0x4d2672
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x5c]
lea edx, [eax - 2]
mov dword [esp + 0x78], edx
inc edx
cmp edx, ebx
jae 0x4d268a
mov edx, dword [esi]
mov edx, dword [edx + eax*4 - 4]
mov dword [esp + 0x58], edx
jmp 0x4d2692
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jae 0x4d26a9
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x50], eax
jmp 0x4d26b5
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
cmp ecx, eax
jne 0x4d26c6
mov eax, dword [ebp]
mov dword [edi + eax - 4], 0xffffffff
jmp 0x4d26e0
mov ebx, dword [ebp]
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
call fcn.004cdc50
add esp, 0xc
mov dword [edi + ebx - 4], eax
lea esp, [esp]
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esi + 4]
jae 0x4d26f4
mov eax, dword [esi]
mov edx, dword [esp + 0x60]
mov edx, dword [edx + eax]
jmp 0x4d26f6
xor edx, edx
mov eax, dword [esp + 0x14]
dec eax
cmp eax, dword [esp + 0x3c]
jae 0x4d270a
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + eax*4]
jmp 0x4d270c
xor ecx, ecx
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [edi + eax - 4]
push ecx
mov ecx, dword [esp + 0x60]
push ecx
push edx
call fcn.004cdb70
add esp, 0x18
test eax, eax
mov eax, dword [ebp]
je 0x4d273e
dec dword [edi + eax - 4]
lea eax, [edi + eax - 4]
jmp 0x4d26e0
mov ecx, dword [edi + eax - 4]
push 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.004c3450
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0xe4], 6
call fcn.004d0c90
mov ebx, dword [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xf0], 7
call fcn.004d0b90
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0xdc], 8
call fcn.004d0110
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x80]
push edx
mov byte [esp + 0xe0], 7
call eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0xa8]
push eax
mov byte [esp + 0xe0], 6
call edx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x68]
push edx
mov byte [esp + 0xe0], 5
call eax
cmp dword [esi + 0x10], 0
jne 0x4d286d
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.004d0b90
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0xdc], 9
call fcn.004cff40
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x94]
push edx
mov byte [esp + 0xe0], 5
call eax
mov eax, dword [ebp]
dec dword [edi + eax - 4]
mov eax, dword [esp + 0x54]
sub dword [esp + 0x60], 4
dec eax
sub ebx, 0x20
sub edi, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ebx
cmp eax, dword [esp + 0x14]
jne 0x4d2650
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004cfec0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
push ebp
push ebx
push edi
call fcn.004d2110
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add esp, 0x10
add edx, edx
push edx
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0xe0], 0xffffffff
call eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0045f14f
add esp, 0xc8
ret