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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4209
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4f06b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4f06b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov edi, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x80], ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x5e
cdq
pop ebx
idiv ebx
and dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4825c8
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x5e
add ebx, dword [edi]
mov byte [esp + 0x13], 0
mov eax, dword [ebx]
dec eax
mov byte [esp + 0x28], 0
je 0x482502
dec eax
je 0x482430
dec eax
je 0x48242b
dec eax
je 0x482493
dec eax
je 0x482502
dec eax
jne 0x482540
mov byte [esp + 0x13], 1
mov byte [esp + 0x28], 1
lea edi, [ebx + 4]
push edi
lea ecx, [esp + 0x58]
call fcn.0047a037
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x88], 1
call fcn.00479f66
pop ecx
pop ecx
mov byte [esp + 0x80], 2
push dword [ebx + 0x3e]
mov eax, dword [esi]
lea ecx, [esp + 0x17]
push ecx
movzx ecx, byte [ebx + 0x3d]
push ecx
mov cl, byte [ebx + 0x3c]
or cl, byte [ebp + 8]
cmp dword [ebx + 0x30], 0
movzx ecx, cl
push ecx
jne 0x4824b9
push dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x6c]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x224]
jmp 0x4824d4
push dword [ebx + 0x3e]
movzx ecx, byte [ebx + 0x3d]
mov eax, dword [esi]
push ecx
mov cl, byte [ebx + 0x3c]
or cl, byte [ebp + 8]
movzx ecx, cl
push ecx
lea ecx, [ebx + 0x20]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x22c]
jmp 0x48253c
lea ecx, [ebx + 0x20]
push ecx
push dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x70]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x220]
and byte [esp + 0x12], al
push 1
xor edi, edi
lea esi, [esp + 0x3c]
call fcn.0040a3ed
push 1
lea esi, [esp + 0x58]
mov byte [esp + 0x84], 0
call fcn.0040a3ed
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
jmp 0x482540
movzx ecx, byte [ebx + 0x3d]
push dword [ebx + 0x3e]
mov eax, dword [esi]
push ecx
mov cl, byte [ebx + 0x3c]
or cl, byte [ebp + 8]
cmp dword [ebx + 0x30], 0
movzx ecx, cl
push ecx
jne 0x48252b
lea ecx, [ebx + 4]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x218]
jmp 0x48253c
lea ecx, [ebx + 0x20]
push ecx
lea ecx, [ebx + 4]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x214]
and byte [esp + 0x12], al
cmp dword [ebx], 6
jne 0x4825ab
cmp byte [esp + 0x13], 0
je 0x4825ab
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
cmp ecx, eax
jae 0x482586
cmp dword [esp + 0x18], ecx
ja 0x482586
mov ebx, ecx
sub ebx, dword [esp + 0x18]
sar ebx, 2
cmp eax, dword [esp + 0x20]
jne 0x482576
lea eax, [esp + 0x18]
call fcn.00495597
cmp dword [esp + 0x1c], 0
je 0x4825a6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
jmp 0x4825a0
cmp eax, dword [esp + 0x20]
jne 0x482595
lea eax, [esp + 0x18]
call fcn.00495597
cmp dword [esp + 0x1c], 0
je 0x4825a6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add dword [esp + 0x1c], 4
cmp byte [esp + 0x12], 0
je 0x4825c4
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jb 0x4823f3
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
mov eax, ecx
sar eax, 2
test eax, eax
je 0x4825f6
lea esi, [eax - 1]
test esi, esi
js 0x4825f6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
imul eax, eax, 0x5e
add eax, dword [edi]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00482669
dec esi
jns 0x4825dc
cmp dword [esp + 0x18], 0
je 0x482607
push dword [esp + 0x18]
call fcn.004a5452
pop ecx
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004a545d
mov esp, ebp
pop ebp
ret 4