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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov esi, eax
xor eax, eax
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x78]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xc20
mov ebp, eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x20]
push edx
add eax, 0x2c
push 0xffffffffffffffff
push eax
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_DrawTextW]
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x24]
cmp eax, ebx
jg 0x437c3f
mov eax, 1
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x28]
cmp edi, ebx
jg 0x437c50
mov edi, 1
mov dword [esp + 0x28], edi
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp edi, ebx
je 0x437c5e
cmp eax, ebx
jg 0x437c9f
cmp dword [esi + 4], ebx
je 0x437d6d
mov eax, dword [esi]
cmp eax, ebx
je 0x437c79
push eax
mov dword [esi + 0x1c], ebx
mov dword [esi], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 4]
push eax
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x437d6d
cmp dword [esi + 4], ebx
je 0x437cd7
mov eax, dword [esi]
cmp eax, ebx
je 0x437cb6
push eax
mov dword [esi + 0x1c], ebx
mov dword [esi], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 4]
push eax
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x2c
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00474b70
add esp, 0xc
push ebx
push ebx
mov dword [esp + 0x38], ebp
lea ebp, [esi + 8]
push ebp
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, 1
mov edx, 0x20
push ebx
mov dword [esp + 0x44], 0x28
mov word [esp + 0x50], cx
mov word [esp + 0x52], dx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x437d36
mov dword [ebp], ebx
jmp 0x437d6d
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
shl eax, 5
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
add eax, eax
cmp edi, ebx
mov dword [esi + 0x14], eax
jle 0x437d68
mov dword [esi + 0x10], edi
dec edi
imul edi, eax
add dword [ebp], edi
neg eax
mov dword [esi + 0x14], eax
jmp 0x437d6d
neg edi
mov dword [esi + 0x10], edi
cmp dword [esi + 0x1c], ebx
jne 0x437d8a
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi], eax
cmp eax, ebx
je 0x437d8a
mov ecx, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esi]
cmp edi, ebx
je 0x437d93
inc dword [esi + 0x1c]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push edi
call ebp
push ebx
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x78]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push 0x820
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push edx
push edi
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x5c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x18]
push edx
push edi
call ebp
add dword [esi + 0x1c], 0xffffffff
jne 0x437e0d
mov eax, dword [esi]
push eax
mov dword [esi], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [esi + 0x14]
cmp edi, ebx
mov edx, edi
jg 0x437e18
neg edx
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 8]
mov eax, ecx
imul eax, edx
shr eax, 2
cmp esi, ebx
je 0x437e36
cmp edi, ebx
jg 0x437e36
dec ecx
imul ecx, edi
add ecx, esi
jmp 0x437e38
mov ecx, esi
cmp eax, ebx
jle 0x437e9e
mov edi, eax
mov edi, edi
mov al, byte [ecx + 2]
movzx edx, al
mov byte [ecx + 3], al
movzx esi, byte [ecx + 3]
mov eax, edx
shl eax, 4
sub eax, edx
add eax, eax
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx + 2], al
lea eax, [esi + esi*4]
add eax, eax
add eax, eax
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx + 1], al
mov eax, esi
shl eax, 4
sub eax, esi
add eax, eax
add eax, eax
add eax, eax
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ecx], al
add ecx, 4
sub edi, 1
jne 0x437e40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4