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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69e0f8
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1d8]
test eax, eax
je 0x45f51a
mov eax, dword [esi + 0x184]
xor edi, edi
cmp eax, edi
je 0x45f51a
mov eax, dword [eax + 0x60]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x45f51a
mov eax, dword [0x8b0a50]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], eax
mov ebx, eax
mov dword [esp + 0x18], ebx
mov edx, dword [esi]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x68], 2
mov dword [esp + 0x40], 0x46
mov dword [esp + 0x44], 0x3c
call dword [edx + 0x21c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esi]
inc edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x21c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
sub eax, edx
mov edx, dword [esp + 0x68]
inc eax
push ecx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], eax
call fcn.004f1850
test al, al
jne 0x45f39a
mov ecx, dword [ebx - 0xc]
mov esi, dword [0x6c74ac]
lea eax, [ebx - 0xc]
cmp ecx, 0xffffffff
je 0x45f35c
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f35c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45f377
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f377
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45f51a
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f51a
jmp 0x45f514
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x180]
mov ecx, 3
xor ebp, ebp
sub ecx, eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 0x15c]
shl eax, 2
cmp ecx, edi
mov dword [esp + 0x2c], eax
jle 0x45f4c1
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x160]
mov ecx, dword [ecx + ebp*4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
inc ecx
mov dword [esp + 0x34], ecx
lea ebx, [ecx + eax - 1]
cmp ebx, edx
jg 0x45f3f3
lea eax, [eax + ecx - 1]
mov dword [esp + 0x2c], eax
jmp 0x45f4b2
mov ecx, dword [esp + 0x44]
lea edx, [edx + ecx - 1]
cmp eax, edx
jge 0x45f4c1
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x180]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x46
shl ecx, 2
sub eax, ecx
mov ecx, dword [esi + 0x178]
cmp ecx, edi
mov dword [esp + 0x28], eax
jle 0x45f49e
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x17c]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
inc ecx
mov dword [esp + 0x30], ecx
lea ebx, [ecx + eax - 1]
cmp ebx, edx
jg 0x45f456
lea eax, [eax + ecx - 1]
mov dword [esp + 0x28], eax
jmp 0x45f491
mov ecx, dword [esp + 0x40]
lea edx, [ecx + edx - 1]
cmp eax, edx
jge 0x45f49c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004f1850
test al, al
jne 0x45f531
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x178]
inc edi
cmp edi, ecx
jl 0x45f431
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
lea eax, [ecx + edx - 1]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x15c]
inc ebp
cmp ebp, ecx
jl 0x45f3cb
mov edx, dword [esp + 0x18]
mov esi, dword [0x6c74ac]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x45f4e3
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f4e3
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45f4fe
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f4fe
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45f51a
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x45f51a
push eax
call esi
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0xc
mov eax, dword [esp + 0x28]
cmp eax, 0x46
jge 0x45f54b
mov eax, dword [esi]
push 1
push edi
push 4
mov ecx, esi
call dword [eax + 0x17c]
jmp 0x45f58a
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax - 1]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
lea eax, [ecx + eax - 1]
cmp edx, eax
jle 0x45f58a
mov eax, 0x88888889
mov ebx, dword [esi]
imul ecx
add edx, ecx
mov eax, edi
sar edx, 5
mov ecx, edx
push 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
inc eax
push eax
push 4
call dword [ebx + 0x17c]
mov eax, dword [esp + 0x2c]
cmp eax, 0x3c
jge 0x45f5a4
mov edx, dword [esi]
push 1
push ebp
push 8
mov ecx, esi
call dword [edx + 0x17c]
jmp 0x45f5e1
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax - 1]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
lea eax, [eax + ecx - 1]
cmp edx, eax
jle 0x45f5e1
mov eax, 0x66666667
mov ebx, dword [esi]
imul ecx
sar edx, 3
mov ecx, edx
mov eax, ebp
shr ecx, 0x1f
add edx, ecx
push 1
sub eax, edx
mov ecx, esi
inc eax
push eax
push 8
call dword [ebx + 0x17c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ecx
lea ecx, [esi + 0x174]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
push edi
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f50
mov ecx, esi
call fcn.0045db30
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x17c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + edi*4]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
mov dword [esi + 0x188], ebp
cdq
sub eax, edx
mov dword [esi + 0x18c], edi
sar eax, 1
inc eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.004f1850
test al, al
je 0x45f7b3
mov edx, dword [esi + 0x160]
lea ecx, [esp + 0x68]
push ecx
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax]
call fcn.00401f10
mov ecx, dword [esp + 0x1c]
push 0
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x70], 3
call fcn.00493b10
mov ecx, dword [esp + 0x68]
mov bl, al
or edi, 0xffffffff
mov byte [esp + 0x60], 2
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x45f6c5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f6c5
push eax
call dword [0x6c74ac]
add esp, 4
test bl, bl
je 0x45f6dc
xor ebx, ebx
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
jmp 0x45f75c
push 0
push ecx
mov edx, esp
mov dword [esp + 0x70], esp
push edx
push ebp
lea ecx, [esi + 0x158]
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f10
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.0040a460
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.0040a460
mov ecx, dword [esi + 0x184]
call fcn.004a6340
mov ebx, eax
test ebx, ebx
jne 0x45f73a
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
jmp 0x45f75c
mov al, byte [esp + 0x70]
test al, al
jne 0x45f75c
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x128]
mov ecx, dword [ebx + 0x124]
add eax, edx
cmp ecx, eax
jg 0x45f75c
xor ebx, ebx
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x190], 1
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
je 0x45f786
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f786
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x45f78c
mov esi, dword [0x6c74ac]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, edi
je 0x45f7a7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f7a7
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
jmp 0x45f8f4
mov ecx, dword [esi + 0x160]
lea edx, [esp + 0x68]
push edx
mov eax, dword [ecx + ebp*4]
mov ecx, dword [eax]
call fcn.00401f10
push 1
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x70], 4
call fcn.00493b10
mov edx, dword [esp + 0x68]
mov bl, al
or edi, 0xffffffff
mov byte [esp + 0x60], 2
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, edi
je 0x45f80c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f80c
push eax
call dword [0x6c74ac]
add esp, 4
test bl, bl
je 0x45f823
xor ebx, ebx
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
jmp 0x45f8a3
push 1
push ecx
mov eax, esp
mov dword [esp + 0x70], esp
push eax
push ebp
lea ecx, [esi + 0x158]
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f10
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.0040a460
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.0040a460
mov ecx, dword [esi + 0x184]
call fcn.004a6340
mov ebx, eax
test ebx, ebx
jne 0x45f881
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
jmp 0x45f8a3
mov al, byte [esp + 0x70]
test al, al
jne 0x45f8a3
mov ecx, dword [ebx + 0x12c]
mov edx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x124]
add ecx, edx
cmp eax, ecx
jg 0x45f8a3
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov byte [esi + 0x190], 0
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, edi
je 0x45f8cd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f8cd
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x45f8d3
mov esi, dword [0x6c74ac]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, edi
je 0x45f8ed
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f8ed
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [eax]
cmp ecx, edi
je 0x45f907
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45f907
push eax
call esi
add esp, 4
mov eax, ebx
jmp 0x45f51c