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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi + 0x60], 4
mov dword [ebp - 0x28], edi
jne 0x454dd3
cmp dword [esi + 0x64], 0
je 0x454cce
mov eax, dword [edi]
xor ebx, ebx
cmp dword [esi + 0x68], ebx
cdq
sete bl
sub eax, edx
sar eax, 1
lea ebx, [ebx + ebx - 1]
imul ebx, dword [esi + 0x6c]
add ebx, eax
jmp 0x454cde
cmp dword [esi + 0x68], 0
je 0x454cdb
mov ebx, dword [edi]
sub ebx, dword [esi + 0x6c]
jmp 0x454cde
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x7c], 0
mov dword [ebp - 0x20], ebx
je 0x454d09
mov eax, dword [edi]
xor ecx, ecx
cmp dword [esi + 0x80], ecx
cdq
sete cl
sub eax, edx
lea ecx, [ecx + ecx - 1]
imul ecx, dword [esi + 0x84]
sar eax, 1
lea edi, [eax + ecx]
jmp 0x454d22
cmp dword [esi + 0x80], 0
je 0x454d1c
mov edi, dword [edi]
sub edi, dword [esi + 0x84]
jmp 0x454d22
mov edi, dword [esi + 0x84]
cmp dword [esi + 0x70], 0
mov ecx, dword [ebp - 0x28]
je 0x454d4b
mov eax, dword [ecx + 4]
xor ebx, ebx
cmp dword [esi + 0x74], ebx
cdq
sete bl
sub eax, edx
lea ebx, [ebx + ebx - 1]
imul ebx, dword [esi + 0x78]
sar eax, 1
lea edx, [eax + ebx]
mov ebx, dword [ebp - 0x20]
jmp 0x454d5f
cmp dword [esi + 0x74], 0
je 0x454d5c
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 4]
sub edx, dword [esi + 0x78]
jmp 0x454d5f
mov edx, dword [esi + 0x78]
cmp dword [esi + 0x88], 0
mov dword [ebp - 0x1c], edx
je 0x454d9f
mov eax, dword [ecx + 4]
xor ebx, ebx
cmp dword [esi + 0x8c], ebx
cdq
sete bl
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
lea ebx, [ebx + ebx - 1]
imul ebx, dword [esi + 0x90]
add eax, ebx
mov ebx, dword [ebp - 0x20]
sub edi, ebx
sub eax, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp 0x454fa7
cmp dword [esi + 0x8c], 0
je 0x454dbf
mov eax, dword [ecx + 4]
sub eax, dword [esi + 0x90]
sub edi, ebx
sub eax, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp 0x454fa7
mov eax, dword [esi + 0x90]
sub edi, ebx
sub eax, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
jmp 0x454fa7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x4c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call fcn.0044f420
mov ecx, dword [ebp - 0x30]
add esp, 4
push ecx
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c], eax
je 0x454e3c
mov edx, dword [edi]
add edx, dword [ebp - 0x20]
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x58]
test eax, eax
je 0x454e48
mov dword [ebp - 0x24], eax
jmp 0x454ea9
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x454e54
mov dword [ebp - 0x24], eax
jmp 0x454ea9
mov edi, dword [esi + 8]
test edi, edi
je 0x454ea6
jmp 0x454e60
push edi
call fcn.00449cd0
mov edi, eax
add esp, 4
cmp dword [edi + 0x58], 0
jne 0x454e8c
mov eax, dword [edi + 0x4c]
push eax
call fcn.0044f420
add esp, 4
cmp dword [eax + 0x20], 0
jne 0x454e94
mov edi, dword [edi + 8]
test edi, edi
jne 0x454e60
jmp 0x454ea6
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x24], ecx
jmp 0x454ea6
mov edi, dword [edi + 0x4c]
push edi
call fcn.0044f420
mov edx, dword [eax + 0x20]
add esp, 4
mov dword [ebp - 0x24], edx
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + 0x34]
and eax, 1
cmp al, 1
jne 0x454efe
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x454ebf
mov dword [ebp - 0x24], eax
jmp 0x454efe
mov edi, dword [esi + 8]
test edi, edi
je 0x454efb
push edi
call fcn.00449cd0
mov edi, eax
mov eax, dword [edi + 0x4c]
push eax
call fcn.0044f420
add esp, 8
cmp dword [eax + 0x24], 0
jne 0x454ee9
mov edi, dword [edi + 8]
test edi, edi
jne 0x454ec6
jmp 0x454efb
mov edi, dword [edi + 0x4c]
push edi
call fcn.0044f420
mov ecx, dword [eax + 0x24]
add esp, 4
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0
jne 0x454f11
push 0
call fcn.00453e60
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
neg ecx
push ecx
neg edx
mov dword [ebp - 0x24], eax
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebx + 0x1c]
and eax, 0xfffffff0
test al, 0x10
je 0x454f49
mov dword [ebp - 0x14], 0x7fff
mov esi, dword [esi + 0x28]
mov edx, dword [esi - 0xc]
or eax, 0x400
push eax
lea ecx, [ebp - 0x20]
push ecx
push edx
push esi
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 0x24]
add eax, eax
sub eax, dword [ebp - 0x20]
push edx
add eax, dword [ebp - 0x18]
push esi
mov dword [edi], eax
mov ecx, dword [ebx + 0x3c]
add ecx, ecx
sub ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov dword [edi + 4], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x454fa7
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 8