Function at 0x425d10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cc0a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x60c9c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [esi + 8], ebx
je 0x425d51
cmp dword [esi + 0xe4b0], 1
je 0x425e3f
cmp dword [ebp + 8], 3
je 0x425e3f
mov eax, dword [esi + 0x140]
cmp eax, ebx
jne 0x425e27
push 0x184
call fcn.00432a1f
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x425d8a
push ebx
mov ecx, eax
call fcn.004290c0
jmp 0x425d8c
xor eax, eax
mov dword [esi + 0x140], eax
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0x160]
push 0x6b
mov dword [ebp - 4], 0xffffffff
call eax
mov ecx, dword [esi + 0x140]
push 5
call fcn.0043c911
mov eax, dword [esi + 0x140]
cmp eax, ebx
jne 0x425dc3
xor eax, eax
jmp 0x425dc6
mov eax, dword [eax + 0x20]
push 5
push 0x404
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x140]
cmp ecx, ebx
jne 0x425de9
xor eax, eax
jmp 0x425dec
mov eax, dword [ecx + 0x20]
push ebx
mov dword [esi + 0xe4c8], eax
call fcn.00429060
mov eax, dword [esi + 0x140]
cmp eax, ebx
jne 0x425e14
push ebx
push ebx
xor eax, eax
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x425e3f
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x425e3f
mov eax, dword [eax + 0x20]
push 5
push 0x404
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
push 0x4247e0
push ebx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x425ea2
mov ecx, dword [esi + 0x140]
cmp ecx, ebx
je 0x425e89
push ebx
call fcn.0043c911
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
mov eax, 0x643
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x425eb0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x425f0a
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x425f0a
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x425f0a
mov eax, dword [esi + 0x140]
test eax, eax
je 0x425eeb
mov eax, dword [eax + 0x20]
lea edx, [ebp - 0x3c]
push edx
push eax
call ebx
test eax, eax
jne 0x425f0a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [ebp - 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x425f28
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x425eb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x425f81
cmp eax, 0xbc2
je 0x425f81
push 0
push 0
push 0xa
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push eax
lea ecx, [esi + 0x158]
call fcn.0040deb0
push 0
call fcn.004196e0
add esp, 0x14
push 0
push 0
push 0xb
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ecx
lea ecx, [esi + 0x158]
call fcn.0040deb0
push 0
call fcn.004196e0
add esp, 0x14
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x425fbc
push 0
call fcn.0043c911
mov ecx, dword [esi + 0x140]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x425fb2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x140], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4