Function at 0x430820
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 0x430972
mov ebp, dword [esp + 0x170]
mov edi, dword [esp + 0x15c]
cmp byte [ebp], bl
je 0x43095f
push 0x3a
push ebp
call fcn.00486ac4
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 0x43088a
cmp al, 9
jne 0x43088d
inc esi
jmp 0x430880
test ecx, ecx
je 0x43091b
mov eax, dword [esp + 0x170]
mov ebp, ecx
sub ebp, eax
cmp ebp, 0x20
jae 0x43091b
push ebp
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00488ae0
add esp, 0xc
mov byte [esp + ebp + 0x80], bl
xor edx, edx
lea ecx, [esp + 0x80]
push 0
push 1
push 0
call fcn.00472940
add esp, 0xc
test eax, eax
je 0x43091b
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x4308ec
cmp al, 9
jne 0x4308ef
inc esi
jmp 0x4308e2
cmp byte [esi], bl
lea ecx, [esp + 0x80]
cmove ebp, esi
mov dword [esp + 0x170], ebp
call fcn.0040ee90
mov ebx, eax
dec ebx
js 0x430911
cmp ebx, 0xa
jl 0x43091b
mov ecx, dword [esp + 0x48]
push edi
jmp 0x43196e
push 0x4a09fc
push esi
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x430948
mov ecx, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov byte [esp + 0x14], 1
mov dword [esp + 0x1c], ecx
add esi, 0x4af2d0
jmp 0x4309d4
push str.Show
push esi
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x43095f
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov dword [esp + 0x1c], ecx
add esi, 0x4af2d0
jmp 0x4309d4
mov esi, dword [esp + 0x15c]
push 0x3a
push esi
call fcn.00486ac4
mov edi, eax
add esp, 8
test edi, edi
jne 0x43098e
mov edi, esi
jmp 0x4309a2
mov ecx, esi
call fcn.0040ee90
lea ebx, [eax - 1]
cmp ebx, 9
ja 0x43196b
inc edi
mov al, byte [edi]
cmp al, 0x20
je 0x4309a1
cmp al, 9
je 0x4309a1
push 0x4a09fc
push edi
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x430a1f
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x20]
imul esi, ebx, 0x4c
mov dword [esp + 0x1c], eax
add esi, 0x4af5d0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4309e9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4309e9
mov dword [esi + 0x20], eax
cmp byte [esp + 0x13], 0
je 0x430a6b
mov eax, dword [esi + 0x20]
test eax, eax
je 0x430a0d
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x430a0d
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.004855c8
add esp, 8
test eax, eax
jne 0x430a38
mov byte [esp + 0x13], 1
jmp 0x4309c3
push 0
push 1
push 0
mov edx, 1
mov ecx, edi
call fcn.00472940
add esp, 0xc
test eax, eax
je 0x4309c3
mov ecx, edi
call fcn.0040ee90
mov byte [esp + 0x16], 1
mov byte [esp + 0x15], 1
jmp 0x4309c7
mov bl, byte [esp + 0x14]
mov ebp, dword [esp + 0x170]
test bl, bl
jne 0x430b31
cmp dword [esi + 0x20], 0
je 0x430b31
cmp byte [ebp], bl
jne 0x430b31
cmp byte [esp + 0x15], bl
jne 0x430a9f
cmp byte [edi], bl
jne 0x430b31
cmp byte [esp + 0x174], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x430ad4
cmp byte [esp + 0x16], 0
je 0x430ad4
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 8], ecx
je 0x430ad4
mov eax, dword [esi + 0x2c]
mov dword [esi + 8], ecx
test eax, eax
je 0x430ad4
push 0
push ecx
push 0x402
push eax
call edi
mov eax, dword [esp + 0x164]
cmp byte [eax], 0
je 0x430aef
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x430aef
push eax
push 0
push 0xc
push ecx
call edi
mov eax, dword [esp + 0x160]
cmp byte [eax], 0
je 0x430b05
push eax
push 0
push 0xc
push dword [esi + 0x34]
call edi
mov eax, dword [esp + 0x168]
cmp byte [eax], 0
je 0x430a0d
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 0x430b3f
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 0x430b55
push eax
call ecx
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x430b5f
push eax
call ecx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x430b6d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x430b89
cmp dword [esi + 0x24], 0
push eax
jne 0x430b83
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x430b89
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x4c
push 0
push esi
call fcn.0048fd00
add esp, 0xc
test bl, bl
jne 0x430a0d
mov eax, dword [esp + 0x168]
mov dword [esp + 0x54], eax
cmp byte [eax], bl
jne 0x430bc6
mov eax, dword [0x4b0fa4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x430bbe
cmp byte [eax], bl
jne 0x430bc6
mov dword [esp + 0x54], 0x49e065
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 0x430c4b
mov dword [esi], SysReAllocString
mov dword [esi + 0x1c], CreateStatusWindowA
jmp 0x430c6e
push 0x60
push dword [0x4b094c]
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 0x430ca1
mov ecx, dword [esp + 0x160]
cmp byte [ecx], 0
jne 0x430ca1
test al, al
je 0x430ca1
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
jmp 0x430caf
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], 5
cmp byte [edi], 0
je 0x4310e1
jmp 0x430cc0
movzx ebx, byte [edi]
test ebx, 0xffffff80
jne 0x430cdd
push 2
push ebx
call fcn.0048708c
add esp, 8
test eax, eax
je 0x430cdd
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x430cf3.68
movzx eax, byte [eax + 0x4319c0]
jmp dword [eax*4 + 0x431988]
and dword [esp + 0x44], 0xfffffff7
jmp case.0x430cf3.68
mov ecx, dword [esp + 0x18]
mov al, byte [edi + 1]
and ecx, 0xff3fffff
mov dword [esp + 0x18], ecx
cmp al, 0x31
jne 0x430d28
or ecx, 0x800000
mov dword [esp + 0x18], ecx
jmp case.0x430cf3.68
cmp al, 0x32
jne case.0x430cf3.68
or ecx, 0x400000
mov dword [esp + 0x18], ecx
jmp case.0x430cf3.68
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x430cf3.68
mov edi, eax
mov cl, byte [edi]
call fcn.0040a990
cmp al, 0x42
je 0x430d77
cmp al, 0x54
je 0x430d77
cmp al, 0x57
je 0x430d77
cmp byte [edi], 0x30
setne byte [esp + 0x14]
cmp byte [edi + 1], 0x30
setne byte [esp + 0x15]
jmp case.0x430cf3.70
push 0x1f
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00488ae0
add esp, 0xc
mov byte [esp + 0x9f], 0
mov edx, 0x4a0c84
lea ecx, [esp + 0x80]
call fcn.0040a9c0
test eax, eax
je 0x430dad
mov byte [eax], 0
lea ecx, [esp + 0x80]
call fcn.00473bc0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430e0c
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430dd0
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.004875c0
add esp, 0xc
mov ecx, eax
call fcn.0042fa20
mov ebx, eax
mov cl, byte [edi]
call fcn.0040a990
cmp al, 0x42
je 0x430e33
cmp al, 0x54
je 0x430e2e
cmp al, 0x57
jne 0x430e37
push ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x40], eax
jmp 0x430e37
mov dword [esi + 0x48], ebx
jmp 0x430e37
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430e41
sub ecx, edx
add edi, ecx
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x430cf3.68
mov edi, eax
mov cl, byte [edi]
call fcn.0040a990
cmp al, 0x4d
je 0x430e95
cmp al, 0x53
jne case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
test ecx, ecx
jns case.0x430cf3.68
mov dword [esp + 0x3c], 0
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
jns case.0x430cf3.68
mov dword [esp + 0x30], 0
jmp case.0x430cf3.68
mov ecx, dword [esp + 0x18]
mov al, byte [edi + 1]
and ecx, 0xf7ffffff
mov dword [esp + 0x18], ecx
cmp al, 0x31
jne 0x430edb
or ecx, 0x40000
mov dword [esp + 0x18], ecx
cmp al, 0x32
jne case.0x430cf3.68
or ecx, 0xf0000
mov dword [esp + 0x18], ecx
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a], 1
jmp 0x4310d4
cmp byte [edi + 1], 0
je case.0x430cf3.68
inc edi
mov ecx, edi
call fcn.0040ee90
lea ecx, [edi + 1]
mov dword [esp + 0x2c], eax
push 0x2d
push ecx
call fcn.00486ac4
add esp, 8
test eax, eax
je case.0x430cf3.68
cmp byte [eax + 1], 0
mov edi, eax
je case.0x430cf3.68
lea edi, [eax + 1]
mov ecx, edi
call fcn.0040ee90
mov dword [esp + 0x28], eax
jmp case.0x430cf3.68
mov byte [esp + 0x13], 0
jmp case.0x430cf3.68
cmp byte [edi + 1], 0
lea eax, [edi + 1]
je case.0x430cf3.68
mov edi, eax
mov cl, byte [edi]
call fcn.0040a990
cmp al, 0x4d
je 0x430fd2
cmp al, 0x53
je 0x430fab
push edi
call fcn.00487180
add esp, 4
mov dword [esi], eax
cmp byte [esp + 0x174], 0
jne case.0x430cf3.68
push 0x60
push dword [0x4b094c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jns case.0x430cf3.68
mov dword [esp + 0x24], 0
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov ecx, eax
add esp, 4
mov dword [esp + 0x58], ecx
test ecx, ecx
jns case.0x430cf3.68
mov dword [esp + 0x58], 0
jmp case.0x430cf3.68
push 4
push str.Hide
push edi
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x43101a
mov byte [esp + 0x17], 1
add edi, 3
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
add esp, 4
mov dword [esi + 4], eax
cmp byte [esp + 0x174], 0
jne case.0x430cf3.68
push 0x60
push dword [0x4b094c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 4], eax
jmp case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esp + 0x38], eax
jmp 0x4310d4
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esp + 0x4c], eax
jmp 0x4310d4
cmp byte [edi + 1], 0
je case.0x430cf3.68
mov cl, byte [edi + 1]
inc edi
call fcn.0040a990
movsx eax, al
add eax, 0xffffffbe
cmp eax, 0x17
ja case.0x430cf3.68
movzx eax, byte [eax + 0x4319f0]
jmp dword [eax*4 + 0x4319dc]
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esi + 0x1c], eax
jmp 0x4310d4
cmp byte [esp + 0x174], 0
je case.0x430cf3.68
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esi + 0x18], eax
jmp 0x4310d4
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esi + 0xc], eax
jmp 0x4310d4
lea eax, [edi + 1]
push eax
call fcn.00487180
mov dword [esi + 0x10], eax
add esp, 4
inc edi
cmp byte [edi], 0
jne 0x430cc0
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 0x43116a
cmp ecx, 0x80000000
je 0x43116a
mov eax, dword [esi + 0x18]
cmp eax, 1
jge 0x43116a
cmp eax, 0x80000000
jne 0x431174
test ecx, ecx
je 0x431174
cmp dword [esi + 0x18], 0
jne 0x431182
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
cmp byte [esp + 0x174], 0
je 0x431331
cmp byte [ebp], 0
je 0x431331
cmp dword [esi + 0x1c], 0
je 0x431331
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.00474040
add esp, 0x18
mov dword [esi + 0x28], eax
test eax, eax
jne 0x4311ec
test bl, bl
jne 0x431331
mov bl, 1
jmp 0x4311a9
cmp dword [esi + 0x1c], 0
jl 0x4311fc
cmp dword [esi + 0x18], 0
jge 0x431331
cmp dword [edi], 0
je 0x43121f
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x431331
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x431331
lea ecx, [esp + 0x80]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x431314
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
jne 0x431294
mov ecx, dword [esi + 0x18]
test ecx, ecx
jle 0x431294
mov eax, dword [esp + 0x84]
test eax, eax
je 0x431301
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 [0x4a6628]
cvttsd2si eax, xmm1
mov dword [esi + 0x1c], eax
jmp 0x431301
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
jne 0x4312de
test eax, eax
jle 0x4312de
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x431301
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 [0x4a6628]
cvttsd2si eax, xmm1
jmp 0x4312fe
cmp eax, 0x80000000
jne 0x4312ef
mov eax, dword [esp + 0x88]
mov dword [esi + 0x1c], eax
cmp ecx, 0x80000000
jne 0x431301
mov eax, dword [esp + 0x84]
mov dword [esi + 0x18], eax
cmp dword [esi], 0x80000000
jne 0x431314
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*2]
mov dword [esi], eax
cmp dword [edi], 1
jne 0x431331
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 0x43134e
push 0x60
push dword [0x4b094c]
push 0x12c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
cmp dword [esi + 0x1c], 0x80000000
jne 0x43135e
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 0x4314b9
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4313be
push 0x48
push dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
neg ecx
jmp 0x4313d4
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4a6648]
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 0x431465
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43142a
push 0x48
push dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
jmp 0x431440
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4a6648]
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 0x4314d1
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x4314d1
test ebx, ebx
je 0x431554
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 0x431554
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x431523
test edx, edx
je 0x431554
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 0x431562
mov eax, dword [esi + 0x10]
add eax, ecx
jmp 0x431564
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 0x4315f3
mov eax, dword [esp + 0x160]
cmp byte [eax], 0
je 0x4315e2
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 0x4315e4
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 0x43161f
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 0x4316b5
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 0x4316d3
sub ecx, edi
mov eax, ecx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, dword [esp + 0xa8]
mov ecx, dword [0x4ac1d8]
lea ecx, [ecx + 0x4c]
call fcn.0045a000
test eax, eax
je 0x4316f2
mov eax, dword [0x4ac1d8]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 4]
jmp 0x4316f4
xor ecx, ecx
cmp byte [esp + 0x13], 0
je 0x431707
mov eax, dword [0x4af0ac]
test ecx, ecx
cmovne eax, ecx
jmp 0x431709
xor eax, eax
push 0
push dword [0x4af0ec]
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 0x431610
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and edx, 0x80000
jne 0x43175a
cmp byte [esp + 0x13], 0
jne 0x431799
mov ebx, dword [0x4b0ff4]
test ebx, ebx
je 0x43176b
mov eax, dword [0x4b0ff8]
jmp 0x431776
mov ebx, dword [0x4af1ec]
mov eax, dword [0x4af1f0]
test edx, edx
je 0x431785
push eax
push 0
push 0x80
push ecx
call edi
cmp byte [esp + 0x13], 0
jne 0x431799
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 0x43180d
push 0
push dword [0x4af0ec]
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 0x431906
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x431906
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 0x431906
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x43186a
test ecx, ecx
je 0x43189d
jmp 0x431876
cmp eax, 0xffffffff
jle 0x431893
cmp eax, 0x10000
jge 0x431893
cmp ecx, 0xffff
ja 0x431893
movzx ecx, cx
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x401
jmp 0x43189a
push ecx
push eax
push 0x406
push edx
call edi
cmp dword [esp + 0x5c], 0xff000000
je 0x4318c3
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.00474d60
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 0x4318da
push eax
push 0
push 0x2001
push dword [esi + 0x2c]
call edi
cmp byte [esp + 0x16], 0
push 0
je 0x4318f7
push dword [esp + 0x20]
push 0x402
push dword [esi + 0x2c]
call edi
mov eax, dword [esp + 0x1c]
jmp 0x431903
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 [0x4af0ec]
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 0x431961
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 0x430a00
push esi
mov ecx, ebp
push 0
push str.Max_window_number_is_10.
call fcn.0042e0a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 0x1c