Function at 0x4045c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x6019e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], esi
movzx eax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [ebx + 0x594], 0
movzx eax, ax
mov dword [ebp - 0x13c], eax
je 0x404634
movzx esi, ax
push esi
push 0x6036b8
call fcn.004010e0
push esi
push str.ProcessCommand__u_..._n
call fcn.004b5060
mov esi, dword [ebp - 0x14c]
add esp, 0x10
mov eax, dword [ebp - 0x13c]
cmp dword [ebx + 0x6ac], 3
je 0x404bf9
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0xcc]
push dword [eax + 0x21c]
call fcn.00562ba0
mov ecx, dword [ebp - 0x13c]
add esp, 4
movzx ecx, cx
mov dword [ebp - 0x14c], eax
sub ecx, 1
je 0x404935
sub ecx, 1
je 0x4046c9
sub ecx, 2
jne 0x404bdd
cmp dword [ebx + 0x594], ecx
je 0x4046a3
push 0x603828
call fcn.004010e0
add esp, 4
push str.Authentication_Complete..._n
call fcn.004b5060
add esp, 4
add dword [ebx + 0x6ac], 2
cmp dword [ebx + 0x6ac], 3
jne 0x404bdd
mov ecx, dword [ebp - 0x148]
mov edx, ebx
call fcn.004042d0
jmp 0x404bdd
cmp esi, 8
jle 0x404bdd
cmp dword [ebx + 0x594], 0
je 0x4046e8
push str.Processing_Authentication_Verification..._n
call fcn.004b5060
add esp, 4
mov eax, 0x10
call fcn.00585720
mov ecx, esp
lea eax, [edi + 4]
mov dword [ebp - 0x13c], ecx
mov dword [ecx], eax
movzx eax, word [edi + 2]
push eax
mov eax, dword [sym.imp.WS2_32.dll_ntohs]
call eax
movzx ecx, ax
mov eax, dword [ebp - 0x13c]
mov edx, ecx
mov word [eax + 4], cx
lea eax, [edi + 4]
mov edi, dword [ebp - 0x13c]
add eax, edx
mov dword [edi + 6], eax
mov eax, esi
sub eax, ecx
sub eax, 4
mov word [edi + 0xa], ax
lea eax, [edx + 4]
cmp esi, eax
jle 0x404bdd
push edx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x140], 0x30
push edi
push eax
mov dword [ebp - 0x144], 0
call fcn.004d0c90
add esp, 0xc
test eax, eax
jne 0x404776
push str.Invalid_server_certificate_r_n
call fcn.004010e0
jmp 0x404bda
lea eax, [ebp - 0x140]
push eax
push 0x62c420
call fcn.004d1cb0
push eax
push dword [ebp - 0x144]
call fcn.004d2aa0
lea esi, [ebx + 0x5d4]
add esp, 0x10
mov ecx, 0x62c420
mov edx, esi
mov edi, 0x2c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4047bb
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4047a8
jmp 0x4047fa
lea eax, [ebp - 0x140]
push eax
push 0x62c420
call fcn.004d1ca0
push eax
push dword [ebp - 0x144]
call fcn.004d2aa0
add esp, 0x10
mov ecx, 0x62c420
mov edx, 0x1c
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x404926
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4047e5
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfc70
mov ecx, dword [ebp - 0x14c]
add esp, 4
mov edx, 0x62d420
call fcn.004adbe0
push 0x30
lea eax, [ebp - 0xe8]
push 0x62d420
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebx + 0x67c]
push 0x30
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebx + 0x64c]
push 0x30
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push 0x62c420
call fcn.004cfc60
push dword [ebp - 0x144]
call fcn.004d3500
add esp, 0xc
mov esi, eax
push esi
call fcn.004d1070
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x13c]
push edi
movzx ecx, word [eax + 0xa]
push ecx
push dword [eax + 6]
push 0x30
push 0x62c420
push 0x2a1
call fcn.004d1600
add esp, 0x18
cmp eax, 1
jne 0x4048e1
mov ecx, dword [ebx + 0x24]
mov edx, 0x6037dc
inc dword [ebx + 0x6ac]
push 0x30
push 0x62d420
push 0x11
call fcn.004b7b00
mov edx, dword [ebp - 0x148]
add esp, 0xc
mov ecx, ebx
call fcn.00404480
jmp 0x404904
push str.Invalid_server_signature_r_n
call fcn.004010e0
add esp, 4
cmp dword [ebx + 0x594], 0
je 0x404904
push str.Invalid_Server_Signature_n
call fcn.004b5060
add esp, 4
push edi
call fcn.004d2bc0
add esp, 4
push esi
call fcn.004d0f60
add esp, 4
push dword [ebp - 0x144]
call fcn.004d0c00
jmp 0x404bda
push str.Server_certificate_mismatch_r_n
call fcn.004010e0
jmp 0x404bda
cmp esi, 0x62
jne 0x404bdd
cmp dword [ebx + 0x594], 0
je 0x40495a
push str.Processing_Authentication_Request..._n
call fcn.004b5060
mov eax, dword [ebp - 0x14c]
add esp, 4
mov edx, 0x62d420
mov ecx, eax
call fcn.004adbe0
lea eax, [edi + 2]
mov ecx, 0x62d420
mov dword [ebp - 0x140], eax
mov edx, eax
mov esi, 0x2c
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404993
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404980
jmp 0x4049c5
mov ecx, dword [ebp - 0x14c]
mov edx, 0x62d420
call fcn.004adc50
mov ecx, 0x62d420
lea edx, [edi + 2]
mov esi, 0x2c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404bba
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4049b0
lea eax, [edi + 0x32]
mov edx, 0x30
push 0x30
lea ecx, [ebx + 0x64c]
push eax
call fcn.00401000
mov esi, dword [sym.imp.WS2_32.dll_htons]
add esp, 8
push 2
call esi
mov word [0x62d420], ax
lea eax, [ebp - 0x13c]
push eax
push dword [ebx + 0x604]
mov dword [ebp - 0x13c], 0x62d424
call fcn.004d0d70
add esp, 8
movzx edi, ax
push edi
call esi
mov word [0x62d422], ax
cmp dword [ebx + 0x608], 0
je 0x404b07
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfc70
add esp, 4
lea eax, [ebp - 0xe8]
push 0x30
push dword [ebp - 0x140]
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebx + 0x64c]
push 0x30
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebx + 0x67c]
push 0x30
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004cfd20
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push 0x62c420
call fcn.004cfc60
push dword [ebx + 0x608]
call fcn.004d1070
add esp, 0xc
movsx esi, di
mov ebx, eax
mov ecx, 0xfffc
sub ecx, esi
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], ecx
push ebx
push eax
lea ecx, [esi + 0x62d424]
push ecx
push 0x30
push 0x62c420
push 0x2a1
call fcn.004d14e0
add esp, 0x18
cmp eax, 1
jne 0x404afc
mov eax, dword [ebp - 0x144]
sub esp, 8
mov ecx, dword [ebp - 0x148]
add eax, 4
add eax, esi
mov edx, 2
push eax
push 0x62d420
call fcn.004b9150
add esp, 0x10
push ebx
call fcn.004d2bc0
jmp 0x404bda
push 0x30
push dword [ebp - 0x140]
mov edx, 0x1000
mov ecx, 0x62c420
call fcn.00401000
lea eax, [ebx + 0x64c]
mov edx, 0xfd0
push 0x30
push eax
mov ecx, 0x62c450
call fcn.00401000
lea eax, [ebx + 0x67c]
mov edx, 0xfa0
push 0x30
push eax
mov ecx, 0x62c480
call fcn.00401000
add esp, 0x18
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x140]
push eax
call fcn.0040cca0
mov dword [ebp - 0x144], eax
test eax, eax
jle 0x404bdd
movsx esi, di
mov edx, 0xfffc
mov edi, dword [ebp - 0x140]
sub edx, esi
push eax
push edi
lea ecx, [esi + 0x62d424]
call fcn.00401000
mov eax, dword [ebp - 0x144]
mov edx, 2
mov ecx, dword [ebp - 0x148]
add eax, 4
add eax, esi
push eax
push 0x62d420
call fcn.004b9150
push edi
call fcn.0058c812
add esp, 0x14
jmp 0x404bdd
push str.Bad_server_certificate_hash_r_n
call fcn.004010e0
add esp, 4
cmp dword [ebx + 0x594], 0
je 0x404bdd
push str.Bad_server_certificate_hash_n
call fcn.004b5060
add esp, 4
mov eax, dword [ebp - 0x14c]
test eax, eax
je case.0x404c8c.15
push eax
call fcn.004d0c00
add esp, 4
jmp case.0x404c8c.15
cmp ax, 0xa
jb case.0x404c8c.15
cmp byte [edi], 0x7b
je 0x40539e
mov ecx, 0x3e8
cmp ax, cx
jae 0x40539e
cmp esi, 4
jl case.0x404c8c.15
movzx eax, word [edi + 2]
push eax
mov eax, dword [sym.imp.WS2_32.dll_ntohs]
call eax
cmp dword [ebx + 0x594], 0
movzx eax, ax
mov dword [ebp - 0x144], eax
je 0x404c77
mov ecx, dword [ebp - 0x13c]
movzx esi, ax
movzx edi, cx
push esi
push edi
push 0x603880
call fcn.004010e0
add esp, 0xc
push esi
push edi
push str.BinaryCommand__u___u_..._n
call fcn.004b5060
mov esi, dword [ebp - 0x14c]
add esp, 0xc
mov edi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x13c]
movzx eax, ax
add eax, 0xfffffff6
cmp eax, 6
ja case.0x404c8c.15
jmp dword [eax*4 + 0x4055b0]
cmp dword [ebx + 0x30], 0
jne case.0x404c8c.15
cmp esi, 0x34
jbe 0x404e34
push 0x400
push 0x6038b8
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x6038c4
push eax
call fcn.004b7d90
add esp, 0xc
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x404cfa
lea edx, [edi + 4]
mov dword [ebp - 0x140], 0x2c
mov ecx, eax
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404cfa
add ecx, 4
add edx, 4
sub dword [ebp - 0x140], 4
jae 0x404ce0
jmp 0x404d82
mov ecx, dword [ebx + 0x24]
lea eax, [esi - 0x34]
push eax
lea eax, [edi + 0x34]
mov dword [ebx + 0x598], 0
push eax
push 0xa
mov edx, 0x6038d0
call fcn.004b7b00
add esp, 0xc
push 0x400
push 0x6038dc
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x6038e8
push eax
call fcn.004b7d90
add esp, 0xc
mov dword [ebp - 0x13c], eax
lea edx, [edi + 4]
mov dword [ebp - 0x140], 0x2c
mov ecx, eax
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404dbb
add ecx, 4
add edx, 4
sub dword [ebp - 0x140], 4
jae 0x404d53
lea eax, [esi - 0x38]
mov ecx, ebx
push eax
lea eax, [edi + 0x38]
push eax
call fcn.00403e80
mov ecx, dword [ebx + 0x24]
add esp, 8
call fcn.004b7f90
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0xb
call esi
push dword [ebp - 0x144]
mov word [0x62d420], ax
call esi
push 0x30
push dword [ebp - 0x13c]
mov edx, 0xfffc
mov word [0x62d422], ax
mov ecx, 0x62d424
call fcn.00401000
push 0x34
jmp 0x404e05
push 0x400
push 0x6038f4
call fcn.0058d536
push eax
mov edx, 0x603900
mov ecx, dword [ebx + 0x24]
call fcn.004b7dc0
add esp, 0xc
mov ecx, ebx
call fcn.00403dd0
push 0xb
mov esi, dword [sym.imp.WS2_32.dll_htons]
call esi
push dword [ebp - 0x144]
mov word [0x62d420], ax
call esi
sub esp, 8
mov word [0x62d422], ax
push 4
mov ecx, dword [ebp - 0x148]
mov edx, 2
push 0x62d420
call fcn.004b9150
add esp, 0x10
lea esp, [ebp - 0x158]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005852a8
mov esp, ebp
pop ebp
ret
cmp esi, 4
jne case.0x404c8c.15
push 0x400
push 0x60390c
call fcn.0058d536
push eax
mov edx, 0x603918
jmp 0x404dd0
push 0x400
push 0x603924
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x603930
push eax
call fcn.004b7d90
add esp, 0xc
mov dword [ebp - 0x140], eax
cmp dword [ebx + 0x30], 0
mov edi, 4
jne case.0x404c8c.15
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0xb
call esi
push dword [ebp - 0x144]
mov word [0x62d420], ax
call esi
mov word [0x62d422], ax
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x404ec1
push 0x30
push eax
lea edx, [edi + 0x2c]
mov ecx, 0x62d424
call fcn.00401000
add esp, 8
mov edi, 0x34
sub esp, 8
push edi
jmp 0x404e05
push str.Server_verified_meshcore...
call fcn.004010e0
add esp, 4
cmp dword [ebx + 0x598], 0
je 0x4050b8
mov ecx, dword [ebx + 8]
call fcn.00414550
mov ecx, dword [ebx + 8]
or edx, 0xffffffff
push 0x603958
call fcn.0040fe40
mov ecx, dword [ebx + 8]
add esp, 4
mov edx, 0xfffffffe
call fcn.00411550
mov edx, dword [ebx + 0x598]
mov ecx, dword [ebx + 8]
call fcn.00415060
mov ecx, dword [ebx + 8]
mov edx, 1
push 0
call fcn.0040e880
mov ecx, dword [ebx + 8]
add esp, 4
call fcn.00415510
push 0x400
push 0x603968
mov dword [ebx + 0x598], 0
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x603974
push 0
push 0
push eax
call fcn.004b7ca0
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x404f7a
push str._meshcore_not_found..._n
call fcn.004010e0
add esp, 4
jmp case.0x404c8c.15
push str._Launching_meshcore..._n
call fcn.004010e0
mov eax, dword [ebx + 0x5a0]
add esp, 4
test eax, eax
je 0x405036
push eax
push str.attachDebugger__webport:__d__wait:_1__.then_function__prt___console.log_Point_Browser_for_Debug_to_port:___prt______n
lea eax, [ebp - 0x108]
push 0xff
push eax
call fcn.00401140
mov dword [ebp - 0x140], eax
add eax, edi
push eax
mov dword [ebp - 0x13c], eax
call fcn.0058db11
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40554a
push dword [ebp - 0x13c]
push 0
push esi
call fcn.00587250
add esp, 0xc
push 0x400
push 0x603a2c
call fcn.0058d536
mov ecx, dword [ebp - 0x140]
mov edx, 0x603a38
push dword [ebp - 0x13c]
add ecx, 0xfffffffc
add ecx, esi
push ecx
mov ecx, dword [ebx + 0x24]
push eax
call fcn.004b7ca0
add esp, 0x14
lea eax, [ebp - 0x108]
lea edx, [edi - 4]
lea ecx, [esi + 4]
push dword [ebp - 0x140]
push eax
call fcn.00401000
mov edi, dword [ebp - 0x13c]
add esp, 8
add edi, 0xfffffffc
jmp 0x405077
push edi
call fcn.0058db11
mov esi, eax
add esp, 4
test esi, esi
je 0x40554a
push edi
push 0
push esi
call fcn.00587250
add esp, 0xc
push 0x400
push 0x603a44
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x603a50
push edi
push esi
push eax
call fcn.004b7ca0
add esp, 0x14
mov ecx, dword [ebx + 8]
lea eax, [edi - 4]
push 0xd
push 0x603a5c
push eax
lea edx, [esi + 4]
call fcn.0049e030
add esp, 0xc
test eax, eax
jne 0x4050a2
mov ecx, dword [ebx + 8]
xor edx, edx
call fcn.0040e7d0
test eax, eax
je 0x4050aa
mov ecx, dword [ebx + 8]
call fcn.00415510
push esi
call fcn.0058c812
add esp, 4
jmp case.0x404c8c.15
push str._meshcore_already_running..._n
call fcn.004010e0
add esp, 4
jmp case.0x404c8c.15
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0xc
call esi
push dword [ebp - 0x144]
mov word [0x62d420], ax
call esi
mov word [0x62d422], ax
cmp dword [ebx + 0x584], 0
push 0x30
je 0x40510c
push 0
push 0x62d424
call fcn.00587250
add esp, 0xc
sub esp, 8
push 0x34
jmp 0x404e05
cmp dword [ebx + 0x588], 0
je 0x40514f
push 0xffff
push 0x62d424
call fcn.00587250
add esp, 0xc
cmp dword [ebx + 0x58c], 0
je 0x405168
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Forcing_Update...
call fcn.004b4f80
add esp, 0xc
sub esp, 8
push 0x34
jmp 0x404e05
lea eax, [ebx + 0x5a4]
mov edx, 0x30
push eax
mov ecx, 0x62d424
call fcn.00401000
add esp, 8
sub esp, 8
push 0x34
jmp 0x404e05
mov ecx, dword [ebx + 0x1c]
mov edx, 0x603aac
call fcn.004035f0
mov dword [ebp - 0x13c], eax
cmp esi, 4
jne 0x4051c4
cmp dword [ebx + 0x58c], 0
je 0x4051ae
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Starting_download...
call fcn.004b4f80
mov eax, dword [ebp - 0x13c]
add esp, 0xc
test eax, eax
je case.0x404c8c.15
push eax
call fcn.00593549
add esp, 4
jmp case.0x404c8c.15
cmp esi, 0x34
jne case.0x404c8c.15
lea edx, [ebp - 0x138]
mov ecx, eax
call fcn.00403f10
test eax, eax
jne 0x405321
lea edx, [edi + 4]
lea ecx, [ebp - 0x138]
lea esi, [eax + 0x2c]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405321
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4051f0
cmp dword [ebx + 0x58c], 0
je 0x405223
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Download_Complete..._Hash_verified
call fcn.004b4f80
add esp, 0xc
cmp dword [ebx + 0x590], 0
je 0x405276
mov edx, dword [ebx + 0x1c]
lea ecx, [ebp - 0x140]
call fcn.004b4770
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
push eax
call fcn.004b4850
add esp, 4
cmp dword [ebx + 0x58c], 0
je 0x40526d
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Overriding_update_with_same_version...
call fcn.004b4f80
add esp, 0xc
cmp dword [ebx + 0x590], 0
jne 0x40527f
cmp dword [ebx + 0x588], 0
je 0x4052d4
push 0x4000
push 0x603b48
call fcn.0058d536
push 0x400
push 0x603b50
mov esi, eax
call fcn.0058d536
mov ecx, dword [ebx + 0x24]
mov edx, 0x603b60
push esi
push 0x603b4c
push eax
call fcn.004b7b00
add esp, 0x1c
cmp dword [ebx + 0x58c], 0
je 0x4052d4
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Disabling_future_updates...
call fcn.004b4f80
add esp, 0xc
cmp dword [ebx + 0x58c], 0
mov dword [ebx + 0x580], 1
je 0x405315
push 1
push str.SelfUpdate____Stopping_Chain___d_
lea eax, [ebp - 0x108]
push 0xff
push eax
call fcn.00401140
push 0
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x108]
call fcn.004b4f80
add esp, 0x1c
mov ecx, dword [ebx]
call fcn.004b02b0
jmp case.0x404c8c.15
cmp dword [ebx + 0x58c], 0
je 0x40533f
push 0
push 0
push 0
xor edx, edx
mov ecx, str.SelfUpdate____Download_Complete..._Hash_FAILED__aborting_update...
call fcn.004b4f80
add esp, 0xc
mov eax, dword [ebp - 0x13c]
test eax, eax
je case.0x404c8c.15
push eax
call fcn.00593549
add esp, 4
jmp case.0x404c8c.15
mov ecx, dword [ebx + 0x1c]
mov edx, 0x603c04
call fcn.004035f0
mov ebx, eax
lea edx, [edi + 4]
add esi, 0xfffffffc
mov ecx, ebx
push esi
call fcn.004ad3b0
test eax, eax
jne 0x405397
nop dword [eax]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
lea edx, [edi + 4]
mov ecx, ebx
call fcn.004ad3b0
test eax, eax
je 0x405380
push 0xe
jmp 0x404de4
push dword [ebx]
push dword [ebx + 8]
call fcn.00402f30
mov ecx, dword [ebx + 8]
or edx, 0xffffffff
push 0x603860
call fcn.0040fe40
mov ecx, dword [ebx + 8]
add esp, 0xc
mov edx, dword [ecx + 0x40]
mov eax, dword [ecx + 0x44]
sub eax, edx
mov dword [ebp - 0x144], edx
sar eax, 3
lea edi, [eax - 2]
cmp edi, eax
jae 0x40559c
lea esi, [eax - 1]
mov dword [ebp - 0x13c], esi
cmp esi, eax
jae 0x40558b
mov eax, edi
mov ecx, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + esi*8]
mov esi, dword [ebp - 0x144]
mov dword [esi + edi*8], eax
mov eax, esi
mov esi, dword [ebp - 0x13c]
mov eax, dword [eax + esi*8 + 4]
mov esi, dword [ebp - 0x144]
mov dword [esi + edi*8 + 4], eax
mov eax, esi
mov esi, dword [ebp - 0x13c]
mov dword [eax + esi*8 + 4], edx
mov edx, str.Command
mov dword [eax + esi*8], ecx
mov ecx, dword [ebx + 8]
call fcn.00414170
mov edi, dword [ebp - 0x140]
mov esi, dword [ebp - 0x14c]
mov ecx, dword [ebx + 8]
cmp byte [edi], 0x7b
jne 0x4054cc
call fcn.00414550
mov ecx, dword [ebx + 8]
or edx, 0xffffffff
push 0x603870
call fcn.0040fe40
mov ecx, dword [ebx + 8]
add esp, 4
or edx, 0xffffffff
push 0x603878
call fcn.0040fe40
mov ecx, dword [ebx + 8]
add esp, 4
mov edx, 0xfffffffd
call fcn.00411550
mov ecx, dword [ebx + 8]
call fcn.004155f0
mov ecx, dword [ebx + 8]
mov edx, edi
push esi
call fcn.004140e0
mov ecx, dword [ebx + 8]
add esp, 4
mov edx, 1
call fcn.0040e7d0
test eax, eax
je 0x4054c5
mov ecx, dword [ebx + 8]
call fcn.00415510
mov ecx, dword [ebx + 8]
mov edx, edi
push esi
call fcn.004140e0
add esp, 4
mov esi, 1
jmp 0x405510
push 3
xor edx, edx
call fcn.00414f10
mov ecx, dword [ebx + 8]
add esp, 4
mov edx, 0xfffffffc
call fcn.00411920
mov ecx, dword [ebx + 8]
mov edx, 0xfffffffc
push esi
push edi
call fcn.0040e670
add esp, 8
mov edx, 0xfffffffc
push 1
push esi
push ecx
mov ecx, dword [ebx + 8]
call fcn.00414c60
add esp, 0xc
mov esi, 2
mov ecx, dword [ebx + 8]
mov edx, 2
push 0
call fcn.0040e880
add esp, 4
test eax, eax
je 0x40553b
mov eax, dword [ebx + 8]
test eax, eax
je 0x40553b
push 0x62b12b
push eax
call fcn.00471950
add esp, 8
mov ecx, dword [ebx + 8]
mov edx, esi
call fcn.004153d0
jmp case.0x404c8c.15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
push 0xffffffffffffffff
push 0x178
mov edx, 0x605594
call fcn.0040d9d0
push 0xfffffffffffffffe
push 0x178
mov edx, 0x605594
call fcn.0040d9d0
nop dword [eax]
xchg ebx, eax
dec esp
inc eax
add byte [eax + 0x4e], dl
inc eax
add dl, cl
push eax
inc eax
add byte [edx + 0x51], dh
inc eax
add byte [ebx + 0x53], bl
inc eax
add byte [0xca00404e], bl
dec esi
inc eax
add ah, cl
int3