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

Disassembly:
push 0xffffffffffffffff
push 0x101fa0a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
push eax
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edi, eax
mov bl, 1
mov esi, ebp
mov dword [esp + 0x34], edi
call fcn.10047d10
push ebp
call fcn.10048a40
mov eax, dword [ebp + 0x70]
xor ebx, ebx
cmp eax, ebx
je 0x10047a20
mov edx, dword [eax]
mov edx, dword [edx + 0xf8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebx
call edx
cmp word [esp + 0x18], bx
je 0x10047a20
mov edi, 7
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov byte [esp + 0xbc], 1
lea eax, [esp + 0x18]
push eax
call fcn.10045a60
mov byte [esp + 0xbc], 2
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x1004771d
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0xa061
lea eax, [esp + 0x40]
push eax
call edx
mov byte [esp + 0xbc], 3
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x98]
call fcn.10007880
mov byte [esp + 0xbc], 2
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x100476d5
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp + 0xf0], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x100476f2
mov eax, dword [ebp + 0xdc]
jmp 0x100476f8
lea eax, [ebp + 0xdc]
cmp dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x94]
jae 0x1004770f
lea ecx, [esp + 0x94]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.1019cb70
add esp, 8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x98]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0xd8], 4
mov ecx, dword [ebp + 0x70]
push ecx
mov byte [esp + 0xdc], 2
call fcn.1001a9c0
mov eax, dword [ebp + 0x70]
mov edx, dword [eax]
mov edx, dword [edx + 0xd0]
lea ecx, [esp + 0x38]
push ecx
push eax
call edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x274]
call eax
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x10047996
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x10047991
mov ecx, dword [ebp + 4]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.100131b0
mov byte [esp + 0xbc], 5
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
lea ecx, [esp + 0x14]
push ecx
push esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1004797f
call fcn.100132c0
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.10013280
cmp dword [esp + 0x8c], 8
mov esi, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jae 0x10047809
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x2c]
add ecx, 5
cmp ecx, esi
jge 0x10047850
sub esp, 0x1c
lea edx, [esp + 0x90]
mov esi, esp
mov dword [esp + 0x30], esp
push edx
call fcn.100076d0
mov byte [esp + 0xd8], 6
jmp 0x10047953
mov esi, dword [ebp + 0xec]
cmp esi, ebx
jle 0x10047964
mov edi, edi
push esi
lea eax, [ebp + 0xd8]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.1019c9a0
add esp, 0xc
mov byte [esp + 0xbc], 7
push eax
lea edx, [esp + 0x40]
push edx
mov edi, 0x10230410
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0xbc], 8
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x100478a7
mov eax, dword [eax + 4]
jmp 0x100478aa
add eax, 4
cmp dword [esp + 0xa8], edi
mov ecx, dword [esp + 0x94]
jae 0x100478c1
lea ecx, [esp + 0x94]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.1019cb70
add esp, 8
mov byte [esp + 0xbc], 7
lea ecx, [esp + 0x3c]
call fcn.10001dd0
mov byte [esp + 0xbc], 5
lea ecx, [esp + 0x58]
call fcn.10001dd0
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x10047902
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x2c]
add ecx, 0xa
cmp ecx, dword [esp + 0x14]
jl 0x10047935
sub esi, 1
cmp esi, ebx
jg 0x10047860
jmp 0x10047964
sub esp, 0x1c
lea edx, [esp + 0x90]
mov esi, esp
mov dword [esp + 0x30], esp
push edx
call fcn.100076d0
mov byte [esp + 0xd8], 9
mov eax, dword [ebp + 0x70]
push eax
mov byte [esp + 0xdc], 5
call fcn.100132e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0xbc], 2
lea ecx, [esp + 0x24]
push ecx
call fcn.10013210
mov edi, 7
mov byte [esp + 0xbc], 1
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x100479ad
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], bl
mov esi, 8
cmp dword [esp + 0xa8], esi
jb 0x100479d2
mov ecx, dword [esp + 0x94]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x10047a09
mov edx, dword [esp + 0x78]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
cmp dword [esp + 0xc8], ebx
jne 0x10047a48
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x10047a3b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30c]
push eax
call edx
mov eax, dword [ebp + 4]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, edi
mov byte [ebp + 0x12e], bl
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101d19cc
add esp, 0xac
ret 0xc