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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10073ad8
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00463357
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x74]
xor ebp, ebp
cmp eax, ebp
jne 0x461555
mov eax, dword [ebx + 0x10]
mov esi, dword [0x10075798]
push ebp
push ebp
push 0x431
push eax
call esi
push eax
call dword [0x1007501c]
mov dword [ebx + 0x74], eax
jmp 0x46155b
mov esi, dword [0x10075798]
mov edx, dword [ebx + 0x74]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push edx
call dword [0x10075018]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x1007578c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x34]
push ebp
push ebp
sub ecx, edi
push 0x418
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
call esi
cmp eax, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], ebp
jle 0x4618c5
jmp 0x4615e5
mov esi, dword [0x10075798]
mov ebp, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
xor eax, eax
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x60], eax
push ebp
mov dword [esp + 0x68], eax
push 0x417
push edx
mov dword [esp + 0x74], eax
call esi
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x44]
mov dword [esp + 0x20], edi
push eax
push ebp
push 0x41d
push ecx
call esi
mov eax, dword [esp + 0x5c]
cmp ah, 1
je 0x461649
test ah, 8
jne 0x461649
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
sub edx, ecx
add eax, edx
mov dword [esp + 0x10], eax
jmp 0x46164d
inc dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov ecx, dword [ebx + 0x6c]
sub eax, esi
cmp eax, ecx
jg 0x461660
mov eax, ecx
mov esi, dword [ebx + 0x70]
mov dword [ebx + 0x6c], eax
add esi, 0x242c
mov eax, edi
shr eax, 4
mov ebp, dword [esi + 8]
xor edx, edx
div ebp
mov ecx, dword [esi + 4]
test ecx, ecx
mov edi, edx
je 0x4616a1
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x46169d
mov edx, dword [esp + 0x20]
cmp dword [eax + 8], edx
je 0x461699
mov eax, dword [eax]
test eax, eax
jne 0x461688
jmp 0x46169d
test eax, eax
jne 0x4616ca
test ecx, ecx
jne 0x4616ab
push 1
push ebp
mov ecx, esi
call fcn.0045d817
mov ecx, esi
call fcn.00469ac7
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*4], eax
mov ecx, dword [ebx + 0x70]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx + 0x2448]
test edx, edx
je 0x461725
test eax, eax
je 0x461725
mov ecx, dword [eax + 0x20c]
test ecx, ecx
je 0x461725
mov eax, dword [ecx + 0xc]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov edx, eax
sub edx, ebp
add edi, edx
mov edx, dword [esp + 0x2c]
cmp edx, eax
mov dword [esp + 0x24], edi
jbe 0x461707
mov eax, edx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
cmp eax, ecx
jbe 0x461718
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4615db
test ecx, ecx
jle 0x4618c5
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x461753
sub ecx, eax
jne 0x461753
mov ecx, 1
mov eax, dword [esp + 0x10]
lea esi, [ebx + 0x68]
cdq
idiv ecx
push 0
push 0
push 0x455
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
push eax
call dword [0x10075798]
test al, 1
je 0x4617ab
mov ecx, dword [ebx + 0x10]
push 0xfffffffffffffff0
push ecx
call dword [0x100757a8]
and eax, 0x1000
cmp eax, 0x1000
je 0x4617ab
mov ecx, dword [esi]
mov eax, dword [esp + 0x2c]
sub eax, ecx
test eax, eax
jle 0x4617a3
add eax, 7
add ecx, eax
mov dword [esi], ecx
jmp 0x4617c5
xor eax, eax
add ecx, eax
mov dword [esi], ecx
jmp 0x4617c5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
xor edx, edx
test eax, eax
setle dl
dec edx
and edx, eax
mov eax, dword [esi]
add eax, edx
mov dword [esi], eax
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + 0x2448]
test ecx, ecx
je 0x4617fa
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4617fa
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov edx, dword [ebx + 0x6c]
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x40], eax
add edx, ecx
mov dword [ebx + 0x6c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
push esi
call fcn.004618e7
mov ecx, dword [ebx + 0x10]
push 0x81
push 0
push 0
push ecx
call dword [0x1007579c]
mov edx, dword [ebx + 0x10]
mov edi, dword [0x100756c0]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00456a97
add esp, 8
push 0x1008d950
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], 0
call fcn.00478aad
test eax, eax
jne 0x461858
push esi
call edi
mov esi, eax
test esi, esi
je 0x4618b1
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [0x1007567c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sub eax, ecx
mov edi, dword [0x10075658]
sub edx, ebx
push 6
dec eax
push edx
push eax
push 0
push 0
push 0
push esi
call edi
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
sub ecx, ebx
push 6
sub edx, eax
push ecx
push edx
push 0
push 0
push 0
push esi
call edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x90], 0xffffffff
call fcn.00478aa1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret