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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, ecx
cmp ebx, edi
jne 0x460075
cmp eax, ebp
je 0x460576
mov ecx, dword [esi + 0x118]
push eax
lea edx, [esp + 0x28]
push ebx
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
call fcn.00453e10
push ebp
lea ecx, [esp + 0x24]
push edi
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.00453e10
mov ecx, dword [esi + 0x88]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x46013e
test ebp, ebp
je 0x46013e
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x4600f3
mov edx, dword [ecx + 0x2a0]
lea eax, [ebp + ebp*2]
lea eax, [edx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
jmp 0x460117
mov eax, dword [ecx + 0x74]
test eax, eax
je 0x46013e
mov eax, dword [ecx + 0x150]
lea edx, [ebp + ebp*2]
lea edx, [eax + edx*4]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x34], edx
xor eax, eax
test edi, edi
setg al
test eax, eax
je 0x46013e
push 0
push ebx
call fcn.0044e550
mov ecx, dword [esi + 0x88]
push eax
call fcn.00455070
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov edi, dword [esi + 0x88]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x46017a
mov ecx, dword [edi + 0x2a0]
lea eax, [ebp + ebp*2]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
shl eax, 5
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x2d8]
mov eax, dword [edx + eax + 8]
lea ecx, [eax + ecx*2]
jmp 0x4601e3
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x46019c
mov eax, dword [edi + 0x80]
test eax, eax
jne 0x46019c
mov edx, dword [edi + 0x2d8]
mov ecx, ebp
shl ecx, 5
mov ecx, dword [edx + ecx + 8]
jmp 0x4601e3
mov ecx, dword [edi + 0x150]
lea eax, [ebp + ebp*2]
lea edx, [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x284]
dec ecx
cmp ecx, eax
mov edx, ecx
jl 0x4601c5
mov edx, eax
test edx, edx
jge 0x4601cd
xor eax, eax
jmp 0x4601d3
cmp ecx, eax
jge 0x4601d3
mov eax, ecx
mov edx, dword [edi + 0x2d8]
shl eax, 5
mov eax, dword [edx + eax + 8]
lea ecx, [eax + ebx*2]
mov eax, dword [esp + 0x24]
mov edx, dword [0x5361f4]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x50], ecx
test eax, eax
mov dword [esp + 0x28], edx
jle 0x4602a9
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov ax, word [ecx]
cmp ax, 9
jne 0x460221
mov ecx, dword [edi + 0x100]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
jmp 0x46028d
mov dword [esp + 0x14], eax
and eax, 0xffff
cmp word [eax*2 + 0x53623c], 0
lea eax, [eax*2 + 0x53623c]
jne 0x460288
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [0x4fd160]
mov eax, dword [0x536238]
test eax, eax
je 0x46026b
mov eax, dword [0x536220]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dx, word [esp + 0x2c]
mov ebp, dword [esp + 0x54]
and ecx, 0xffff
lea eax, [ecx*2 + 0x53623c]
mov word [eax], dx
xor ecx, ecx
mov cx, word [eax]
mov eax, dword [esp + 0x1c]
add ebx, ecx
mov ecx, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x460209
mov edx, dword [esi + 0x64]
mov edi, dword [esi + 0x88]
imul edx, dword [0x536214]
mov ecx, dword [edi + 0xd0]
mov eax, dword [esi + 0x60]
sub ecx, edx
mov edx, dword [0x536200]
add ecx, ebx
mov ebx, ebp
sub ebx, eax
mov eax, dword [esp + 0x10]
imul ebx, edx
cmp ebp, eax
mov dword [esp + 0x14], ecx
jne 0x46043c
mov edx, dword [edi + 0x98]
test edx, edx
je 0x46031e
mov edx, dword [edi + 0x2a0]
lea eax, [eax + eax*2]
mov edi, dword [edi + 0x2d8]
lea eax, [edx + eax*4]
mov ebp, eax
mov eax, dword [ebp]
shl eax, 5
mov edx, dword [ebp + 4]
mov eax, dword [eax + edi + 8]
mov ebp, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], eax
jmp 0x460396
mov edx, dword [edi + 0x74]
test edx, edx
jne 0x460342
mov edx, dword [edi + 0x80]
test edx, edx
jne 0x460342
mov edx, dword [edi + 0x2d8]
shl eax, 5
mov eax, dword [edx + eax + 8]
mov dword [esp + 0x50], eax
jmp 0x460396
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0x14c]
call fcn.00455220
mov eax, dword [edi + 0x284]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov edx, ecx
jl 0x460368
mov edx, eax
test edx, edx
jge 0x460370
xor eax, eax
jmp 0x460376
cmp ecx, eax
jge 0x46037a
mov eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 0x2d8]
shl eax, 5
mov edx, dword [eax + ecx + 8]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea eax, [edx + eax*2]
mov dword [esp + 0x50], eax
mov edx, dword [0x5361f4]
mov ebp, dword [esi + 0x88]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
add ebp, 0x100
test edx, edx
jle 0x460405
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x58]
mov ax, word [eax]
cmp ax, 9
jne 0x4603db
mov ecx, dword [ebp]
mov eax, edi
cdq
idiv ecx
sub ecx, edx
add edi, ecx
jmp 0x4603eb
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0044dcc0
add esp, 8
add edi, eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
add ecx, 2
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
jne 0x4603c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x64]
mov edx, dword [0x536200]
imul eax, dword [0x536214]
add edx, ebx
push edx
mov edx, dword [esi + 0x88]
mov edx, dword [edx + 0xd4]
sub edx, eax
add edx, edi
push edx
push ebx
push ecx
mov ecx, esi
call fcn.00468eb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10
mov ebp, dword [esp + 0x40]
lea edi, [edx + ebx]
push edi
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.00468eb0
mov eax, dword [esi + 0x88]
mov ebx, dword [esp + 0x54]
mov edx, edi
mov ecx, dword [eax + 0xd0]
mov eax, dword [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x14], ecx
dec eax
test eax, eax
jle 0x460485
mov ebx, dword [0x536200]
imul ebx, eax
add edi, ebx
push edi
push ebp
push edx
push ecx
mov ecx, esi
call fcn.00468eb0
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4604c2
mov edx, dword [esp + 0x10]
push edx
call fcn.00460650
test eax, eax
je 0x4604c2
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x88]
push 0
push eax
call fcn.0044e550
mov ecx, dword [esi + 0x88]
push eax
call fcn.00455070
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.00460580
mov eax, dword [0x5361f4]
mov ebp, dword [esi + 0x88]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add ebp, 0x100
test eax, eax
jle 0x460545
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
mov ax, word [edx]
cmp ax, 9
jne 0x46051f
mov ecx, dword [ebp]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
add ebx, ecx
jmp 0x46052f
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044dcc0
add esp, 8
add ebx, eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
add ecx, 2
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
jne 0x460504
mov edx, dword [esi + 0x64]
mov ecx, dword [0x536200]
imul edx, dword [0x536214]
mov eax, dword [esi + 0x88]
add ecx, edi
push ecx
mov ecx, dword [eax + 0xd4]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, ebx
push ecx
push edi
push edx
mov ecx, esi
call fcn.00468eb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10