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

Disassembly:
sub esp, 0x1b4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c4]
push edi
cmp dword [esi + 0x58], 2
jl 0x45ff69
cmp dword [esi + 4], 0
jne 0x45fc2e
mov eax, 0xffffff76
jmp 0x45ff6e
mov ebx, dword [esp + 0x1d0]
test ebx, ebx
jl 0x45ff69
mov edi, dword [esp + 0x1cc]
jg 0x45fc4e
test edi, edi
jb 0x45ff69
cmp ebx, dword [esi + 0x14]
jg 0x45ff69
jl 0x45fc62
cmp edi, dword [esi + 0x10]
ja 0x45ff69
cmp dword [esi + 0x58], 3
jl 0x45fc90
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x45fc89
jg 0x45fc7b
cmp edi, dword [ecx + eax*8]
jb 0x45fc89
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x45fc90
jg 0x45fc89
cmp edi, dword [ecx + eax*8 + 8]
jb 0x45fc90
push esi
call fcn.0045da68
pop ecx
push dword [esi + 0x5c]
or dword [esi + 0x50], 0xffffffff
lea ebp, [esi + 0x78]
or dword [esi + 0x54], 0xffffffff
push ebp
call reloc.USER32.dll_SetFocus
lea eax, [esi + 0x1e0]
push eax
call fcn.004617a8
push ebx
push edi
push esi
call fcn.0045ee3c
add esp, 0x18
test eax, eax
lea eax, [esp + 0x5c]
je 0x45fce3
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
push eax
call fcn.00470740
push esi
call fcn.0045da68
pop ecx
pop ecx
mov eax, 0xffffff77
jmp 0x45ff6e
push dword [esi + 0x5c]
xor edi, edi
and dword [esp + 0x1c], edi
and dword [esp + 0x20], edi
and dword [esp + 0x18], edi
push eax
mov dword [esp + 0x18], edi
call fcn.00470aa0
lea eax, [esp + 0x64]
push eax
call fcn.00471140
add esp, 0xc
jmp 0x45fd11
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x45fdb8
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00470d30
pop ecx
pop ecx
test eax, eax
jle 0x45fdb8
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x45fdae
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00461836
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jns 0x45fd66
push 0
push ebp
call fcn.00470d30
pop ecx
pop ecx
xor ebx, ebx
jmp 0x45fd8e
cmp dword [esp + 0x1c], 0
je 0x45fd80
cmp dword [esp + 0x14], 0
jne 0x45fd80
push 0
push ebp
call fcn.00470d30
pop ecx
pop ecx
jmp 0x45fd8e
test edi, edi
je 0x45fd8e
lea eax, [ebx + edi]
sar eax, 2
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x50]
and eax, edi
cmp eax, 0xffffffff
jne 0x45fed5
mov edi, ebx
mov dword [esp + 0x10], edi
jmp 0x45fd11
push 0
push ebp
call fcn.00470d30
pop ecx
pop ecx
test edi, edi
jne 0x45ff4b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0045e07d
mov ecx, edx
mov dword [esp + 0x30], eax
add esp, 0x10
mov dword [esp + 0x28], ecx
test ecx, ecx
jl 0x45ff39
jg 0x45fdee
test eax, eax
jb 0x45ff39
cmp dword [esi + 0x58], 3
jl 0x45fe2b
lea eax, [esp + 0x2c]
push eax
call fcn.00470710
pop ecx
cmp dword [esi + 0x5c], eax
je 0x45fe25
lea eax, [esp + 0x2c]
push eax
call fcn.004705e0
pop ecx
test eax, eax
je 0x45fe25
push esi
call fcn.0045da68
lea eax, [esp + 0x60]
push eax
call fcn.00470740
pop ecx
pop ecx
cmp dword [esi + 0x58], 3
jge 0x45fea5
lea eax, [esp + 0x2c]
push eax
call fcn.00470710
pop ecx
mov ecx, dword [esi + 0x34]
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x45fe50
mov eax, dword [esi + 0x40]
cmp dword [eax], ebx
je 0x45fe50
inc edi
add eax, 4
cmp edi, ecx
jl 0x45fe44
cmp edi, ecx
je 0x45fd0d
push ebx
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call reloc.USER32.dll_SetFocus
lea eax, [esp + 0x64]
push ebx
push eax
call reloc.USER32.dll_SetFocus
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x45fe9c
jl 0x45fe92
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + edi*8]
ja 0x45fe9c
mov dword [esp + 0x14], 1
jmp 0x45fea1
and dword [esp + 0x14], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00470d70
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00470d70
lea eax, [esp + 0x3c]
push eax
call fcn.00470670
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x45fd11
mov ebx, dword [esi + 0x60]
mov eax, ebx
mov edx, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + edx]
sbb edi, dword [eax + edx + 4]
test edi, edi
jg 0x45ff02
jl 0x45fef1
test ecx, ecx
jae 0x45ff02
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jle 0x45ff16
add edx, 8
add ecx, dword [edx]
adc edi, dword [edx + 4]
lea edx, [edx + 0x10]
sub ebx, 1
jne 0x45ff09
mov eax, dword [esp + 0x18]
cdq
sub ecx, eax
mov dword [esi + 0x50], ecx
sbb edi, edx
mov dword [esi + 0x54], edi
test edi, edi
jg 0x45ff53
jl 0x45ff2f
test ecx, ecx
jae 0x45ff53
and dword [esi + 0x50], 0
and dword [esi + 0x54], 0
jmp 0x45ff53
push 0xffffffffffffffff
push esi
call fcn.0045fb92
pop ecx
pop ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x45ff53
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
lea eax, [esp + 0x5c]
push eax
call fcn.00470740
xorps xmm0, xmm0
xor eax, eax
pop ecx
movups xmmword [esi + 0x68], xmm0
jmp 0x45ff6e
mov eax, 0xffffff7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
ret