Function at 0x10038df
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x250]
push eax
push ebx
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x250]
mov esi, dword [sym.imp.user32.dll_GetDialogBaseUnits]
mov dword [0x1015d90], eax
mov eax, dword [ebp - 0x244]
sub eax, dword [ebp - 0x24c]
mov dword [0x1015d94], eax
call esi
movzx eax, ax
imul eax, eax, 3
push 4
cdq
pop ecx
idiv ecx
mov dword [0x1015d98], eax
call esi
movzx eax, ax
add eax, eax
push 4
cdq
pop ecx
idiv ecx
mov dword [0x1015d9c], eax
call esi
shr eax, 0x10
imul eax, eax, 0xa
push 8
cdq
pop ecx
idiv ecx
mov dword [0x1015da0], eax
call esi
movzx eax, ax
imul eax, eax, 0xd
push 4
cdq
pop ecx
idiv ecx
mov dword [0x1015da8], eax
call esi
shr eax, 0x10
add eax, eax
push 8
cdq
pop ecx
idiv ecx
mov ecx, 0x1015df0
mov dword [0x1015dac], eax
call fcn.010035b0
mov dword [0x1015d64], ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.user32.dll_GetThreadDesktop]
push 0x2d
mov dword [0x1015d68], eax
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov edi, dword [sym.imp.gdi32.dll_CreateRectRgn]
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [0x1015da4], eax
call edi
push esi
push esi
push esi
push esi
mov dword [0x1015db0], eax
call edi
push 5
mov dword [0x1015db4], eax
call dword [sym.imp.user32.dll_GetSysColor]
push eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
test byte [0x1016090], 4
mov dword [0x1015db8], eax
je 0x1003a02
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.user32.dll_SetWindowPos]
push 0x64
push ebx
push esi
push 0x54000100
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
cmp eax, esi
mov dword [0x1015d6c], eax
jne 0x1003a21
xor eax, eax
jmp 0x1003c68
push esi
call dword [sym.imp.user32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push edi
push esi
mov ebx, eax
call dword [sym.imp.user32.dll_ReleaseDC]
mov ecx, ebx
imul ecx, ecx, 5
mov eax, ecx
cdq
push 4
pop edi
idiv edi
or dword [ebp - 0x234], 0xffffffff
mov dword [ebp - 0x240], ebx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
add edi, ebx
sar eax, 1
add eax, edi
mov dword [ebp - 0x238], eax
mov eax, dword [0x1015d6c]
cmp eax, esi
mov dword [ebp - 0x23c], edi
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, 0x404
je 0x1003a91
lea ecx, [ebp - 0x240]
push ecx
push 4
push ebx
push eax
call edi
push 0x6b
push dword [0x1015d70]
call dword [sym.imp.user32.dll_LoadIconW]
cmp eax, esi
je 0x1003ab0
push eax
push 1
push 0x80
push dword [ebp + 8]
call edi
push esi
push esi
push ebx
push dword [0x1015d88]
call dword [sym.imp.user32.dll_PostThreadMessageW]
push 0x1b
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [0x1015d6c]
call dword [sym.imp.user32.dll_SetWindowPos]
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetDlgItem]
cmp dword [0x1015dc0], esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], esi
jle 0x1003ba0
mov ebx, dword [ebp - 0x210]
push dword [ebp - 0x214]
lea ebx, [ebx*4 + 0x1015dc4]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x1003b7a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ebx, 0x104
push ebx
lea edx, [ebp - 0x20c]
push edx
call dword [eax + 0x10]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x230], 1
push 0x133e
push dword [ebp - 0x214]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
call edi
jmp 0x1003b88
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
inc dword [ebp - 0x210]
mov eax, dword [ebp - 0x210]
cmp eax, dword [0x1015dc0]
jl 0x1003af9
call fcn.01002766
mov eax, dword [0x1015e10]
cmp eax, esi
jl 0x1003bb6
cmp eax, dword [0x1015dc0]
jl 0x1003bbd
xor eax, eax
mov dword [0x1015e10], eax
push esi
push eax
push 0x130c
push 0x3e8
push dword [0x1015d64]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call edi
mov eax, dword [0x1015e10]
mov ecx, dword [eax*4 + 0x1015dc4]
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
push eax
push esi
push dword [0x1015d64]
call fcn.01002b4c
mov eax, dword [0x1015df4]
cmp eax, esi
je 0x1003c37
push esi
push eax
push esi
push dword [0x1015d64]
call dword [sym.imp.user32.dll_SetTimer]
push dword [0x1015d64]
call fcn.0100381c
cmp byte [0x1015d78], 1
ja 0x1003c65
push dword [0x1015d64]
call dword [sym.imp.user32.dll_GetMenu]
push 1
push 0x9c53
push eax
call dword [sym.imp.user32.dll_EnableMenuItem]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call 0x1011fd4
leave
ret 4