Function at 0x1001521a
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a976
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1002005c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
push 0x3ef
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
xor eax, eax
jne 0x10015277
xor eax, eax
jne 0x10015277
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 0x78], ecx
push 0x3e9
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xbc], eax
xor eax, eax
jne 0x100152ba
xor eax, eax
jne 0x100152ba
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x7c], ecx
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
mov ecx, dword [ebp - 0x134]
call fcn.10015c4b
push 0
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0x1c], eax
push 1
push 0xf060
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0
push 0x800
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x1002126c
lea ecx, [ebp - 0x24]
call fcn.10002a3c
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push 0x90
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0x24]
push 0x90
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x134]
add ecx, 0x48
call fcn.10003b81
mov eax, dword [0x10021290]
mov dword [ebp - 0xc4], eax
push 0
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x73
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 1
push 0x80
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x10021290]
mov dword [ebp - 0xc8], eax
push 0
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x73
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0
push 0x80
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x6c], 0
je 0x10015449
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x134]
call dword [eax + 4]
movzx eax, al
test eax, eax
jne 0x10015449
push 0
mov eax, dword [ebp - 0x134]
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x134]
push 0x100193bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x134]
call dword [eax + 4]
movzx eax, al
test eax, eax
je 0x100154ce
mov eax, dword [0x10021de0]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xd0]
push 0x400
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x3ec
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x100155f6
lea eax, [ebp - 0x68]
push eax
call fcn.10014521
pop ecx
push 0
push 0
push 0x31
push 0x3ec
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
push eax
push 0x3c
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov dword [ebp - 0x58], 0x2bc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x28], eax
push 0
push dword [ebp - 0x28]
push 0x30
push 0x3ec
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x3ec
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x80], eax
push 0
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ee
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], eax
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x88], eax
push 0
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1002126c
lea ecx, [ebp - 0x20]
call fcn.10002a3c
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x134]
call dword [eax + 4]
movzx eax, al
test eax, eax
jne 0x1001588b
lea eax, [ebp - 0x20]
push eax
push 0xa0
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x1001567b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xec], eax
push 0xa0
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0xec]
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa1
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100156d3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xf4], eax
push 0xa1
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x90], eax
push dword [ebp - 0xf4]
push dword [ebp - 0x90]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa2
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x1001572b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xfc], eax
push 0xa2
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x94], eax
push dword [ebp - 0xfc]
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa3
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x10015783
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x104], eax
push 0xa3
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x98], eax
push dword [ebp - 0x104]
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa4
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100157db
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10c], eax
push 0xa4
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x9c], eax
push dword [ebp - 0x10c]
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa5
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x10015833
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x114], eax
push 0xa5
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x114]
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa6
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x1001588b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x11c], eax
push 0xa6
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0x11c]
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x20]
push eax
push 0xa7
call fcn.10015fe3
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x100158e0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x124], eax
push 1
mov eax, dword [ebp - 0x134]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x124]
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
sub eax, 0x10
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
call fcn.10002a85
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.10009868
leave
ret 0x10