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

Disassembly:
sub esp, 0x50
push esi
mov esi, ecx
xor ecx, ecx
mov eax, dword [esi + 0x88]
cmp dword [eax + 0x90], ecx
je 0x462e7f
xor eax, eax
pop esi
add esp, 0x50
ret 0x2c
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
push ebx
push ebp
push edi
mov ebp, edx
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebp
je 0x463040
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00489340
add esp, 4
test eax, eax
je 0x462eb4
mov edi, 1
mov ecx, dword [esi + 0x88]
xor ebx, ebx
mov eax, dword [ecx + 0xe8]
lea edx, [eax + eax*4]
lea edx, [eax + edx*8]
lea eax, [eax + edx*2]
lea edx, [eax*4 + 0x531a18]
mov eax, dword [esp + 0x88]
cmp eax, ebx
mov dword [esp + 0x34], edx
je 0x462ef9
mov eax, dword [esi + 0x11c]
cdq
idiv dword [0x536200]
mov edx, dword [esi + 0x60]
lea eax, [eax + edx + 1]
mov dword [esp + 0x2c], eax
cmp edi, ebx
jne 0x463140
cmp dword [esp + 0x8c], ebx
jne 0x463140
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x8c], ebx
mov edi, dword [esp + 0x84]
test edi, edi
je 0x462f6c
mov eax, dword [esp + 0x8c]
mov ecx, eax
inc eax
cmp ecx, 0x2710
mov dword [esp + 0x8c], eax
jne 0x462f6c
push 0xffffffffffffffff
push 0x24
push 0x5467
call fcn.004dad51
cmp eax, 6
je 0x463619
push 0x10
call dword [0x4fd65c]
test ax, ax
jl 0x462f6c
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
push 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
push 0
push edi
push edx
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
call fcn.0044c190
test eax, eax
je 0x463619
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], eax
test edx, edx
mov dword [esp + 0x78], ecx
mov ebx, 1
je 0x463073
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 0x88]
add ecx, 0x1b8
call fcn.0048b240
mov edi, eax
test edi, edi
je 0x46306f
push edi
call fcn.004be979
mov edx, dword [esi + 0x70]
mov ecx, dword [esp + 0x5c]
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ebp
push edi
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
call fcn.00450080
mov edx, dword [esp + 0x10]
push edi
add edx, eax
mov dword [esp + 0x14], edx
call fcn.004d2e05
add esp, 4
jmp 0x463098
dec edx
cmp edx, ecx
jle 0x462eb4
mov eax, dword [esp + 0x64]
mov ebx, 0xa
cmp word [eax], 0xd
jne 0x463062
cmp word [eax + 2], bx
je 0x462eaf
inc ecx
add eax, 2
cmp ecx, edx
jl 0x463052
jmp 0x462eb4
xor ebx, ebx
jmp 0x463098
mov edx, dword [esi + 0x70]
push edx
mov edx, dword [esp + 0x70]
push ebp
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x88]
call fcn.00450080
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x463115
test ebx, ebx
je 0x463115
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx + 0x164]
mov edx, dword [ecx + 0x160]
push eax
push edx
lea eax, [esp + 0x50]
lea edx, [esp + 0x78]
push eax
push edx
call fcn.00453e10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jg 0x463115
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x58]
mov eax, dword [ecx + 0x284]
dec eax
cmp edx, eax
jge 0x4630ec
mov eax, edx
mov dword [esi + 0x58], eax
mov ecx, dword [ecx + 0x2d8]
shl eax, 5
mov eax, dword [ecx + eax]
mov ecx, dword [esi + 0x54]
dec eax
cmp ecx, eax
jge 0x463105
mov eax, ecx
push 0
push 0
push 0
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00467e90
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x80]
push ebp
lea edx, [esp + 0x80]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004515c0
jmp 0x462f19
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], ebx
cmp eax, ebx
je 0x4631b3
mov eax, dword [ecx + 0x180]
push ebx
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x184]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0x178]
mov edx, dword [ecx + 0x17c]
push 1
push eax
push edx
push ebx
push ebx
call fcn.00451520
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push eax
mov eax, dword [ecx + 0x178]
push edx
mov edx, dword [ecx + 0x17c]
push eax
push edx
call fcn.00451520
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
jmp 0x4631d1
mov eax, dword [ecx + 0x284]
dec eax
mov edx, eax
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 0x2d8]
shl edx, 5
mov ecx, dword [ecx + edx]
dec ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x74]
push ebx
push 1
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
push ebx
call fcn.00451310
mov ebx, eax
lea ecx, [ebx + ebx]
push ecx
call fcn.004d2ddc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
push 0
push 1
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
mov ecx, dword [esi + 0x88]
push edx
push edi
call fcn.00451310
dec ebx
mov dword [esp + 0x40], edi
test ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0
jle 0x46351c
jmp 0x463251
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46329b
mov eax, dword [esp + 0x20]
mov ecx, eax
inc eax
cmp ecx, 0x2710
mov dword [esp + 0x20], eax
jne 0x46329b
push 0xffffffffffffffff
push 0x24
push 0x5467
call fcn.004dad51
cmp eax, 6
je 0x46351c
push 0x10
call dword [0x4fd65c]
test ax, ax
jl 0x46329b
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], edi
test eax, eax
je 0x4632d6
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x88]
mov eax, dword [esp + 0x7c]
push edx
add ecx, 0x1b8
push eax
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x70]
push ecx
push edx
push eax
push edi
call fcn.0044bda0
add esp, 0x18
jmp 0x46330d
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
test eax, eax
push ecx
je 0x4632fd
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
push edx
push ebp
push eax
push ebx
push edi
call fcn.0044b8a0
add esp, 0x18
jmp 0x46330d
mov edx, dword [esp + 0x68]
push ebp
push edx
push ebx
push edi
call fcn.0044b740
add esp, 0x14
mov ebx, eax
test ebx, ebx
je 0x46351c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, ebx
push eax
sub edx, edi
push ecx
sar edx, 1
lea eax, [esp + 0x80]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, dword [esi + 0x88]
call fcn.004515c0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004515c0
mov eax, dword [esp + 0x84]
mov ebp, 1
test eax, eax
je 0x4633e1
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 0x88]
add ecx, 0x1b8
call fcn.0048b240
mov edi, eax
test edi, edi
je 0x4633dd
push edi
call fcn.004be979
mov edx, dword [esi + 0x70]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x70], eax
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esi + 0x88]
push edx
push eax
call fcn.00450080
mov edx, dword [esp + 0x10]
push edi
add edx, eax
mov dword [esp + 0x14], edx
call fcn.004d2e05
add esp, 4
jmp 0x463418
xor ebp, ebp
jmp 0x463418
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x88]
call fcn.00450080
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x463495
test ebp, ebp
je 0x463495
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx + 0x164]
mov eax, dword [ecx + 0x160]
push edx
push eax
lea edx, [esp + 0x54]
lea eax, [esp + 0x40]
push edx
push eax
call fcn.00453e10
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jg 0x463495
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x58]
mov eax, dword [ecx + 0x284]
dec eax
cmp edx, eax
jge 0x46346c
mov eax, edx
mov dword [esi + 0x58], eax
mov edx, dword [ecx + 0x2d8]
mov ecx, dword [esi + 0x54]
shl eax, 5
mov eax, dword [edx + eax]
dec eax
cmp ecx, eax
jge 0x463485
mov eax, ecx
push 0
push 0
push 0
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00467e90
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
lea edi, [ebx + eax*2]
mov eax, dword [esp + 0x3c]
mov ecx, edi
sub ecx, eax
sar ecx, 1
sub edx, ecx
test ebp, ebp
mov dword [esp + 0x1c], edx
je 0x4634f0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x80]
push ebx
lea edx, [esp + 0x80]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004515c0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x28]
sub ebx, ecx
add eax, ebx
mov dword [esp + 0x28], eax
jmp 0x463500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x463510
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jg 0x463249
mov edx, dword [esp + 0x40]
push edx
call fcn.004d2e05
mov eax, dword [esp + 0x90]
add esp, 4
test eax, eax
je 0x463619
mov eax, dword [esp + 0x44]
push 0
push 0
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x88]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004515c0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
add edx, eax
lea ecx, [esp + 0x8c]
push edx
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esi + 0x88]
push edx
call fcn.004515c0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4635d7
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push 0
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00466d60
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
push 0
push 0
push ecx
push edx
mov ecx, esi
call fcn.00464180
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret 0x2c
mov esi, dword [esi + 0x88]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
mov dword [esi + 0x180], eax
mov eax, 1
mov dword [esi + 0x17c], edi
mov dword [esi + 0x178], edx
mov dword [esi + 0x184], ecx
mov dword [esi + 0x188], eax
mov dword [esi + 0xf8], eax
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret 0x2c