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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x3c]
xor eax, eax
xor ebp, ebp
cmp byte [edi + 3], al
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
jne 0x45d6d8
lea ebp, [eax + 4]
cmp byte [edi + 4], al
mov ebx, dword [esp + 0x4c]
je 0x45d6fd
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add eax, ecx
cdq
push edx
push eax
lea ecx, [ebx + ebp]
call fcn.0042ba80
add esp, 8
add ebp, eax
jmp 0x45d705
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [ebx + ebp]
call fcn.0042ba80
lea ecx, [esp + 0x30]
push ecx
push ebx
push edi
add ebp, eax
call fcn.0042e8d0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
add esp, 0x14
cmp byte [edi + 2], 0
lea eax, [ecx + edx]
mov dword [esp + 0x14], eax
je 0x45d74f
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], 0
jmp 0x45d782
cmp dword [esp + 0x58], 0
jg 0x45d9cf
mov ecx, dword [esp + 0x54]
jl 0x45d76c
cmp ecx, 0x7fffffff
ja 0x45d9cf
mov edx, dword [esp + 0x50]
test edx, edx
je 0x45d9cf
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], ecx
mov edi, dword [esp + 0x68]
add ebp, ebx
movzx ebx, word [esp + 0x44]
add ebx, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x18], edx
movzx edx, word [esp + 0x46]
mov dword [edi], edx
movzx edi, word [esp + 0x42]
jle 0x45d9a7
jmp 0x45d7bc
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
test edi, edi
jne 0x45d932
cmp byte [esi + 0x13], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
je 0x45d82f
movzx edx, word [esi + 0x18]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea esi, [edx + eax + 1]
mov edx, dword [esp + 0x1c]
movzx edi, word [edx + 0x16]
mov eax, dword [0x7cfd34]
cdq
idiv edi
add ecx, 0xfffffffe
lea edi, [eax + 1]
mov edi, edi
add ecx, 1
xor edx, edx
mov eax, ecx
div esi
add dword [esp + 0x10], 1
imul eax, esi
add eax, 2
cmp eax, edi
jne 0x45d81b
add eax, 1
cmp eax, dword [esp + 0x10]
je 0x45d800
cmp dword [esp + 0x10], edi
je 0x45d800
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.0045cb80
mov ebp, dword [esp + 0x38]
add esp, 0x14
cmp byte [esi + 0x13], 0
mov edi, eax
je 0x45d88a
test edi, edi
jne 0x45d9b1
mov eax, dword [esp + 0x4c]
test eax, eax
setne dl
add dl, 3
push eax
mov eax, dword [esp + 0x14]
push edx
push esi
call fcn.0045b4a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45d892
test ebp, ebp
je 0x45d88a
mov eax, dword [ebp + 0x44]
push eax
call fcn.00459830
add esp, 4
test edi, edi
jne 0x45d9b1
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [ebx], cl
mov edx, eax
mov ecx, eax
mov byte [ebx + 3], al
mov eax, dword [esp + 0x20]
shr edx, 0x10
shr ecx, 8
test eax, eax
mov byte [ebx + 1], dl
mov byte [ebx + 2], cl
je 0x45d907
mov eax, dword [eax + 0x44]
test eax, eax
je 0x45d907
mov edi, dword [eax + 0x10]
call fcn.0042cd90
mov edx, dword [edi + 0xb0]
cmp dword [edx + 0xc], 0
jne 0x45d907
cmp dword [edi + 0x24], 0
jne 0x45d8fc
cmp byte [edi + 0xe], 2
jb 0x45d8fc
mov eax, dword [0x7f0734]
test eax, eax
je 0x45d8ea
call eax
mov esi, edi
call fcn.00458f50
mov eax, dword [0x7f0738]
test eax, eax
je 0x45d8fc
call eax
mov esi, edi
call fcn.00437bb0
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov byte [ebx], 0
mov byte [ebx + 1], 0
mov byte [ebx + 2], 0
mov byte [ebx + 3], 0
movzx edi, word [esi + 0x18]
mov dword [esp + 0x20], ebp
mov ebp, dword [ebp + 0x40]
add ebp, 4
sub edi, 4
cmp eax, edi
mov esi, eax
jle 0x45d93a
mov esi, edi
test ecx, ecx
jle 0x45d952
cmp esi, ecx
jle 0x45d944
mov esi, ecx
mov eax, dword [esp + 0x18]
push esi
push eax
push ebp
call 0x705b80
jmp 0x45d95b
push esi
push 0
push ebp
call 0x705b62
mov eax, dword [esp + 0x70]
sub dword [esp + 0x20], esi
add dword [esp + 0x24], esi
sub eax, esi
add esp, 0xc
add ebp, esi
sub edi, esi
test eax, eax
mov dword [esp + 0x64], eax
jne 0x45d988
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0
jg 0x45d7b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45d9a7
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00459830
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45d9c5
mov eax, dword [eax + 0x44]
push eax
call fcn.00459830
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x38
ret