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

Disassembly:
push 0xffffffffffffffff
push 0x4e9158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
push esi
mov esi, ecx
push edi
push ebx
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
call dword [eax + 4]
lea eax, [ebx + 0x14]
xor ebp, ebp
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp eax, ebp
mov dword [esp + 0x50], edx
jne 0x471339
mov ecx, dword [esi + 0x40]
push ebp
push ebp
lea eax, [esp + 0x3c]
push ecx
push eax
push 0x40a00001
push 0x4f0ed0
push str.LISTBOX
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
call fcn.004d78a9
and eax, 0x400000
mov ecx, esi
or al, 0x80
push eax
call fcn.004d5360
mov eax, dword [esi + 0x40]
cmp eax, ebp
je 0x471334
mov eax, dword [eax + 0x1c]
jmp 0x471336
xor eax, eax
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0xe8]
add eax, 0x1c
cmp eax, ebp
jne 0x47134d
xor eax, eax
jmp 0x471350
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push edx
call edi
mov eax, dword [esi + 0x1c]
push ebp
push ebp
push 0x184
push eax
call edi
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
sub ebp, ecx
mov ecx, dword [esi + 0x40]
push ecx
lea ecx, [esp + 0x78]
inc ebp
call fcn.004db2e7
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push edx
mov dword [esp + 0xa0], 0
call edi
push eax
call fcn.004db4c6
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
call fcn.00469140
push 0xa
mov byte [esp + 0x94], 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x48]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x70]
mov ecx, dword [esi + 0x4c]
push ebx
mov byte [esp + 0x94], 2
mov edx, dword [ecx]
call dword [edx + 0x13c]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
call fcn.00445c70
test eax, eax
jle 0x4714ff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
push eax
call fcn.00471e80
mov ebx, eax
lea ecx, [ebx + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004d804c
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
push edx
push 0
push 0x180
push eax
call edi
mov ecx, dword [esi + 0x1c]
push ebx
push eax
push 0x19a
push ecx
mov dword [esp + 0x34], eax
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, edx
cmp ebp, ecx
jg 0x47149f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + edx]
cmp dword [esp + 0x20], 0xffffffff
jne 0x4714bc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00416e8d
add esp, 8
test eax, eax
je 0x4714c7
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x20]
cmp edx, eax
jne 0x4714d9
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
push 0
push eax
push 0x186
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.004d82d7
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
inc ebx
mov dword [esp + 0x14], ebx
call fcn.00445c70
cmp ebx, eax
jl 0x47140b
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x1a1
push edx
call edi
mov ecx, dword [esi + 0x1c]
push 0
mov ebx, eax
mov eax, dword [esp + 0x54]
push 0
push 0x18b
push ecx
mov dword [esp + 0x58], eax
call edi
cmp eax, 0xa
jle 0x471533
mov eax, 0xa
jmp 0x471542
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x18b
push edx
call edi
imul eax, ebx
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax + 2]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
sub eax, ebp
push ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], eax
call fcn.004db125
lea edx, [esp + 0x44]
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00460970
mov ecx, eax
call fcn.00460bc0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
cmp ecx, eax
jle 0x4715bd
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
add eax, edx
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x4715bd
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ebp, dword [edx + 0xc]
sub eax, ebp
sub eax, ecx
add eax, ebx
push eax
lea eax, [esp + 0x48]
push 0
push eax
call edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jge 0x4715d5
sub eax, ecx
push 0
lea ecx, [esp + 0x48]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jle 0x4715ed
sub eax, ecx
push 0
lea edx, [esp + 0x48]
push eax
push edx
call edi
mov ecx, esi
call fcn.004d7aaa
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x47165c
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0xfffffffffffffff8
push eax
call edi
push 0
push SysReAllocStringLen
push 0x40000000
mov ecx, esi
call fcn.004d78c3
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
push 0xfffffffffffffff8
push edx
call edi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub ecx, eax
push 0x250
push ecx
mov ecx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
push 0x5275d0
mov ecx, esi
call fcn.004d79f2
push esi
call fcn.00468a70
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 1
call fcn.004d82d7
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], 0
call fcn.004691e0
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], 0xffffffff
call fcn.004db359
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8