Function at 0x409340
Capabilities:
Create process on windows
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fd7d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5fcff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
push 4
mov byte [eax + 0x5e0], 1
mov esi, dword [edi]
call fcn.00417cca
add esp, 4
test eax, eax
je 0x409389
mov dword [eax], esi
jmp 0x40938b
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x40c8e0
push 0
push 0
call fcn.0056d656
add esp, 0x18
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x40a656
push 1
mov dword [ebp - 4], 1
lea eax, [ebp - 0x64]
mov ecx, dword [edi]
push 0
add ecx, 0x360
push eax
call fcn.00425dc8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x4093ef
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0x118
sub esp, 0x14
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
lea eax, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409430
sub ecx, dword [ebp - 0x68]
push ecx
push edx
mov ecx, esi
call fcn.00407380
mov byte [ebp - 4], 2
call fcn.00416370
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x30
test al, al
je 0x40983f
mov eax, dword [edi]
push 0x15
lea ecx, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x58]
cmp dword [eax + 0x2ac8], 0
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x409491
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
push eax
push 2
push 0
call fcn.004261f6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4094dc
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4094d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5ae
push ecx
push edx
call fcn.00561389
add esp, 8
mov eax, dword [edi]
push 8
mov byte [ebp - 0x59], 1
mov dword [ebp - 0x68], eax
call fcn.00417cca
add esp, 4
test eax, eax
je 0x409500
lea ecx, [ebp - 0x59]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 4], ecx
jmp 0x409502
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x40c980
push 0
push 0
call fcn.0056d656
add esp, 0x18
mov dword [ebp - 0x70], eax
test eax, eax
je 0x40a5e1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
add eax, 0xd0
push eax
call fcn.00405fa0
mov byte [ebp - 4], 7
mov eax, dword [edi]
push str.E70_V1.
mov eax, dword [eax + 0x2d8]
add eax, 0x118
push eax
call fcn.00563bc0
add esp, 8
mov edx, str.7628_upgrade.exe
test eax, eax
mov ecx, str.7628_upgrade_V1.exe
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406200
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
add eax, 0xd0
push eax
call fcn.00405fa0
push str.System_Firmware.bin
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00406200
mov ecx, dword [edi]
lea eax, [ebp - 0x68]
push 1
push 0
add ecx, 0x360
push eax
call fcn.00425dc8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.0040d940
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4095d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x2710
call esi
cmp byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
je 0x4096cd
nop word [eax + eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x2d8]
cmp byte [eax + 0x118], 0
jne 0x409643
push 0x3e8
call esi
cmp byte [ebp - 0x59], 0
jne 0x409620
jmp 0x4096cd
push 0x64
call esi
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x40965e
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0x118
sub esp, 0x14
mov eax, esp
mov ecx, edx
mov dword [ebp - 0x60], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4096a2
sub ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x60]
push edx
call fcn.00407380
mov byte [ebp - 4], 8
call fcn.00416370
add esp, 0x30
test al, al
jne 0x4096cd
mov byte [ebp - 0x59], al
mov byte [ebp - 0x5a], 1
cmp dword [ebp - 0x6c], 0
je 0x40a5b3
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x6c]
cmp ecx, eax
je 0x40a5ba
push 0
push ecx
push dword [ebp - 0x70]
call fcn.0056249d
add esp, 0xc
test eax, eax
jne 0x40a5c1
cmp byte [ebp - 0x5a], 0
xorps xmm0, xmm0
mov eax, dword [edi]
movlpd qword [ebp - 0x70], xmm0
lea ecx, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x58]
je 0x4099ba
cmp dword [eax + 0x2ac8], 0
push 0x14
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x409743
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
push eax
push 2
push 0
call fcn.004261f6
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40978e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409784
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5c8
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4097cc
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4097c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d7
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x40981e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409814
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d7
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x6c], eax
jne 0x40a5dc
mov eax, dword [edi]
push 0
push 0
push 0x402
push dword [eax + 0x500]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push 0
push 0x21
push 0x402
push dword [eax + 0x580]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push 1
push 1
add ecx, 0x360
push eax
call fcn.00425dc8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.0040d940
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x4098c5
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0x138
sub esp, 0x14
mov eax, esp
mov ecx, edx
mov dword [ebp - 0x68], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409910
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x68]
push edx
call fcn.00407380
mov byte [ebp - 4], 2
call fcn.00416370
add esp, 0x30
test al, al
je 0x409e1f
mov eax, dword [edi]
push 0x15
lea ecx, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x58]
cmp dword [eax + 0x2ac8], 0
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x40996c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
push eax
push 2
push 1
call fcn.004261f6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x409ae5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409adb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5cd
jmp 0x409adb
cmp dword [eax + 0x2ac8], 0
push 0x16
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x4099da
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
push eax
push 2
push 0
call fcn.004261f6
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x409a25
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409a1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d2
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x409a63
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409a59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d7
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x409ab5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409aab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d7
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x6c], eax
jne 0x40a5dc
jmp 0x40a4f4
push ecx
push edx
call fcn.00561389
add esp, 8
mov eax, dword [edi]
push 8
mov byte [ebp - 0x59], 1
mov dword [ebp - 0x60], eax
call fcn.00417cca
add esp, 4
test eax, eax
je 0x409b09
lea ecx, [ebp - 0x59]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], ecx
jmp 0x409b0b
xor eax, eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
push ecx
push 0
push eax
push 0x40ca10
push 0
push 0
call fcn.0056d656
add esp, 0x18
mov dword [ebp - 0x70], eax
test eax, eax
je 0x40a5e1
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
add eax, 0xd0
push eax
call fcn.00405fa0
push str._app_upgrade.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406200
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
add eax, 0xd0
push eax
call fcn.00405fa0
push str.System_App.bin
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00406200
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push 1
push 1
add ecx, 0x360
push eax
call fcn.00425dc8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.0040d940
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call esi
cmp byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
je 0x409cad
nop word [eax + eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x2d8]
cmp byte [eax + 0x138], 0
jne 0x409c23
push 0xc8
call esi
cmp byte [ebp - 0x59], 0
jne 0x409c00
jmp 0x409cad
push 0x64
call esi
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x409c3e
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0x138
sub esp, 0x14
mov eax, esp
mov ecx, edx
mov dword [ebp - 0x68], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c82
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x68]
push edx
call fcn.00407380
mov byte [ebp - 4], 0x13
call fcn.00416370
add esp, 0x30
test al, al
jne 0x409cad
mov byte [ebp - 0x59], al
mov byte [ebp - 0x5a], 1
cmp dword [ebp - 0x6c], 0
je 0x40a5ef
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x6c]
cmp ecx, eax
je 0x40a5f6
push 0
push ecx
push dword [ebp - 0x70]
call fcn.0056249d
add esp, 0xc
test eax, eax
jne 0x40a5fd
cmp byte [ebp - 0x5a], 0
xorps xmm0, xmm0
mov eax, dword [edi]
movlpd qword [ebp - 0x70], xmm0
lea ecx, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x58]
je 0x409f9a
cmp dword [eax + 0x2ac8], 0
push 0x14
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x409d23
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
push eax
push 2
push 1
call fcn.004261f6
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x409d6e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a604
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x409dac
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409da2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x409dfe
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409df4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x6c], eax
jne 0x40a618
mov eax, dword [edi]
push 0
push 0
push 0x402
push dword [eax + 0x500]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push 0
push 0x42
push 0x402
push dword [eax + 0x580]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push 1
push 2
add ecx, 0x360
push eax
call fcn.00425dc8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.0040d940
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x409ea5
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 0x19
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0xf8
sub esp, 0x14
mov eax, esp
mov ecx, edx
mov dword [ebp - 0x68], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409ef0
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x68]
push edx
call fcn.00407380
mov byte [ebp - 4], 2
call fcn.00416370
add esp, 0x30
test al, al
je 0x40a3fe
mov eax, dword [edi]
push 0x15
lea ecx, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x58]
cmp dword [eax + 0x2ac8], 0
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], 8
jb 0x409f4c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
push eax
push 2
push 2
call fcn.004261f6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40a0c5
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a0bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a609
jmp 0x40a0bb
cmp dword [eax + 0x2ac8], 0
push 0x16
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
jb 0x409fba
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
push eax
push 2
push 1
call fcn.004261f6
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40a005
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409ffb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a60e
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40a043
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a039
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40a095
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a08b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x6c], eax
jne 0x40a618
jmp 0x40a4f4
push ecx
push edx
call fcn.00561389
add esp, 8
mov eax, dword [edi]
push 8
mov byte [ebp - 0x59], 1
mov dword [ebp - 0x60], eax
call fcn.00417cca
add esp, 4
test eax, eax
je 0x40a0e9
lea ecx, [ebp - 0x59]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], ecx
jmp 0x40a0eb
xor eax, eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1b
push ecx
push 0
push eax
push 0x40caa0
push 0
push 0
call fcn.0056d656
add esp, 0x18
mov dword [ebp - 0x70], eax
test eax, eax
je 0x40a5e1
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
add eax, 0xd0
push eax
call fcn.00405fa0
push str.can_upgrade.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
call fcn.00406200
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
add eax, 0xd0
push eax
call fcn.00405fa0
push str.pcomm_pro.bin
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
call fcn.00406200
mov ecx, dword [edi]
lea eax, [ebp - 0x60]
push 1
push 2
add ecx, 0x360
push eax
call fcn.00425dc8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
call fcn.0040d940
mov byte [ebp - 4], 0x1e
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a19c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call esi
cmp byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
je 0x40a290
nop word [eax + eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x2d8]
cmp byte [eax + 0x138], 0
je 0x40a278
push 0x64
call esi
mov edx, dword [ebp - 0x64]
cmp dword [edx - 4], 1
jle 0x40a210
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
call fcn.00407e30
mov edx, dword [ebp - 0x64]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push ecx
call fcn.00415b00
mov byte [ebp - 4], 0x20
xorps xmm0, xmm0
mov eax, dword [edi]
mov edx, dword [eax + 0x2d8]
add edx, 0xf8
sub esp, 0x14
mov eax, esp
mov ecx, edx
mov dword [ebp - 0x68], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a254
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x68]
push edx
call fcn.00407380
mov byte [ebp - 4], 0x1e
call fcn.00416370
add esp, 0x30
test al, al
je 0x40a288
push 0x64
call esi
cmp byte [ebp - 0x59], 0
jne 0x40a1e0
jmp 0x40a290
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 1
cmp dword [ebp - 0x6c], 0
je 0x40a61d
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x6c]
cmp ecx, eax
je 0x40a624
push 0
push ecx
push dword [ebp - 0x70]
call fcn.0056249d
add esp, 0xc
test eax, eax
jne 0x40a62b
cmp byte [ebp - 0x5a], 0
lea ecx, [ebp - 0x58]
mov eax, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
lea esi, [eax + 0x360]
mov eax, dword [eax + 0x2d8]
je 0x40a42f
cmp dword [eax + 0x2ac8], 0
push 0x14
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x14], 8
jb 0x40a303
mov eax, dword [eax]
push eax
push 2
push 2
mov ecx, esi
call fcn.004261f6
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40a34d
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a632
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40a38b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40a3dd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x6c], eax
jne 0x40a618
mov eax, dword [edi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x64
push 0x402
push dword [eax + 0x500]
call esi
mov eax, dword [edi]
push 0
push 0x64
push 0x402
push dword [eax + 0x580]
call esi
jmp 0x40a4fa
cmp dword [eax + 0x2ac8], 0
push 0x16
setne dl
call fcn.00401c70
add esp, 4
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 8
jb 0x40a44f
mov eax, dword [eax]
push eax
push 2
push 2
mov ecx, esi
call fcn.004261f6
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40a499
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a48f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a637
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40a4d7
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a4cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a613
push ecx
push edx
call fcn.00561389
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x1c
jmp 0x40a05b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov byte [eax + 0x5e0], 0
cmp dword [ebp - 0x78], 0
je 0x40a63c
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
je 0x40a643
push 0
push ecx
push dword [ebp - 0x7c]
call fcn.0056249d
add esp, 0xc
test eax, eax
jne 0x40a64a
push eax
push eax
mov eax, dword [edi]
xorps xmm0, xmm0
push 0x402
movlpd qword [ebp - 0x7c], xmm0
push dword [eax + 0x500]
call esi
mov eax, dword [edi]
push 0
push 0
push 0x402
push dword [eax + 0x580]
call esi
mov ecx, dword [edi]
push 1
add ecx, 0x2e0
call fcn.0041ff47
mov edx, dword [ebp - 0x64]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a589
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x78], 0
jne 0x40a651
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
push 1
call fcn.005625f4
push 5
call fcn.005625f4
push 2
call fcn.005625f4
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.0056d3b0
push 6
mov dword [ebp - 0x6c], 0
call fcn.005625f4
push 1
call fcn.005625f4
push 5
call fcn.005625f4
push 2
call fcn.005625f4
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.0056d3b0
push 1
call fcn.005625f4
push 5
call fcn.005625f4
push 2
call fcn.005625f4
call fcn.00567a6f
call fcn.00567a6f
push 1
call fcn.005625f4
push 5
call fcn.005625f4
push 2
call fcn.005625f4
call fcn.0056d3b0
push 6
mov dword [ebp - 0x78], 0
call fcn.005625f4
int3