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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6228cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
call fcn.004cff4c
test eax, eax
je 0x45cedf
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x45cedf
call fcn.004cff4c
mov eax, dword [eax + 0x4c]
shr eax, 5
and al, 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x3b], al
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
call fcn.004cff4c
mov edx, dword [eax + 0x68]
mov ecx, 0x800
mov dword [esp + 0x30], edx
cmp edx, ecx
jbe 0x45c81c
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x24], eax
cmp eax, ecx
jbe 0x45c82b
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x88]
push eax
call fcn.0046bb85
mov dword [esp + 0xd8], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x12c]
push dword [ebp + 0x14]
mov dword [esp + 0x9c], eax
push dword [ebp + 0xc]
lea eax, [esp + 0x90]
push edi
call fcn.0046bcf8
test al, al
jne 0x45c882
or dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x88]
call fcn.0046bbe3
mov al, bl
jmp 0x45cee1
lea eax, [esp + 0x50]
push eax
call fcn.0046ab07
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0xdc], 1
call fcn.0046ab07
mov byte [esp + 0xd8], 2
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x20]
xor eax, eax
xor ecx, ecx
sub edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
je 0x45c8d7
dec edx
jne 0x45c8f3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
jmp 0x45c8e7
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x28], eax
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x45c908
add edi, edi
cmp edi, eax
jb 0x45c8fe
mov dword [esp + 0x10], edi
cmp edi, ecx
ja 0x45c928
cmp eax, 0x80
jb 0x45c9a9
mov edx, edi
mov ebx, edi
sub edx, eax
shr ebx, 4
cmp edx, ebx
jb 0x45c9a9
shr edi, 1
mov dword [esp + 0x10], edi
cmp edi, ecx
jbe 0x45c938
mov edi, ecx
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x1c]
jae 0x45c946
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
and dword [esp + 0x18], 0
cmp edi, eax
jae 0x45c97e
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x10]
call fcn.0045d57f
add dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
add eax, edi
cmp eax, dword [esp + 0x28]
jbe 0x45c972
shr edi, 1
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x18]
add eax, edi
cmp eax, dword [esp + 0x28]
jb 0x45c94f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, ecx
jbe 0x45c99b
shl dword [esp + 0x10], 1
cmp dword [esp + 0x10], eax
jb 0x45c991
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jae 0x45c9a9
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x10]
call fcn.0045d57f
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x45c8aa
cmp byte [esp + 0x3b], 0
jne 0x45cca1
mov ecx, dword [esp + 0x78]
mov eax, ecx
sub eax, dword [esp + 0x74]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
test eax, 0xfffffffc
jle 0x45cc4e
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
call fcn.0045d50e
mov eax, dword [eax]
and dword [esp + 0x10], 0
and dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov ecx, eax
sub ecx, dword [esp + 0x5c]
test ecx, 0xfffffffc
jle 0x45cbbf
mov edi, dword [esp + 0x3c]
sub edi, ebx
mov dword [esp + 0x40], edi
jmp 0x45ca34
mov edi, dword [esp + 0x40]
push dword [esp + 0x20]
lea eax, [esp + 0x54]
call fcn.0045d50e
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
sub ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jle 0x45ca63
mov dword [esp + 0x28], ecx
cmp edx, edi
jle 0x45ca6b
mov dword [esp + 0x2c], edi
push 0xe0
call fcn.0045ba07
pop ecx
mov dword [esp + 0x4c], eax
mov byte [esp + 0xd8], 3
test eax, eax
je 0x45ca91
mov ecx, eax
call fcn.00492b8b
mov edi, eax
jmp 0x45ca93
xor edi, edi
mov byte [esp + 0xd8], 2
lea ebx, [edi + 8]
mov eax, dword [ebx]
push 0
mov ecx, ebx
mov dword [esp + 0x34], edi
call dword [eax + 0x84]
mov eax, dword [edi]
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [esp + 0x28]
push dword [esp + 0x34]
call dword [eax + 4]
test al, al
je 0x45cbec
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x58]
test al, al
je 0x45cbec
push dword [esp + 0x2c]
mov edx, dword [ebx]
push dword [esp + 0x2c]
xor ecx, ecx
push dword [esp + 0x1c]
xor eax, eax
push dword [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, ebx
call dword [edx + 0xd4]
test al, al
je 0x45cbec
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jle 0x45cb50
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
push edi
mov dword [esp + 0x48], 1
push dword [esp + 0x48]
lea eax, [ecx + eax - 1]
push dword [esp + 0x1c]
push eax
xor eax, eax
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
mov ecx, ebx
call dword [edx + 0xd4]
cmp dword [esp + 0x1c], edi
jle 0x45cb8f
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov dword [esp + 0xac], 1
push dword [esp + 0xac]
lea eax, [edi + eax - 1]
push dword [esp + 0x2c]
xor ecx, ecx
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x98]
push edi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xd4]
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 0x10]
call fcn.0045d435
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
inc dword [esp + 0x20]
mov ecx, eax
sub ecx, dword [esp + 0x5c]
sar ecx, 2
cmp dword [esp + 0x20], ecx
jl 0x45ca30
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov edx, ecx
sub edx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
sar edx, 2
cmp dword [esp + 0x18], edx
jl 0x45c9f1
mov edx, dword [esp + 0x10]
jmp 0x45cc52
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp + 0xc], 0x15
je 0x45cc20
cmp dword [ebp + 0xc], 0x16
je 0x45cc20
lea esi, [esp + 0x68]
call fcn.004df3c5
lea esi, [esp + 0x50]
call fcn.004df3c5
xor bl, bl
jmp 0x45c867
push dword [ebp + 0x14]
mov eax, dword [esi]
push dword [ebp + 0x10]
mov ecx, esi
push 0x1a
push dword [ebp + 8]
call dword [eax + 0x13c]
lea esi, [esp + 0x68]
mov bl, al
call fcn.004df3c5
lea esi, [esp + 0x50]
call fcn.004df3c5
jmp 0x45c867
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x74]
sar eax, 2
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x3c]
sar ecx, 2
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x38], edx
lea edx, [esp + 0xb0]
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x5c], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
push 0xffffffffffffffff
mov byte [esp + 0xdc], 4
push 0
jmp 0x45ce91
mov eax, dword [esp + 0x3c]
xor ecx, ecx
inc ecx
cmp dword [esp + 0x34], eax
mov dword [esp + 0x10], ecx
jle 0x45ccc2
cmp dword [esp + 0x34], ecx
jle 0x45ccd0
add ecx, ecx
cmp ecx, dword [esp + 0x34]
jl 0x45ccb8
jmp 0x45cccc
cmp eax, ecx
jle 0x45ccd0
add ecx, ecx
cmp ecx, eax
jl 0x45ccc6
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x30]
jle 0x45ccde
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x24]
jle 0x45ccec
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
jle 0x45ce4a
mov dword [esp + 0x20], ecx
neg dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
jle 0x45ce28
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
neg dword [esp + 0x30]
mov dword [esp + 0x40], eax
cmp ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
jle 0x45cd44
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x45cd50
mov dword [esp + 0x48], eax
push 0xe0
call fcn.0045ba07
pop ecx
mov dword [esp + 0x4c], eax
mov byte [esp + 0xd8], 5
cmp eax, edi
je 0x45cd76
mov ecx, eax
call fcn.00492b8b
mov edi, eax
jmp 0x45cd78
xor edi, edi
mov byte [esp + 0xd8], 2
lea ebx, [edi + 8]
mov eax, dword [ebx]
push 0
mov ecx, ebx
mov dword [esp + 0x50], edi
call dword [eax + 0x84]
mov eax, dword [edi]
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x20]
call dword [eax + 4]
test al, al
je 0x45cbec
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x58]
test al, al
je 0x45cbec
push dword [esp + 0x48]
mov edx, dword [ebx]
push dword [esp + 0x48]
xor ecx, ecx
push dword [esp + 0x1c]
xor eax, eax
push dword [esp + 0x34]
push ecx
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, ebx
call dword [edx + 0xd4]
test al, al
je 0x45cbec
lea eax, [esp + 0x4c]
push eax
lea eax, [esi + 0x10]
call fcn.0045d435
mov ecx, dword [esp + 0x10]
add dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
inc dword [esp + 0x24]
xor edi, edi
cmp edx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jl 0x45cd34
add dword [esp + 0x14], ecx
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
cmp eax, dword [esp + 0x3c]
jl 0x45cd12
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xb0]
mov byte [esi + 0x5c], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
push 0xffffffffffffffff
mov byte [esp + 0xdc], 6
push edi
push eax
lea ecx, [esi + 0x40]
call fcn.004013d0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 2
call fcn.00401370
mov eax, esi
call fcn.004cfef2
lea esi, [esp + 0x68]
call fcn.004df3c5
lea esi, [esp + 0x50]
call fcn.004df3c5
or dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x88]
call fcn.0046bbe3
mov al, 1
jmp 0x45cee1
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10