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

Disassembly:
sub esp, 0x64
push ebp
mov ebp, ecx
push esi
lea esi, [ebp + 0x254]
test esi, esi
mov dword [esp + 0x10], ebp
je 0x45e0bc
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e0c6
pop esi
xor eax, eax
pop ebp
add esp, 0x64
ret 0x10
test esi, esi
push ebx
mov ebx, dword [esp + 0x7c]
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
je 0x45e0e3
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e0e7
xor eax, eax
jmp 0x45e113
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ecx
push 0x18
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x288]
mov ecx, dword [ebp + 0x284]
sub eax, edx
sub eax, ecx
mov edi, eax
test edi, edi
mov dword [esp + 0x80], edi
jle 0x45e154
mov ecx, esi
call fcn.0041e3b0
mov ecx, dword [esp + 0x84]
sub ecx, eax
mov eax, ecx
cdq
idiv edi
inc eax
mov dword [esp + 0x10], eax
jns 0x45e154
mov dword [esp + 0x10], 0
test esi, esi
je 0x45e15f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e163
xor edi, edi
jmp 0x45e18f
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 0x284]
mov dword [esp + 0x28], edx
xor eax, eax
lea edx, [esp + 0x1c]
push edx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
push ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edi
call fcn.00463a30
add ebx, dword [ebp + 0x284]
test esi, esi
je 0x45e1d7
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e1db
xor edi, edi
jmp 0x45e207
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], edx
push 0x18
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x34]
test esi, esi
je 0x45e212
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e216
xor edx, edx
jmp 0x45e242
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], edx
push 0x18
mov dword [esp + 0x5c], edx
push eax
mov dword [esp + 0x64], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x48]
sub edi, dword [ebp + 0x288]
mov ecx, dword [ebp + 0x284]
mov ebp, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
jl 0x45e2c3
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub edi, ebp
sub edi, ecx
inc eax
mov dword [esp + 0x10], eax
lea eax, [edi + ebx]
test eax, eax
jle 0x45e28e
sub dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x20]
jle 0x45e2af
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00463a30
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x10]
add ebx, ecx
dec eax
mov dword [esp + 0x10], eax
jne 0x45e283
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x288]
mov ecx, dword [esp + 0x84]
sub ebp, edx
add ebp, ecx
test esi, esi
mov dword [esp + 0x80], ebp
je 0x45e2ea
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e2f4
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
xor ebp, ebp
jmp 0x45e322
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x54], ecx
push 0x18
mov dword [esp + 0x5c], ecx
push eax
mov dword [esp + 0x64], ecx
call ebx
mov ebp, dword [esp + 0x4c]
test esi, esi
je 0x45e32d
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e331
xor edi, edi
jmp 0x45e359
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ecx
push 0x18
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
call ebx
mov edi, dword [esp + 0x30]
test esi, esi
je 0x45e364
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e368
xor eax, eax
jmp 0x45e390
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x6c], ecx
push 0x18
mov dword [esp + 0x74], ecx
push eax
mov dword [esp + 0x7c], ecx
call ebx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + 0x288]
mov edx, dword [esp + 0x7c]
sub eax, ebx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
call fcn.00463a30
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x64
ret 0x10