Function at 0x41a000
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439fd9
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push ebp
xor ebx, ebx
push esi
push ebx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
call fcn.00419f00
call fcn.0041a520
lea eax, [esp + 0x48]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41a06c
push 0x2710
push 0x30
push 0x44f3c0
push 0x44f5b0
push ebx
call fcn.00429240
add esp, 0x14
xor eax, eax
jmp 0x41a453
lea ecx, [esp + 0x48]
mov al, 0x45
push ecx
mov byte [esp + 0x20], 0x44
mov byte [esp + 0x21], 0x57
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x43
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x2e
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0x58
mov byte [esp + 0x28], al
mov byte [esp + 0x29], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x48]
push eax
push edx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00431340
add esp, 8
test eax, eax
jne 0x41a0eb
push 0x2710
push 0x30
push 0x44f3c0
push 0x44f578
push ebx
call fcn.00429240
add esp, 0x14
xor eax, eax
jmp 0x41a453
cmp dword [esp + 0x260], ebx
je 0x41a0f9
call fcn.00419a50
lea ecx, [esp + 0x14]
call fcn.00425f40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x258], ebx
cmp eax, ebx
jne 0x41a146
push 0x2710
push 0x10
push 0x44f3c0
push 0x44f550
push ebx
call fcn.00429240
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x258], 0xffffffff
call fcn.00425f60
xor eax, eax
jmp 0x41a453
push 0xf98
call fcn.0043052b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x258], 1
je 0x41a16e
mov ecx, eax
call fcn.0041d5a0
mov ebp, eax
jmp 0x41a170
xor ebp, ebp
mov edx, dword [ebp]
push 0x44f548
mov ecx, ebp
mov byte [esp + 0x25c], bl
call dword [edx + 0xec]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0x7cc], eax
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0xf8]
test eax, eax
jne 0x41a220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x44f524
call fcn.00424580
add esp, 8
call fcn.00423930
test eax, eax
jne 0x41a1d4
call fcn.00423bf0
test eax, eax
jne 0x41a205
cmp dword [0x457304], ebx
jne 0x41a205
push esi
lea ecx, [esp + 0x150]
push 0x44f4f0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x2710
push 0x10
lea edx, [esp + 0x160]
push 0x44f3c0
push edx
push ebx
call fcn.00429240
add esp, 0x20
lea ecx, [esp + 0x14]
mov dword [esp + 0x258], 0xffffffff
call fcn.00425f60
xor eax, eax
jmp 0x41a453
lea eax, [esp + 0x44]
push edi
push eax
push ebx
push ebp
push 0x421ae0
push ebx
push ebx
call fcn.00430fbe
mov esi, eax
add esp, 0x18
cmp esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
je 0x41a268
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
call esi
cmp eax, ebx
je 0x41a2c4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x41a2a0
call edi
push eax
push 0x44f4b8
call fcn.00424580
add esp, 8
jmp 0x41a2b6
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
call esi
cmp eax, ebx
jne 0x41a289
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x41a2d2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, ebx
je 0x41a3ac
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [esp + 0x1c], 0x103
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41a35e
cmp dword [esp + 0x1c], 0x103
jne 0x41a35e
mov edx, dword [0x45b74c]
push 1
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
call edi
test eax, eax
je 0x41a33c
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
call esi
push 0x32
call esi
push ebx
call esi
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x78
mov dword [esp + 0x14], eax
ja 0x41a35e
cmp dword [esp + 0x1c], 0x103
je 0x41a2f2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41a3ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x103
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41a394
cmp dword [esp + 0x14], 0x103
jne 0x41a394
mov edx, dword [esp + 0x10]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
jmp 0x41a3ce
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x45b274], ebx
mov ecx, dword [ebp + 0x1c]
push ecx
call edi
mov edx, dword [ebp + 0x20]
push edx
call edi
push ebx
call esi
push 0x64
call esi
push ebx
call esi
push ebx
call esi
mov eax, dword [0x45b270]
pop edi
cmp eax, ebx
je 0x41a3e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x45b270], ebx
cmp ebp, ebx
je 0x41a3fc
mov ecx, ebp
call fcn.0041d8b0
push ebp
call fcn.0043090e
add esp, 4
mov eax, dword [0x45b278]
mov dword [0x45b74c], ebx
cmp eax, ebx
je 0x41a41e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x45b278], ebx
mov dword [0x45b27c], ebx
mov eax, dword [0x45bb8c]
cmp eax, ebx
je 0x41a434
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
mov dword [0x45bb8c], ebx
call fcn.00429050
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov dword [esp + 0x258], 0xffffffff
call fcn.00425f60
mov eax, esi
mov ecx, dword [esp + 0x250]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret