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

Disassembly:
sub esp, 0x148
push ebx
xor ebx, ebx
push ebp
mov ebp, ecx
mov byte [esp + 0xc], bl
push esi
push edi
mov dword [esp + 0x48], ebp
mov byte [esp + 0x13], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x15], bl
cmp byte [esp + 0x174], bl
je 0x42f492
mov ebp, dword [esp + 0x170]
mov edi, dword [esp + 0x15c]
cmp byte [ebp], bl
je 0x42f47f
push 0x3a
push ebp
call fcn.004855e4
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
mov esi, ebp
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x42f3aa
cmp al, 9
jne 0x42f3ad
inc esi
jmp 0x42f3a0
test ecx, ecx
je 0x42f43b
mov eax, dword [esp + 0x170]
mov ebp, ecx
sub ebp, eax
cmp ebp, 0x20
jae 0x42f43b
push ebp
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00487600
add esp, 0xc
mov byte [esp + ebp + 0x80], bl
xor edx, edx
lea ecx, [esp + 0x80]
push 0
push 1
push 0
call fcn.00471460
add esp, 0xc
test eax, eax
je 0x42f43b
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x42f40c
cmp al, 9
jne 0x42f40f
inc esi
jmp 0x42f402
cmp byte [esi], bl
lea ecx, [esp + 0x80]
cmove ebp, esi
mov dword [esp + 0x170], ebp
call fcn.0040dd10
mov ebx, eax
dec ebx
js 0x42f431
cmp ebx, 0xa
jl 0x42f43b
mov ecx, dword [esp + 0x48]
push edi
jmp 0x43048e
push 0x49e62c
push esi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42f468
mov ecx, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov byte [esp + 0x14], 1
mov dword [esp + 0x1c], ecx
add esi, 0x4ad300
jmp 0x42f4f4
push str.Show
push esi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42f47f
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov dword [esp + 0x1c], ecx
add esi, 0x4ad300
jmp 0x42f4f4
mov esi, dword [esp + 0x15c]
push 0x3a
push esi
call fcn.004855e4
mov edi, eax
add esp, 8
test edi, edi
jne 0x42f4ae
mov edi, esi
jmp 0x42f4c2
mov ecx, esi
call fcn.0040dd10
lea ebx, [eax - 1]
cmp ebx, 9
ja 0x43048b
inc edi
mov al, byte [edi]
cmp al, 0x20
je 0x42f4c1
cmp al, 9
je 0x42f4c1
push 0x49e62c
push edi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42f53f
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov dword [esp + 0x1c], eax
add esi, 0x4ad600
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f509
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42f509
mov dword [esi + 0x20], eax
cmp byte [esp + 0x13], 0
je 0x42f58b
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f52d
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42f52d
push 4
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
push str.Show
push edi
call fcn.00484212
add esp, 8
test eax, eax
jne 0x42f558
mov byte [esp + 0x13], 1
jmp 0x42f4e3
push 0
push 1
push 0
mov edx, 1
mov ecx, edi
call fcn.00471460
add esp, 0xc
test eax, eax
je 0x42f4e3
mov ecx, edi
call fcn.0040dd10
mov byte [esp + 0x16], 1
mov byte [esp + 0x15], 1
jmp 0x42f4e7
mov bl, byte [esp + 0x14]
mov ebp, dword [esp + 0x170]
test bl, bl
jne 0x42f651
cmp dword [esi + 0x20], 0
je 0x42f651
cmp byte [ebp], bl
jne 0x42f651
cmp byte [esp + 0x15], bl
jne 0x42f5bf
cmp byte [edi], bl
jne 0x42f651
cmp byte [esp + 0x174], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x42f5f4
cmp byte [esp + 0x16], 0
je 0x42f5f4
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 8], ecx
je 0x42f5f4
mov eax, dword [esi + 0x2c]
mov dword [esi + 8], ecx
test eax, eax
je 0x42f5f4
push 0
push ecx
push 0x402
push eax
call edi
mov eax, dword [esp + 0x164]
cmp byte [eax], 0
je 0x42f60f
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x42f60f
push eax
push 0
push 0xc
push ecx
call edi
mov eax, dword [esp + 0x160]
cmp byte [eax], 0
je 0x42f625
push eax
push 0
push 0xc
push dword [esi + 0x34]
call edi
mov eax, dword [esp + 0x168]
cmp byte [eax], 0
je 0x42f52d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f65f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x38]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42f675
push eax
call ecx
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42f67f
push eax
call ecx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42f68d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42f6a9
cmp dword [esi + 0x24], 0
push eax
jne 0x42f6a3
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x42f6a9
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push 0
push esi
call fcn.0048e820
add esp, 0xc
test bl, bl
jne 0x42f52d
mov eax, dword [esp + 0x168]
mov dword [esp + 0x54], eax
cmp byte [eax], bl
jne 0x42f6e6
mov eax, dword [0x4aefb4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x42f6de
cmp byte [eax], bl
jne 0x42f6e6
mov dword [esp + 0x54], 0x49bc4d
xor eax, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x174]
mov byte [esp + 0x15], 1
mov byte [esp + 0x14], 1
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], 0x88c00000
mov dword [esp + 0x44], 8
mov dword [esp + 0x34], CreateStatusWindowA
mov dword [esp + 0x48], CreateStatusWindowA
mov dword [esp + 0x5c], 0xff000000
mov dword [esi + 0x44], 0xff000000
mov dword [esi + 0x48], 0xff000000
mov dword [esi + 4], CreateStatusWindowA
test al, al
je 0x42f76b
mov dword [esi], SysReAllocString
mov dword [esi + 0x1c], CreateStatusWindowA
jmp 0x42f78e
push 0x60
push dword [0x4ae95c]
push 0x12c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
mov al, byte [esp + 0x174]
mov dword [esi + 0x1c], 0x14
mov ecx, dword [esp + 0x164]
mov dword [esi + 0x18], CreateStatusWindowA
cmp byte [ecx], 0
jne 0x42f7c1
mov ecx, dword [esp + 0x160]
cmp byte [ecx], 0
jne 0x42f7c1
test al, al
je 0x42f7c1
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
jmp 0x42f7cf
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], 5
cmp byte [edi], 0
je 0x42fc01
jmp 0x42f7e0
movzx ebx, byte [edi]
test ebx, 0xffffff80
jne 0x42f7fd
push 2
push ebx
call fcn.00485bac
add esp, 8
test eax, eax
je 0x42f7fd
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x42f813.68
movzx eax, byte [eax + 0x4304e0]
jmp dword [eax*4 + 0x4304a8]
and dword [esp + 0x44], 0xfffffff7
jmp case.0x42f813.68
mov ecx, dword [esp + 0x18]
mov al, byte [edi + 1]
and ecx, 0xff3fffff
mov dword [esp + 0x18], ecx
cmp al, 0x31
jne 0x42f848
or ecx, 0x800000
mov dword [esp + 0x18], ecx
jmp case.0x42f813.68
cmp al, 0x32
jne case.0x42f813.68
or ecx, 0x400000
mov dword [esp + 0x18], ecx
jmp case.0x42f813.68
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x42f813.68
mov edi, eax
mov cl, byte [edi]
call fcn.00409810
cmp al, 0x42
je 0x42f897
cmp al, 0x54
je 0x42f897
cmp al, 0x57
je 0x42f897
cmp byte [edi], 0x30
setne byte [esp + 0x14]
cmp byte [edi + 1], 0x30
setne byte [esp + 0x15]
jmp case.0x42f813.70
push 0x1f
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00487600
add esp, 0xc
mov byte [esp + 0x9f], 0
mov edx, 0x49e8b4
lea ecx, [esp + 0x80]
call fcn.00409840
test eax, eax
je 0x42f8cd
mov byte [eax], 0
lea ecx, [esp + 0x80]
call fcn.004726e0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42f92c
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f8f0
movzx eax, byte [esp + 0x86]
sub ecx, edx
xor edx, edx
cmp ecx, 6
push 0x10
cmova eax, edx
mov byte [esp + 0x8a], al
lea eax, [esp + 0x84]
push edx
push eax
call fcn.004860e0
add esp, 0xc
mov ecx, eax
call fcn.0042e540
mov ebx, eax
mov cl, byte [edi]
call fcn.00409810
cmp al, 0x42
je 0x42f953
cmp al, 0x54
je 0x42f94e
cmp al, 0x57
jne 0x42f957
push ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x40], eax
jmp 0x42f957
mov dword [esi + 0x48], ebx
jmp 0x42f957
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f961
sub ecx, edx
add edi, ecx
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x42f813.68
mov edi, eax
mov cl, byte [edi]
call fcn.00409810
cmp al, 0x4d
je 0x42f9b5
cmp al, 0x53
jne case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
test ecx, ecx
jns case.0x42f813.68
mov dword [esp + 0x3c], 0
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
jns case.0x42f813.68
mov dword [esp + 0x30], 0
jmp case.0x42f813.68
mov ecx, dword [esp + 0x18]
mov al, byte [edi + 1]
and ecx, 0xf7ffffff
mov dword [esp + 0x18], ecx
cmp al, 0x31
jne 0x42f9fb
or ecx, 0x40000
mov dword [esp + 0x18], ecx
cmp al, 0x32
jne case.0x42f813.68
or ecx, 0xf0000
mov dword [esp + 0x18], ecx
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a], 1
jmp 0x42fbf4
cmp byte [edi + 1], 0
je case.0x42f813.68
inc edi
mov ecx, edi
call fcn.0040dd10
lea ecx, [edi + 1]
mov dword [esp + 0x2c], eax
push 0x2d
push ecx
call fcn.004855e4
add esp, 8
test eax, eax
je case.0x42f813.68
cmp byte [eax + 1], 0
mov edi, eax
je case.0x42f813.68
lea edi, [eax + 1]
mov ecx, edi
call fcn.0040dd10
mov dword [esp + 0x28], eax
jmp case.0x42f813.68
mov byte [esp + 0x13], 0
jmp case.0x42f813.68
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x42f813.68
mov edi, eax
mov cl, byte [edi]
call fcn.00409810
cmp al, 0x4d
je 0x42faf2
cmp al, 0x53
je 0x42facb
push edi
call fcn.00485ca0
add esp, 4
mov dword [esi], eax
cmp byte [esp + 0x174], 0
jne case.0x42f813.68
push 0x60
push dword [0x4ae95c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jns case.0x42f813.68
mov dword [esp + 0x24], 0
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov ecx, eax
add esp, 4
mov dword [esp + 0x58], ecx
test ecx, ecx
jns case.0x42f813.68
mov dword [esp + 0x58], 0
jmp case.0x42f813.68
push 4
push str.Hide
push edi
call fcn.00484c8d
add esp, 0xc
test eax, eax
jne 0x42fb3a
mov byte [esp + 0x17], 1
add edi, 3
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
add esp, 4
mov dword [esi + 4], eax
cmp byte [esp + 0x174], 0
jne case.0x42f813.68
push 0x60
push dword [0x4ae95c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 4], eax
jmp case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esp + 0x38], eax
jmp 0x42fbf4
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esp + 0x4c], eax
jmp 0x42fbf4
cmp byte [edi + 1], 0
je case.0x42f813.68
mov cl, byte [edi + 1]
inc edi
call fcn.00409810
movsx eax, al
add eax, 0xffffffbe
cmp eax, 0x17
ja case.0x42f813.68
movzx eax, byte [eax + 0x430510]
jmp dword [eax*4 + 0x4304fc]
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esi + 0x1c], eax
jmp 0x42fbf4
cmp byte [esp + 0x174], 0
je case.0x42f813.68
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esi + 0x18], eax
jmp 0x42fbf4
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esi + 0xc], eax
jmp 0x42fbf4
lea eax, [edi + 1]
push eax
call fcn.00485ca0
mov dword [esi + 0x10], eax
add esp, 4
inc edi
cmp byte [edi], 0
jne 0x42f7e0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
push 0x5a
push ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x11
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xd8]
push eax
push 0x40
push ebx
call dword [sym.imp.GDI32.dll_GetTextFaceA]
lea eax, [esp + 0x120]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x120]
mov dword [esp + 0x40], eax
cmp ecx, 1
jge 0x42fc8a
cmp ecx, 0x80000000
je 0x42fc8a
mov eax, dword [esi + 0x18]
cmp eax, 1
jge 0x42fc8a
cmp eax, 0x80000000
jne 0x42fc94
test ecx, ecx
je 0x42fc94
cmp dword [esi + 0x18], 0
jne 0x42fca2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
cmp byte [esp + 0x174], 0
je 0x42fe51
cmp byte [ebp], 0
je 0x42fe51
cmp dword [esi + 0x1c], 0
je 0x42fe51
xor bl, bl
lea edi, [esi + 0x24]
mov eax, dword [esi + 0x1c]
xor ecx, ecx
mov edx, dword [esi + 0x18]
cmp eax, 0x80000000
push ecx
push ecx
mov byte [esp + 0x40], bl
cmove eax, ecx
push dword [esp + 0x40]
cmp edx, 0x80000000
push ecx
cmove edx, ecx
mov ecx, ebp
push edi
push eax
call fcn.00472b60
add esp, 0x18
mov dword [esi + 0x28], eax
test eax, eax
jne 0x42fd0c
test bl, bl
jne 0x42fe51
mov bl, 1
jmp 0x42fcc9
cmp dword [esi + 0x1c], 0
jl 0x42fd1c
cmp dword [esi + 0x18], 0
jge 0x42fe51
cmp dword [edi], 0
je 0x42fd3f
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x42fe51
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x42fe51
lea ecx, [esp + 0x80]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x42fe34
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
jne 0x42fdb4
mov ecx, dword [esi + 0x18]
test ecx, ecx
jle 0x42fdb4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42fe21
movd xmm1, dword [esp + 0x88]
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4a4238]
cvttsd2si eax, xmm1
mov dword [esi + 0x1c], eax
jmp 0x42fe21
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
jne 0x42fdfe
test eax, eax
jle 0x42fdfe
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x42fe21
movd xmm1, dword [esp + 0x84]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x4a4238]
cvttsd2si eax, xmm1
jmp 0x42fe1e
cmp eax, 0x80000000
jne 0x42fe0f
mov eax, dword [esp + 0x88]
mov dword [esi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x42fe21
mov eax, dword [esp + 0x84]
mov dword [esi + 0x18], eax
cmp dword [esi], 0x80000000
jne 0x42fe34
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*2]
mov dword [esi], eax
cmp dword [edi], 1
jne 0x42fe51
push dword [esp + 0xd4]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push dword [esp + 0xd0]
call ebx
cmp dword [esi], 0x80000000
jne 0x42fe6e
push 0x60
push dword [0x4ae95c]
push 0x12c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
cmp dword [esi + 0x1c], 0x80000000
jne 0x42fe7e
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 4]
mov ecx, 0x1f4
cmp eax, 0x80000000
cmove eax, ecx
push eax
push dword [esi]
lea eax, [esp + 0x68]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x164]
mov ebx, dword [esp + 0x16c]
mov ebp, dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
cmp byte [eax], 0
je 0x42ffd9
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42fede
push 0x48
push dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
neg ecx
jmp 0x42fef4
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4a4258]
cvttsd2si ecx, xmm0
mov eax, dword [esp + 0x58]
mov edi, 0x258
test eax, eax
cmovne edi, eax
cmp byte [ebx], 0
lea eax, [esp + 0xd8]
cmovne eax, ebx
push eax
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ecx
call ebp
mov dword [esi + 0x38], eax
test eax, eax
jne 0x42ff85
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42ff4a
push 0x48
push dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x42ff60
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4a4258]
cvttsd2si eax, xmm0
lea ecx, [esp + 0xd8]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push eax
call ebp
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x38]
test eax, eax
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
cmovne ecx, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
movdqu xmm0, xmmword [esp + 0x60]
mov ecx, dword [esi + 0xc]
push 0x450
movd eax, xmm0
movdqu xmmword [esp + 0x74], xmm0
sub dword [esp + 0x7c], ecx
add eax, ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
push dword [esp + 0x170]
push edi
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
call edi
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x42fff1
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x42fff1
test ebx, ebx
je 0x430074
cmp byte [ebx], 0
lea eax, [esp + 0xd8]
cmovne eax, ebx
mov ebx, dword [esp + 0x4c]
push eax
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push dword [esp + 0x48]
push 0
push 0
push 0
push 0x48
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call ebp
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x430074
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x430043
test edx, edx
je 0x430074
lea ecx, [esp + 0xd8]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push 0x48
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call ebp
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x430082
mov eax, dword [esi + 0x10]
add eax, ecx
jmp 0x430084
xor eax, eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
lea ebx, [eax + ecx]
xor eax, eax
test edx, edx
mov dword [esp + 0x40], ebx
cmovne eax, ecx
add ebx, eax
add ebx, edx
cmp dword [esi + 4], 0x80000000
mov dword [esp + 0x38], ebx
jne 0x430113
mov eax, dword [esp + 0x160]
cmp byte [eax], 0
je 0x430102
mov eax, dword [esi + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
cmovne ecx, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
movdqu xmm0, xmmword [esp + 0x60]
mov ecx, dword [esi + 0xc]
push 0x410
movd eax, xmm0
movdqu xmmword [esp + 0x74], xmm0
sub dword [esp + 0x7c], ecx
add eax, ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
push dword [esp + 0x16c]
push ebp
call edi
jmp 0x430104
xor eax, eax
lea ecx, [eax + ebx]
mov eax, dword [esi + 0x10]
add eax, ecx
mov dword [esi + 4], eax
mov dword [esp + 0x6c], eax
push dword [esp + 0xa0]
mov ebx, dword [esp + 0x54]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x43013f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c
push dword [esp + 0x44]
movdqu xmm0, xmmword [esp + 0x64]
push 0
push dword [esp + 0x20]
lea eax, [esp + 0xc0]
push eax
movdqu xmmword [esp + 0xc4], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0xa4]
mov edi, dword [esp + 0xc0]
sub ebx, dword [esp + 0xb4]
sub edi, dword [esp + 0xb8]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xa4]
sub eax, ebp
mov ecx, dword [esp + 0xb0]
sub ecx, dword [esp + 0xa8]
cmp ebx, eax
cmovg ebx, eax
cmp edi, ecx
cmovg edi, ecx
cmp dword [esp + 0x34], 0x80000000
jne 0x4301d5
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x48]
cmp ebp, 0x80000000
jne 0x4301f3
sub ecx, edi
mov eax, ecx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, dword [esp + 0xa8]
mov ecx, dword [0x4aa1d8]
lea ecx, [ecx + 0x4c]
call fcn.00458b20
test eax, eax
je 0x430212
mov eax, dword [0x4aa1d8]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x430214
xor ecx, ecx
cmp byte [esp + 0x13], 0
je 0x430227
mov eax, dword [0x4ad0e0]
test ecx, ecx
cmovne eax, ecx
jmp 0x430229
xor eax, eax
push 0
push dword [0x4ad120]
push 0
push eax
push edi
push ebx
push ebp
push dword [esp + 0x50]
mov ebp, dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [esp + 0x38]
push dword [esp + 0x78]
push str.AutoHotkey2
push dword [esp + 0x70]
call ebp
mov ecx, eax
mov dword [esi + 0x20], ecx
test ecx, ecx
je 0x430130
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and edx, 0x80000
jne 0x43027a
cmp byte [esp + 0x13], 0
jne 0x4302b9
mov ebx, dword [0x4af004]
test ebx, ebx
je 0x43028b
mov eax, dword [0x4af008]
jmp 0x430296
mov ebx, dword [0x4ad220]
mov eax, dword [0x4ad224]
test edx, edx
je 0x4302a5
push eax
push 0
push 0x80
push ecx
call edi
cmp byte [esp + 0x13], 0
jne 0x4302b9
push ebx
push 1
push 0x80
push dword [esi + 0x20]
call edi
lea eax, [esp + 0x60]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x68]
mov dword [esi + 4], eax
lea eax, [ecx + ecx]
mov dword [esi], ebx
sub ebx, eax
cmp byte [edx], 0
je 0x43032d
push 0
push dword [0x4ad120]
xor eax, eax
cmp byte [esp + 0x1d], al
push 0
push dword [esi + 0x20]
setne al
push dword [esi + 0x14]
or eax, 0x50000080
push ebx
push dword [esi + 0x10]
push ecx
push eax
push edx
push str.static
push 0
call ebp
mov ecx, dword [esi + 0x38]
test ecx, ecx
mov edx, dword [esp + 0x20]
push 1
cmovne edx, ecx
mov dword [esi + 0x30], eax
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x174], 0
jne 0x430426
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x430426
push 0
push 0
push 0
push dword [esi + 0x20]
push eax
push ebx
push dword [esp + 0x58]
push dword [esi + 0xc]
push 0x50000001
push 0
push str.msctls_progress32
push 0x200
call ebp
mov edx, eax
mov dword [esi + 0x2c], edx
test edx, edx
je 0x430426
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x43038a
test ecx, ecx
je 0x4303bd
jmp 0x430396
cmp eax, 0xffffffff
jle 0x4303b3
cmp eax, 0x10000
jge 0x4303b3
cmp ecx, 0xffff
ja 0x4303b3
movzx ecx, cx
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x4303ba
push ecx
push eax
push 0x406
push edx
call edi
cmp dword [esp + 0x5c], 0xff000000
je 0x4303e3
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.00473880
add esp, 4
push dword [esp + 0x5c]
push 0
push 0x409
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x44]
cmp eax, 0xff000000
je 0x4303fa
push eax
push 0
push 0x2001
push dword [esi + 0x2c]
call edi
cmp byte [esp + 0x16], 0
push 0
je 0x430417
push dword [esp + 0x20]
push 0x402
push dword [esi + 0x2c]
call edi
mov eax, dword [esp + 0x1c]
jmp 0x430423
push 0
push 0x408
push dword [esi + 0x2c]
call edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
sub eax, ecx
push 0
push dword [0x4ad120]
push 0
push dword [esi + 0x20]
push eax
push ebx
xor eax, eax
cmp byte [esp + 0x2c], al
push ecx
push dword [esi + 0xc]
setne al
or eax, 0x50000080
push eax
push dword [esp + 0x184]
push str.static
push 0
call ebp
mov dword [esi + 0x34], eax
test eax, eax
je 0x430481
mov ecx, dword [esi + 0x3c]
test ecx, ecx
mov edx, dword [esp + 0x20]
push 1
cmovne edx, ecx
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x17], 0
jmp 0x42f520
push esi
mov ecx, ebp
push 0
push str.Max_window_number_is_10.
call fcn.0042cbc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c