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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45dcc3
push eax
call dword [0x5350b8]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x45dcda
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x45dcda
call fcn.004509e0
mov ecx, dword [ebx]
test ecx, ecx
je 0x45dcf3
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x45dcf3
push eax
call dword [0x5350b8]
mov ecx, dword [ebx]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x45dd08
cmp esi, 5
je 0x45dd08
cmp esi, 6
jne 0x45e236
mov edi, dword [ebx + 0x18]
mov edx, dword [ebx + 4]
mov dword [esp + 0x40], 0
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x45dd5d
cmp byte [esi + 0x14], 2
jne 0x45dd5d
mov esi, 5
mov ecx, edx
cmp dword [ebx + 0xc], 0
jne 0x45dd84
test esi, esi
jne 0x45ddaf
mov eax, dword [edi + 4]
push esi
push 0xffffffffffffffff
mov edx, dword [eax + 0x20]
call fcn.00453a20
add esp, 8
cmp eax, 7
jne 0x45dd88
mov esi, eax
jmp 0x45ddaf
xor esi, esi
cmp byte [edi + 8], 0
jne 0x45dd37
push esi
xor edx, edx
mov ecx, edi
call fcn.00454160
mov edi, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 4]
mov esi, eax
mov dword [esp + 0x40], 1
jmp 0x45dd39
test esi, esi
jne 0x45ddaf
cmp dword [ebx + 0xc], 0
jne 0x45ddaf
mov ecx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
mov edx, 2
call fcn.00454160
mov esi, eax
add esp, 4
test esi, esi
jne 0x45ddaf
mov dword [ebx + 0xc], 1
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edi
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], ecx
mov al, byte [eax + 5]
mov byte [esp + 0x13], al
test esi, esi
jne 0x45dde4
cmp al, 5
jne 0x45dde4
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x2c]
and edx, 0x7fffffff
xor eax, eax
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
test ecx, ecx
js 0x45de02
cmp eax, ecx
jge 0x45de78
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x45de78
test esi, esi
jne 0x45deb3
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x5352fc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x45de67
push 2
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45de67
mov eax, dword [esp + 0x28]
mov edx, edi
push esi
mov ecx, ebx
push dword [eax + 4]
call fcn.0045da60
mov ecx, dword [esp + 0x30]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x45de67
call fcn.0044b7b0
mov eax, dword [esp + 0x20]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [esp + 0x1c]
jmp 0x45ddf3
test esi, esi
jne 0x45deb3
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x45debc
cmp dword [ebx + 0x28], esi
jne 0x45e208
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x45e208
cmp esi, 0x65
jne 0x45e208
test edx, edx
jne 0x45df12
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x45ded7
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x45ded7
mov ecx, edi
call fcn.004509e0
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [edi + 4]
call fcn.00454030
cmp byte [edi + 9], 0
mov esi, eax
je 0x45defe
add dword [edi + 0xc], 0xffffffff
jne 0x45defe
mov ecx, edi
call fcn.004509a0
mov edi, 1
mov dword [esp + 0x1c], edi
test esi, esi
je 0x45df16
cmp esi, 0x65
jne 0x45df2d
jmp 0x45df16
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
mov edx, 1
mov ecx, dword [ebx + 4]
inc eax
push eax
call fcn.0045c210
add esp, 4
mov esi, eax
test esi, esi
jne 0x45e208
mov ecx, dword [ebx]
test ecx, ecx
je 0x45df40
call fcn.00485f00
cmp byte [esp + 0x13], 5
jne 0x45dfdb
mov ecx, dword [ebx + 4]
mov edx, 0xffdf
push 0
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
and word [eax + 0x16], dx
xor edx, edx
call fcn.00454160
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dfc6
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x38], eax
cmp byte [eax + 0x12], 2
jne 0x45df8e
cmp byte [eax + 0x13], 2
je 0x45dfc6
mov ecx, dword [esp + 0x3c]
mov edx, 2
push 0
call fcn.00454160
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dfc6
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x48]
call fcn.0044c100
mov esi, eax
test esi, esi
jne 0x45dfc6
mov eax, dword [esp + 0x38]
mov word [eax + 0x12], 0x202
mov eax, dword [esp + 0x20]
mov ecx, 0xffdf
and word [eax + 0x16], cx
test esi, esi
jne 0x45e208
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jge 0x45e023
mov eax, ecx
cdq
idiv dword [esp + 0x14]
mov ecx, eax
lea eax, [ecx - 1]
add eax, edi
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x5352fc]
div dword [ecx + 0x20]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
mov eax, dword [esp + 0x1c]
cmovne ecx, edi
mov dword [esp + 0x3c], ecx
mov edi, ecx
mov ecx, dword [esp + 0x24]
jmp 0x45e02f
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
imul edi, eax
mov edx, dword [esp + 0x14]
cmp edx, ecx
jge 0x45e328
imul edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
cmp edi, eax
ja 0x45e0b1
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x5352fc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x45e0a6
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45e0a6
mov ecx, dword [esp + 0x28]
call fcn.0044c100
mov ecx, dword [esp + 0x28]
mov esi, eax
test ecx, ecx
je 0x45e0a6
call fcn.0044b7b0
mov eax, dword [esp + 0x34]
inc edi
test esi, esi
je 0x45e057
jmp 0x45e0c7
test esi, esi
jne 0x45e0c7
mov ecx, dword [esp + 0x18]
xor edx, edx
push 1
call fcn.0044c270
add esp, 4
mov esi, eax
mov eax, dword [0x5352fc]
add eax, dword [esp + 0x24]
cdq
mov ecx, edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
cmp ecx, edx
jg 0x45e0eb
jl 0x45e0f7
cmp eax, dword [esp + 0x1c]
jb 0x45e0f7
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov eax, dword [0x5352fc]
add eax, dword [esp + 0x14]
cdq
mov dword [esp + 0x34], eax
mov edi, eax
mov dword [esp + 0x28], edx
mov ecx, edx
test esi, esi
jne 0x45e208
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cdq
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
cmp ecx, ebx
jg 0x45e27c
jl 0x45e13a
cmp edi, dword [esp + 0x2c]
jae 0x45e27c
push 0
lea esi, [esp + 0x28]
mov dword [esp + 0x28], 0
push esi
push edx
push eax
push ecx
push edi
call fcn.005117f0
inc eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45e18b
push dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
push edi
push dword [esp + 0x1c]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x45e1e5
test byte [ecx + 0x1c], 0x20
je 0x45e1e0
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.00511980
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esp + 0x20]
jmp 0x45e1e5
call fcn.00444eb0
mov eax, dword [esp + 0x44]
add edi, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
adc ecx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ecx
test esi, esi
je 0x45e126
mov ebx, dword [ebp + 8]
cmp dword [esp + 0x40], 0
je 0x45e223
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.00454fc0
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.004551d0
mov ecx, dword [ebx]
cmp esi, 0xc0a
mov eax, 7
cmove esi, eax
mov dword [ebx + 0x1c], esi
test ecx, ecx
je 0x45e24b
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x45e24b
push eax
call dword [0x5350c0]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x45e25f
add dword [ecx + 0xc], 0xffffffff
jne 0x45e25f
call fcn.004509a0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x45e273
push eax
call dword [0x5350c0]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x45e205
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e205
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x4c], ecx
jl 0x45e2c6
jg 0x45e2b4
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x48], eax
jbe 0x45e2c6
mov eax, dword [ebx]
push ecx
push dword [esp + 0x20]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x45e205
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x45e2e0
lea eax, [esi + 0xc]
jmp 0x45e2f1
push 0
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edx, dword [esp + 0x24]
add esp, 0xc
xor esi, esi
cmp eax, 0xc
cmovne esi, eax
test esi, esi
jne 0x45e323
cmp byte [edx + 7], 0
jne 0x45e323
movzx ecx, byte [edx + 0xa]
mov edx, dword [edx + 0x3c]
test ecx, ecx
je 0x45e321
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [ebp + 8]
add esp, 8
mov esi, eax
jmp 0x45e33f
xor esi, esi
mov ebx, dword [ebp + 8]
jmp 0x45e33f
mov eax, dword [esp + 0x18]
xor edx, edx
push 0
mov ecx, eax
mov dword [eax + 0x18], edi
call fcn.0044c270
add esp, 4
mov esi, eax
test esi, esi
jne 0x45e208
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.004551d0
mov esi, eax
mov eax, 0x65
test esi, esi
cmove esi, eax
jmp 0x45e208