Function at 0x403e63
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.00403aef
mov eax, dword [0x42404c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 8], eax
call esi
push eax
push 0xb
call esi
push eax
push 1
mov ebx, 0x80
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push ebx
push dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
mov eax, dword [0x42404c]
push 0
push 0x32
mov dword [ebp - 8], eax
call esi
push eax
push 0x31
call esi
push eax
push 1
mov esi, 0x80
push esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0
push esi
push dword [edi + 4]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x424150]
add eax, 0x10
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x424140]
mov ecx, dword [eax + 8]
and dword [ebp - 4], 0
test ecx, ecx
jle 0x403f21
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
cmp dword [edx], esi
je 0x403f2d
inc dword [ebp - 4]
add dword [ebp - 8], 4
cmp dword [ebp - 4], ecx
jl 0x403f0e
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x403f32
xor esi, esi
jmp 0x403f48
mov edx, dword [ebp - 4]
jmp 0x403f24
test edx, edx
js 0x40410a
cmp edx, ecx
jge 0x40410a
mov eax, dword [eax + 4]
mov esi, dword [eax + edx*4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jne 0x403faf
mov ecx, dword [esi + 4]
lea edx, [ebp - 8]
cmp edx, ecx
jb 0x403f74
lea ecx, [ecx + eax*4]
cmp edx, ecx
jae 0x403f74
push 0x80004005
call fcn.004018e1
test eax, eax
jne 0x403f81
mov dword [ebp - 8], 1
jmp 0x403f92
mov eax, dword [esi + 8]
add eax, eax
mov dword [ebp - 8], eax
js 0x403fc6
cmp eax, 0x1fffffff
ja 0x403fc6
push 4
push dword [ebp - 8]
push dword [esi + 4]
call fcn.0040d6c1
add esp, 0xc
test eax, eax
je 0x403fc6
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea eax, [ecx + eax*4]
test eax, eax
je 0x403fc3
mov ecx, edi
add ecx, 0x20
mov dword [eax], ecx
inc dword [esi + 8]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
jne 0x40401a
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 8]
cmp edx, ecx
jb 0x403fdf
lea ecx, [ecx + eax*4]
cmp edx, ecx
jb 0x403f6a
test eax, eax
jne 0x403fec
mov dword [ebp - 8], 1
jmp 0x403ffd
mov eax, dword [esi + 0x14]
add eax, eax
mov dword [ebp - 8], eax
js 0x404031
cmp eax, 0x1fffffff
ja 0x404031
push 4
push dword [ebp - 8]
push dword [esi + 0x10]
call fcn.0040d6c1
add esp, 0xc
test eax, eax
je 0x404031
mov ecx, dword [ebp - 8]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea eax, [ecx + eax*4]
test eax, eax
je 0x40402e
mov ecx, edi
add ecx, 0x24
mov dword [eax], ecx
inc dword [esi + 0x14]
mov eax, dword [edi + 4]
test eax, eax
je 0x404055
push 4
mov dword [ebp - 0xc], eax
pop eax
mov esi, edi
add esi, 0x28
lea ebx, [ebp - 0xc]
mov word [ebp - 8], ax
call fcn.004050d2
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [edi + 4]
call esi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x3f1
push dword [edi + 4]
call esi
push 0x80
push dword [0x42404c]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push eax
push 0x170
push dword [ebp - 8]
call ebx
push 0x3ee
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Microsoft_Sans_Serif
push 0x20
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push eax
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, edi
push 0x3ed
mov dword [ecx + 0x40], eax
push dword [edi + 4]
call esi
push 1
mov ecx, edi
push dword [ecx + 0x40]
push 0x30
push eax
call ebx
push 0x3ee
push dword [edi + 4]
call esi
push 1
mov ecx, edi
push dword [ecx + 0x40]
push 0x30
push eax
call ebx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]