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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x178], str.Word
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.GDI32.dll_GetBkMode]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x78]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x188], edx
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x198]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x178]
movsx edx, byte [ecx]
push edx
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x198]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebp - 0x174]
sub edx, 1
mov dword [ebp - 0x19c], edx
jmp 0x10004e65
mov eax, dword [ebp - 0x19c]
sub eax, 1
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jb 0x10004fbf
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], 0
lea ecx, [ebp - 0x198]
push ecx
push 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0x19c], 0x225
jae 0x10004ec4
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1a4]
movsx edx, byte [ecx]
test edx, edx
je 0x10004f3b
push 0xd
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.10004d00
add esp, 8
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a4]
movsx edx, byte [ecx]
add edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 4]
push eax
push 0x100172a0
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10004ec4
mov edx, dword [ebp - 0x1a0]
cmp edx, dword [ebp + 0xc]
jne 0x10004fba
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a8]
mov cx, word [eax + edx*2]
mov word [ebp - 0x1ac], cx
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0xb0]
push ecx
push 0
call dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x16c], edx
movzx eax, word [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
jmp 0x10004fbf
jmp 0x10004e56
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret