Function at 0x10002b90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov dword [ebp - 0x664], ecx
mov dword [ebp - 0x5a0], 0
mov dword [ebp - 0x598], 0
mov dword [ebp - 0x59c], 0
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x574], str.Word
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x664]
mov byte [eax + 0x7c8], 0
mov ecx, dword [ebp - 0x574]
movsx edx, byte [ecx]
push edx
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x5a0]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push 0x1001a190
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x590], eax
cmp dword [ebp - 0x590], 0
jne 0x10002c5e
jmp 0x1000317a
push 0x1001a1a0
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
mov edx, dword [ebp - 0x590]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0xe4]
push edx
push 0x100172a0
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1001a1ec
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
mov ecx, dword [ebp - 0x590]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x254], eax
push 0x1001a1d8
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
mov edx, dword [ebp - 0x590]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x18c], 0
je 0x10002d15
cmp dword [ebp - 0x254], 0
je 0x10002d15
cmp dword [ebp - 0x250], 0
jne 0x10002d51
mov eax, dword [ebp - 0x574]
movsx ecx, byte [eax]
push ecx
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x5a0]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000317a
mov dword [ebp - 0x588], 0
mov ecx, dword [ebp - 0x574]
push ecx
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x574]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x580], edx
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 2
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x58c], 0
mov ecx, dword [ebp - 0x580]
add ecx, 0x7c7
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
mov eax, dword [ebp - 0x664]
cmp dword [eax + 0x418], 0
je 0x10002e17
mov ecx, dword [ebp - 0x664]
mov edx, dword [ecx + 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x258]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x57c], 0
push 0x40
push 0x101000
mov eax, dword [ebp - 0x258]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x18c]
mov dword [ebp - 0x588], eax
cmp dword [ebp - 0x588], 0
jne 0x10002e67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.GDI32.dll_GetBkMode]
jmp 0x1000317a
push 0x1001a1b0
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
mov eax, dword [ebp - 0x590]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x584], eax
lea ecx, [ebp - 0x24c]
push ecx
push 0x40
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x588]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x584]
movzx edx, al
test edx, edx
jne 0x10002ec3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000317a
push 0x1001a1c4
lea ecx, [ebp - 0x560]
call fcn.10001980
push eax
mov eax, dword [ebp - 0x590]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x580]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x588]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xec]
movzx eax, al
test eax, eax
jne 0x10002f3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000317a
mov edx, dword [ebp - 0x580]
add edx, 4
and edx, 0xfffffffc
add edx, dword [ebp - 0x588]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
add eax, 0x7c4
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x664]
mov edx, dword [ecx + 0x418]
mov dword [ebp - 0x578], edx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x664]
mov edx, dword [ebp - 0x248]
mov dword [ecx + 0x418], edx
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x570], eax
lea ecx, [ebp - 0x570]
push ecx
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.USER32.dll_EqualRect]
lea eax, [ebp - 0x25c]
push eax
push 0x7c4
mov ecx, dword [ebp - 0x664]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0xec]
movzx ecx, al
test ecx, ecx
jne 0x10003008
jmp 0x1000317a
cmp dword [ebp - 0x578], 0
je 0x10003050
push 0
mov edx, dword [ebp - 0x578]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [ebp - 0x578]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xec]
movzx eax, al
test eax, eax
jne 0x10003050
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000317a
lea ecx, [ebp - 0x58c]
push ecx
push 0
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x588]
push eax
push 0x10000
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x254]
mov dword [ebp - 0x57c], eax
cmp dword [ebp - 0x57c], 0
jne 0x100030b5
mov edx, dword [ebp - 0x574]
movsx eax, byte [edx]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000317a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x25c]
push ecx
push 0x7c4
mov edx, dword [ebp - 0x664]
add edx, 0xc
push edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x250]
movzx edx, al
test edx, edx
jne 0x10003153
mov eax, dword [ebp - 0x574]
movsx ecx, byte [eax]
push ecx
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x5a0]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x574]
movsx edx, byte [ecx]
push edx
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x5a0]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x1000317a
mov ecx, dword [ebp - 0x664]
movzx edx, byte [ecx + 0x7c8]
test edx, edx
je 0x10003170
mov dword [ebp - 0x668], str.true
jmp 0x1000317a
mov dword [ebp - 0x668], str.false
cmp dword [ebp - 0x57c], 0
je 0x10003190
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x574]
push ecx
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x664]
movzx eax, byte [eax + 0x7c8]
neg eax
sbb eax, eax
and eax, 0xffffffec
add eax, 0x14
jmp 0x100031cb
mov esp, ebp
pop ebp
ret 0xc