Function at 0x10090250
Capabilities:
Create thread
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8a0]
sub esp, 0x8a0
push 0xffffffffffffffff
push 0x101480f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10189710]
xor eax, ebp
mov dword [ebp + 0x89c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, dl
mov eax, dword [ebp + 0x8ac]
mov edi, dword [ebp + 0x8b0]
mov esi, dword [ebp + 0x8b4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
cmp bl, 0x50
jne 0x10090933
lea edx, [ebp + 0x58]
push edx
mov edi, 2
call fcn.1008c6d0
mov eax, dword [ebp + 0x8a8]
push eax
lea ebx, [ebp + 0x58]
mov byte [ebp - 4], 1
call fcn.1008ba00
xor edi, edi
add esp, 4
cmp eax, edi
jg 0x1009032c
cmp esi, edi
je 0x10090302
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._MWD__Failed_to_receive_protocol_version__WSAGetLastError___:__d
push esi
call fcn.10127dc0
add esp, 0xc
mov eax, dword [ebp + 0x64]
cmp eax, edi
je 0x10090312
push eax
call fcn.10128f9e
add esp, 4
mov ecx, dword [ebp + 0x58]
push ecx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edi
call fcn.10128f9e
add esp, 4
jmp 0x10091bb8
lea edx, [ebp - 0x28]
push edx
mov edi, 7
call fcn.1008c6d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x1009034b
call fcn.10128a71
mov ecx, dword [ebp - 0x1c]
mov bl, 0x30
mov byte [ecx], bl
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
cmp edx, 1
ja 0x10090362
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0x31
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
cmp ecx, 2
ja 0x10090379
call fcn.10128a71
mov edx, dword [ebp - 0x1c]
mov byte [edx + 2], bl
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cmp eax, 3
ja 0x1009038f
call fcn.10128a71
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 3], bl
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
cmp edx, 4
ja 0x100903a5
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], 0x31
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
cmp ecx, 5
ja 0x100903bc
call fcn.10128a71
mov edx, dword [ebp - 0x1c]
push 0x103
xor edi, edi
lea eax, [ebp + 0x799]
push edi
push eax
mov byte [edx + 5], bl
mov byte [ebp + 0x798], 0
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x60], 0xff
mov dword [ebp - 0x3c], 1
call fcn.1006b040
cmp eax, 1
mov eax, str.SoftwareWow6432NodeMicroworld
je 0x10090405
mov eax, str.SoftwareMicroworld
lea ecx, [ebp - 0x44]
push ecx
push 0xf003f
push edi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, edi
jne 0x10090447
lea edx, [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x44]
lea eax, [ebp + 0x798]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push edi
push str.EraCId
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x44]
cmp eax, edi
je 0x10090455
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x798]
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], edi
mov byte [ebp + 0x3c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10090470
sub eax, edx
push eax
lea eax, [ebp + 0x798]
push eax
lea ecx, [ebp + 0x38]
call fcn.10009b30
mov eax, 0x101c29cc
mov byte [ebp - 4], 3
call fcn.1008c830
mov eax, dword [0x101c29dc]
mov dword [ebp - 0x3c], eax
cmp dword [0x101c29d8], eax
jbe 0x100904ac
call fcn.10128a71
mov ecx, dword [0x101c29cc]
mov edx, dword [ebp + 0x50]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x3c]
mov eax, ecx
cmp edx, 0x10
jae 0x100904c5
lea eax, [ebp + 0x3c]
mov esi, dword [ebp + 0x4c]
lea edi, [esi + eax]
test edi, edi
je 0x100904ed
mov eax, ecx
cmp edx, 0x10
jae 0x100904d9
lea eax, [ebp + 0x3c]
cmp eax, edi
ja 0x100904ed
mov eax, ecx
cmp edx, 0x10
jae 0x100904e7
lea eax, [ebp + 0x3c]
add esi, eax
cmp edi, esi
jbe 0x100904f8
call fcn.10128a71
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x3c]
lea ebx, [ebp + 0x38]
cmp edx, 0x10
jb 0x10090710
mov esi, ecx
test ecx, ecx
je 0x1009052b
mov eax, ecx
cmp edx, 0x10
jae 0x10090514
lea eax, [ebp + 0x3c]
cmp eax, esi
ja 0x1009052b
mov eax, ecx
cmp edx, 0x10
jae 0x10090522
lea eax, [ebp + 0x3c]
mov edx, dword [ebp + 0x4c]
add eax, edx
cmp esi, eax
jbe 0x10090530
call fcn.10128a71
mov ecx, dword [ebp - 0x64]
push edi
push ebx
push esi
lea eax, [ebp + 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push ecx
mov esi, 0x101c29cc
call fcn.10093410
mov byte [ebp - 4], 2
cmp dword [ebp + 0x50], 0x10
jb 0x1009055f
mov edx, dword [ebp + 0x3c]
push edx
call fcn.10128f9e
add esp, 4
lea eax, [ebp - 0xa0]
push eax
mov edi, 1
call fcn.1008c6d0
mov byte [ebp - 4], 4
mov ebx, dword [0x101c29dc]
sub ebx, dword [0x101c29d8]
lea esi, [ebp - 0xa0]
call fcn.1008b1a0
mov ecx, dword [ebp - 0x90]
sub ecx, dword [ebp - 0x94]
jne 0x1009059e
call fcn.10128a71
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x94]
cmp edx, 6
ja 0x100905b4
call fcn.10128a71
mov al, byte [esi]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 6], al
mov edx, dword [0x101c29dc]
sub edx, dword [0x101c29d8]
je 0x10090641
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x100905d7
call fcn.10128a71
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
push 7
lea ebx, [ebp - 0x48]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
call fcn.1008c880
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [0x101c29dc]
mov dword [ebp - 0x60], ecx
mov ecx, dword [0x101c29d8]
mov dword [ebp - 0x3c], eax
cmp ecx, eax
jbe 0x10090617
call fcn.10128a71
mov eax, dword [0x101c29dc]
mov ecx, dword [0x101c29d8]
mov esi, dword [0x101c29cc]
mov edi, ecx
cmp ecx, eax
jbe 0x10090628
call fcn.10128a71
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x101c29cc]
mov ecx, dword [ebp - 0x60]
push edx
push esi
push edi
push eax
push ecx
push ebx
lea esi, [ebp - 0x28]
call fcn.10093450
mov dword [ebp + 0x88], 0xf
mov dword [ebp + 0x84], 0
mov byte [ebp + 0x74], 0
push 7
push str.client
lea eax, [ebp + 0x70]
mov byte [ebp - 4], 5
call fcn.1000de90
mov esi, dword [ebp - 0x34]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10090674
sub eax, edx
push eax
push esi
lea eax, [ebp + 0x70]
call fcn.1000de90
push 1
push 0x10157e0c
lea eax, [ebp + 0x70]
call fcn.1000de90
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100906a0
sub eax, esi
push eax
push edx
lea eax, [ebp + 0x70]
call fcn.1000de90
push 1
push 0x10156ae0
lea eax, [ebp + 0x70]
call fcn.1000de90
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
jne 0x100906d5
call fcn.10128a71
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x2c], ecx
cmp esi, dword [ebp - 0x18]
jbe 0x100906eb
call fcn.10128a71
mov eax, dword [ebp - 0x28]
mov edi, eax
mov ebx, edi
mov dword [ebp - 0x34], esi
test eax, eax
jne 0x10090718
call fcn.10128a71
xor eax, eax
add esi, 7
cmp esi, dword [eax + 0x10]
ja 0x10090723
test edi, edi
je 0x1009071c
mov edi, dword [edi]
jmp 0x1009071e
lea esi, [ebp + 0x3c]
jmp 0x1009050a
mov eax, dword [eax]
jmp 0x10090700
xor edi, edi
cmp esi, dword [edi + 0xc]
jae 0x10090728
call fcn.10128a71
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
mov dword [ebp - 0x38], ebx
push eax
lea ebx, [ebp - 0x40]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], esi
call fcn.1008c880
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x88]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0x74]
mov eax, edx
cmp ecx, 0x10
jae 0x1009075e
lea eax, [ebp + 0x74]
mov esi, dword [ebp + 0x84]
lea edi, [esi + eax]
test edi, edi
je 0x10090789
mov eax, edx
cmp ecx, 0x10
jae 0x10090775
lea eax, [ebp + 0x74]
cmp eax, edi
ja 0x10090789
mov eax, edx
cmp ecx, 0x10
jae 0x10090783
lea eax, [ebp + 0x74]
add esi, eax
cmp edi, esi
jbe 0x10090797
call fcn.10128a71
mov ecx, dword [ebp + 0x88]
mov edx, dword [ebp + 0x74]
lea ebx, [ebp + 0x70]
cmp ecx, 0x10
jb 0x1009086d
mov esi, edx
test edx, edx
je 0x100907cd
mov eax, edx
cmp ecx, 0x10
jae 0x100907b3
lea eax, [ebp + 0x74]
cmp eax, esi
ja 0x100907cd
mov eax, edx
cmp ecx, 0x10
jae 0x100907c1
lea eax, [ebp + 0x74]
mov ecx, dword [ebp + 0x84]
add ecx, eax
cmp esi, ecx
jbe 0x100907d2
call fcn.10128a71
mov edx, dword [ebp - 0x2c]
push edi
push ebx
push esi
lea eax, [ebp + 0x70]
push eax
mov eax, dword [ebp - 0x30]
push edx
push eax
lea esi, [ebp - 0x28]
call fcn.10093410
mov eax, dword [0x101b7fc8]
xor edi, edi
cmp eax, edi
je 0x10090882
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x10090882
mov edx, dword [ebp + 0x8a8]
mov ecx, esi
push ecx
push 0x50
push edx
call fcn.1008b610
add esp, 0xc
cmp eax, edi
jg 0x10090875
mov esi, dword [ebp - 0x68]
cmp esi, edi
je 0x10090839
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._MWD__Failed_to_send_protocol_and_app_version___WSAGetLastError___:__d
push esi
call fcn.10127dc0
add esp, 0xc
mov eax, dword [0x101b7fc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp + 0x70]
call fcn.100098e0
lea esi, [ebp - 0xa0]
call fcn.10040e60
lea esi, [ebp - 0x28]
call fcn.10040e60
lea esi, [ebp + 0x58]
call fcn.10040e60
jmp 0x10091bb8
lea esi, [ebp + 0x74]
jmp 0x100907a9
mov ecx, dword [0x101b7fc8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp + 0x88], 0x10
jb 0x10090897
mov edx, dword [ebp + 0x74]
push edx
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x88], 0xf
mov dword [ebp + 0x84], edi
mov byte [ebp + 0x74], 0
cmp eax, edi
je 0x100908be
push eax
call fcn.10128f9e
add esp, 4
mov eax, dword [ebp - 0xa0]
push eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
call fcn.10128f9e
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, edi
je 0x100908ef
push eax
call fcn.10128f9e
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.10128f9e
mov eax, dword [ebp + 0x64]
add esp, 4
cmp eax, edi
je 0x10090914
push eax
call fcn.10128f9e
add esp, 4
mov edx, dword [ebp + 0x58]
push edx
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edi
call fcn.10128f9e
add esp, 4
mov eax, 1
jmp 0x10091bba
cmp bl, 0x49
jne 0x10090d47
lea eax, [ebp - 0x28]
push eax
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 6
call fcn.1008bb60
add esp, 4
test eax, eax
jg 0x10090985
test esi, esi
je 0x10090978
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._MWD__Failed_to_receive_command_id__WSAGetLastError___:__d
push esi
call fcn.10127dc0
add esp, 0xc
lea esi, [ebp - 0x28]
call fcn.10040e60
jmp 0x10091bb8
lea edx, [ebp - 0x28]
push 0
push edx
call fcn.1008b2d0
mov edi, eax
mov eax, dword [ebp - 0x1c]
add esp, 8
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x100909a7
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x100909bc
call fcn.10128a71
mov edx, dword [ebp - 0x28]
push edi
push 1
lea ebx, [ebp - 0x40]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
call fcn.1008c880
lea ebx, [ebp - 0x64]
call fcn.1008c880
mov esi, eax
push 1
lea ebx, [ebp - 0x48]
lea eax, [ebp - 0x38]
call fcn.1008c880
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10093490
push eax
mov eax, 0x101c29b4
mov byte [ebp - 4], 7
call fcn.10093310
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.10040e60
lea ecx, [edi + 1]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.1008b2d0
mov ecx, dword [0x101c29dc]
mov dword [ebp - 0x34], eax
mov eax, dword [0x101c29d8]
add esp, 8
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
jbe 0x10090a57
call fcn.10128a71
mov ecx, dword [0x101c29dc]
mov eax, dword [0x101c29d8]
mov esi, dword [0x101c29cc]
mov ebx, eax
cmp eax, ecx
jbe 0x10090a68
call fcn.10128a71
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x101c29cc]
push eax
push esi
push ebx
push ecx
lea esi, [ebp + 0x54]
call fcn.10093510
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090a93
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090aa8
call fcn.10128a71
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push ecx
push edi
push 1
mov dword [ebp - 0x40], eax
push 1
lea ebx, [ebp - 0x64]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], esi
call fcn.1008c880
lea ebx, [ebp - 0x48]
call fcn.1008c880
lea ebx, [ebp - 0xa8]
call fcn.1008c880
lea ebx, [ebp - 0xb0]
call fcn.1008c880
push edi
push 1
mov esi, eax
push 1
lea ebx, [ebp - 0x70]
lea eax, [ebp - 0x40]
call fcn.1008c880
lea ebx, [ebp - 0x5c]
call fcn.1008c880
lea ebx, [ebp - 0x54]
call fcn.1008c880
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10093490
push eax
mov eax, 0x101c29cc
mov byte [ebp - 4], 9
call fcn.10093310
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.10040e60
mov ecx, dword [0x101c29c4]
mov eax, dword [0x101c29c0]
mov ebx, ecx
cmp eax, ecx
jbe 0x10090b5e
call fcn.10128a71
mov ecx, dword [0x101c29c4]
mov eax, dword [0x101c29c0]
mov esi, dword [0x101c29b4]
mov edi, eax
cmp eax, ecx
jbe 0x10090b6f
call fcn.10128a71
mov edx, dword [0x101c29b4]
push ebx
push esi
push edi
push edx
lea esi, [ebp + 0x38]
call fcn.10093510
mov byte [ebp - 4], 0xa
mov ecx, dword [0x101c29dc]
mov eax, dword [0x101c29d8]
mov ebx, ecx
cmp eax, ecx
jbe 0x10090ba6
call fcn.10128a71
mov ecx, dword [0x101c29dc]
mov eax, dword [0x101c29d8]
mov esi, dword [0x101c29cc]
mov edi, eax
cmp eax, ecx
jbe 0x10090bb7
call fcn.10128a71
mov eax, dword [0x101c29cc]
push ebx
push esi
push edi
push eax
lea esi, [ebp + 0x70]
call fcn.10093510
xor ebx, ebx
mov byte [ebp - 4], 0xb
lea esi, [ebx + 0x10]
cmp dword [ebp + 0x8b8], ebx
je 0x10090c02
mov ecx, dword [ebp + 0x74]
cmp dword [ebp + 0x88], esi
jae 0x10090be7
lea ecx, [ebp + 0x74]
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], esi
jae 0x10090bf2
lea eax, [ebp + 0x3c]
push ecx
push eax
push str._MWD__ID_received_from_server:__s__CID:__s_
push ebx
call fcn.1006ed90
add esp, 0x10
cmp dword [ebp + 0x6c], esi
mov esi, dword [ebp + 0x58]
jae 0x10090c0d
lea esi, [ebp + 0x58]
cmp byte [esi], bl
je 0x10090c8e
mov edi, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x74]
cmp edi, 0x10
jae 0x10090c22
lea ecx, [ebp + 0x74]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10090c44
cmp dl, bl
je 0x10090c40
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10090c44
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10090c24
xor eax, eax
jmp 0x10090c49
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10090c8e
mov eax, dword [ebp + 0x74]
cmp edi, 0x10
jae 0x10090c58
lea eax, [ebp + 0x74]
push eax
push esi
push str._MWD___DIFFERENT_CACHED_ID_:_Earlier___s___New___s_
call fcn.10017540
add esp, 0xc
cmp dword [ebp + 0x8b8], ebx
je 0x10090c8e
cmp dword [ebp + 0x88], 0x10
mov eax, dword [ebp + 0x74]
jae 0x10090c7e
lea eax, [ebp + 0x74]
push eax
push esi
push str._MWD___DIFFERENT_CACHED_ID_:_Earlier___s___New___s_
push ebx
call fcn.1006ed90
add esp, 0x10
mov eax, dword [ebp + 0x3c]
mov edi, 0x10
cmp dword [ebp + 0x50], edi
jae 0x10090c9e
lea eax, [ebp + 0x3c]
push eax
push str._MWD__ID_received_from_server:__s
call fcn.10017540
mov eax, dword [ebp + 0x74]
add esp, 8
cmp dword [ebp + 0x88], edi
jae 0x10090cba
lea eax, [ebp + 0x74]
mov esi, dword [ebp - 0x68]
push esi
push eax
call fcn.10091ce0
add esp, 8
cmp eax, ebx
jne 0x10090cd9
push esi
push str._MWD__Failed_to_set_cachedId_:__s
call fcn.10017540
add esp, 8
cmp dword [ebp + 0x88], edi
jb 0x10090ced
mov ecx, dword [ebp + 0x74]
push ecx
call fcn.10128f9e
add esp, 4
mov esi, 0xf
mov dword [ebp + 0x88], esi
mov dword [ebp + 0x84], ebx
mov byte [ebp + 0x74], bl
cmp dword [ebp + 0x50], edi
jb 0x10090d12
mov edx, dword [ebp + 0x3c]
push edx
call fcn.10128f9e
add esp, 4
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x3c], bl
cmp dword [ebp + 0x6c], edi
jb 0x10090d2c
mov eax, dword [ebp + 0x58]
push eax
call fcn.10128f9e
add esp, 4
mov dword [ebp + 0x6c], esi
lea esi, [ebp - 0x28]
mov dword [ebp + 0x68], ebx
mov byte [ebp + 0x58], bl
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x63
jne 0x10090d67
test esi, esi
je 0x10091bb8
push str._MWD__MWAGENT_daemon_with_the_given_connect_ID_is_not_connected_to_the_server
push esi
call fcn.10127dc0
add esp, 8
jmp 0x10091bb8
cmp bl, 0x43
jne 0x10090fef
lea ecx, [ebp - 0x28]
push ecx
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0xc
call fcn.1008bb60
mov eax, dword [ebp - 0x1c]
add esp, 4
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090da1
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov edi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090db6
call fcn.10128a71
mov esi, dword [ebp - 0x28]
push 1
lea ebx, [ebp - 0x54]
lea eax, [ebp - 0x30]
call fcn.1008c880
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
push esi
lea ecx, [ebp + 0x74]
push ecx
call fcn.10093490
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090dee
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090e03
call fcn.10128a71
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
push 2
lea ebx, [ebp - 0x5c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
call fcn.1008c880
mov esi, eax
push 1
lea ebx, [ebp - 0x70]
lea eax, [ebp - 0x38]
call fcn.1008c880
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp + 0x3c]
push eax
call fcn.10093490
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090e55
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090e6a
call fcn.10128a71
mov edx, dword [ebp - 0x28]
push 3
lea ebx, [ebp - 0x54]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
call fcn.1008c880
mov esi, eax
push 2
lea ebx, [ebp - 0xb0]
lea eax, [ebp - 0x38]
call fcn.1008c880
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.10093490
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.1008b230
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090ecf
call fcn.10128a71
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jbe 0x10090ee4
call fcn.10128a71
mov edx, dword [ebp - 0x28]
push edi
push 3
lea ebx, [ebp - 0x5c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
call fcn.1008c880
lea ebx, [ebp - 0x70]
call fcn.1008c880
mov esi, eax
push 3
lea ebx, [ebp - 0xa8]
lea eax, [ebp - 0x38]
call fcn.1008c880
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp + 0x58]
push eax
call fcn.10093490
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x64]
mov ebx, ecx
cmp eax, ecx
jbe 0x10090f47
call fcn.10128a71
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x58]
mov edi, eax
cmp eax, ecx
jbe 0x10090f55
call fcn.10128a71
mov ecx, dword [ebp + 0x58]
push ebx
push esi
push edi
push ecx
lea esi, [ebp + 0x1c]
call fcn.10093510
mov byte [ebp - 4], 0x11
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x10090f74
lea eax, [ebp + 0x20]
push eax
push str._MWD__Connection_accepted_from_server_:__s
call fcn.10017540
add esp, 8
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x10090fb2
mov eax, dword [ebp + 0x8a8]
lea edx, [ebp + 0x58]
push edx
push 0x41
push eax
call fcn.1008b610
mov ecx, dword [0x101b7fc8]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp + 0x1c]
call fcn.100098e0
lea esi, [ebp + 0x58]
call fcn.10040e60
lea esi, [ebp - 0xa0]
call fcn.10040e60
lea esi, [ebp + 0x3c]
call fcn.10040e60
lea esi, [ebp + 0x74]
call fcn.10040e60
lea esi, [ebp - 0x28]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x45
jne 0x10091459
lea edx, [ebp - 0x28]
push edx
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x12
call fcn.1008bb60
add esp, 4
push 0x103
lea ecx, [ebp + 0x695]
push 0
push ecx
mov dword [ebp - 0x44], 0
mov byte [ebp + 0x694], 0
call fcn.1012e060
push 0x103
lea edx, [ebp + 0x591]
push 0
push edx
mov byte [ebp + 0x590], 0
call fcn.1012e060
push 0x103
lea eax, [ebp + 0x48d]
push 0
push eax
mov byte [ebp + 0x48c], 0
call fcn.1012e060
push 0x103
lea ecx, [ebp + 0x799]
push 0
push ecx
mov byte [ebp + 0x798], 0
call fcn.1012e060
add esp, 0x30
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x28]
call fcn.1008c760
lea esi, [ebp - 0x5c]
mov ebx, eax
call fcn.1008c740
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [ebp + 0x70]
call fcn.10093510
mov byte [ebp - 4], 0x13
mov eax, dword [ebp + 0x74]
mov ebx, 0x10
cmp dword [ebp + 0x88], ebx
jae 0x100910cb
lea eax, [ebp + 0x74]
push eax
push str._MWD__MW_Command_received_from_server_:__s
call fcn.10017540
mov eax, dword [ebp + 0x74]
add esp, 8
cmp dword [ebp + 0x88], ebx
jae 0x100910e7
lea eax, [ebp + 0x74]
mov esi, dword [ebp - 0x4c]
push esi
lea ecx, [ebp - 0x44]
push ecx
push eax
lea edx, [ebp + 0x590]
lea ecx, [ebp + 0x798]
call fcn.10092a40
mov edi, 1
add esp, 0xc
cmp eax, edi
jne 0x1009120b
lea eax, [ebp - 0x28]
call fcn.1008c830
cmp dword [ebp - 0x44], edi
jne 0x10091191
lea eax, [ebp + 0x798]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10091127
sub eax, edx
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x28]
mov ebx, eax
call fcn.1008c740
lea edx, [ebp + ebx + 0x799]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [ebp + 0x798]
push ecx
push edx
push eax
mov esi, edi
call fcn.10093550
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x1009143f
mov edx, dword [ebp + 0x8a8]
mov ecx, edi
push ecx
push 0x47
push edx
call fcn.1008b610
mov eax, dword [0x101b7fc8]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1009143f
lea eax, [ebp + 0x590]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100911a0
sub eax, edx
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x28]
mov ebx, eax
call fcn.1008c740
lea ecx, [ebp + ebx + 0x591]
push ecx
mov ecx, dword [eax + 4]
lea edx, [ebp + 0x590]
push edx
mov edx, dword [eax]
push ecx
push edx
mov esi, edi
call fcn.10093550
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x1009143f
mov ecx, dword [ebp + 0x8a8]
mov eax, edi
push eax
push 0x5a
push ecx
call fcn.1008b610
mov edx, dword [0x101b7fc8]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1009143f
mov eax, dword [ebp + 0x74]
cmp dword [ebp + 0x88], ebx
jae 0x10091219
lea eax, [ebp + 0x74]
lea ecx, [ebp + 0x48c]
push ecx
lea edx, [ebp - 0x44]
push edx
push eax
lea edx, [ebp + 0x590]
mov ecx, esi
call fcn.10092da0
add esp, 0xc
cmp eax, edi
jne 0x10091376
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], 0
mov byte [ebp + 0x3c], 0
lea eax, [ebp + 0x58]
push eax
mov byte [ebp - 4], 0x14
call fcn.1008c670
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x44], edi
jne 0x100912e8
lea ecx, [ebp + 0x38]
push ecx
lea edx, [ebp + 0x48c]
call fcn.10014360
lea esi, [ebp - 0x54]
lea edi, [ebp + 0x58]
call fcn.1008c740
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [ebp - 0x5c]
lea eax, [ebp + 0x38]
call fcn.1000ab60
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp + 0x38]
mov esi, eax
call fcn.1000ab20
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push ebx
push edi
lea esi, [ebp + 0x58]
call fcn.10093410
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x10091366
mov ecx, dword [ebp + 0x8a8]
mov eax, esi
push eax
push 0x4e
push ecx
call fcn.1008b610
mov edx, dword [0x101b7fc8]
add esp, 0xc
push edx
jmp 0x10091360
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp + 0x590]
call fcn.10014360
lea esi, [ebp - 0x54]
lea edi, [ebp + 0x58]
call fcn.1008c740
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [ebp - 0x5c]
lea eax, [ebp + 0x38]
call fcn.1000ab60
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp + 0x38]
mov esi, eax
call fcn.1000ab20
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebx
push edi
lea esi, [ebp + 0x58]
call fcn.10093410
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x10091366
mov edx, dword [ebp + 0x8a8]
mov ecx, esi
push ecx
push 0x5a
push edx
call fcn.1008b610
mov eax, dword [0x101b7fc8]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea esi, [ebp + 0x58]
call fcn.10040e60
lea ecx, [ebp + 0x38]
jmp 0x1009143a
mov eax, dword [ebp + 0x74]
cmp dword [ebp + 0x88], ebx
jae 0x10091384
lea eax, [ebp + 0x74]
lea ecx, [ebp + 0x694]
push ecx
push eax
push 0
push 0
call sym.DNSLIB.dll_SendCmdToAgent
test eax, eax
jne 0x100913ad
lea edx, [ebp + 0x694]
push str._MWD__Failed_to_send_Command_to_Mwagent..
push edx
call fcn.10127dc0
add esp, 8
lea eax, [ebp - 0x28]
call fcn.1008c830
lea eax, [ebp + 0x694]
push eax
lea ecx, [ebp]
call fcn.100098a0
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.1008c740
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [ebp - 0x5c]
lea eax, [ebp]
call fcn.1000ab60
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp]
mov esi, eax
call fcn.1000ab20
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebx
push edi
lea esi, [ebp - 0x28]
call fcn.10093410
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x10091437
mov edx, dword [ebp + 0x8a8]
mov ecx, esi
push ecx
push 0x61
push edx
call fcn.1008b610
mov eax, dword [0x101b7fc8]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp]
call fcn.100098e0
lea ecx, [ebp + 0x70]
call fcn.100098e0
lea esi, [ebp - 0x28]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x46
jne 0x100914c4
lea ecx, [ebp + 0x58]
push ecx
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea edx, [ebp + 0x58]
push edx
mov byte [ebp - 4], 0x17
call fcn.1008bb60
mov esi, eax
add esp, 4
test esi, esi
jle 0x100914b2
cmp dword [0x101b7fcc], 0
je 0x100914b2
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x64]
jne 0x10091499
call fcn.10128a71
mov ecx, dword [0x101b7fcc]
mov edx, dword [ebp + 0x64]
push ecx
add esi, 0xfffffffc
push esi
push 1
push edx
call fcn.1012ad69
add esp, 0x10
lea esi, [ebp + 0x58]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x5a
jne 0x10091566
lea eax, [ebp + 0x58]
push eax
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea ecx, [ebp + 0x58]
push ecx
mov byte [ebp - 4], 0x18
call fcn.1008bb60
mov dword [edi + 4], 1
add esp, 4
lea esi, [ebp - 0x54]
lea edi, [ebp + 0x58]
call fcn.1008c760
lea esi, [ebp - 0x5c]
mov ebx, eax
call fcn.1008c740
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [ebp + 0x1c]
call fcn.10093510
mov byte [ebp - 4], 0x19
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x1009152e
lea eax, [ebp + 0x20]
push eax
push str._MWD__FNACK_recvd_from_server.._err:__s
call fcn.10017540
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x4c]
call fcn.10093290
lea ecx, [ebp + 0x1c]
call fcn.100098e0
lea esi, [ebp + 0x58]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x47
jne 0x1009167b
lea ecx, [ebp + 0x58]
push ecx
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea edx, [ebp + 0x58]
push edx
mov byte [ebp - 4], 0x1a
call fcn.1008bb60
add esp, 4
lea esi, [edi + 8]
push 0x10163160
push esi
call fcn.1012982a
add esp, 8
mov dword [0x101b7fcc], eax
test eax, eax
jne 0x10091657
push str.Failed_to_open_file.._:
lea ecx, [ebp + 0x1c]
call fcn.100098a0
lea eax, [ebp + 0x1c]
push eax
mov edx, esi
mov byte [ebp - 4], 0x1b
call fcn.10014360
lea esi, [ebp - 0x54]
lea eax, [ebp + 0x1c]
call fcn.1000ab60
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp + 0x1c]
mov esi, eax
call fcn.1000ab20
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10093580
mov eax, 0x101b7fc8
mov byte [ebp - 4], 0x1c
call fcn.100736f0
test eax, eax
je 0x1009162b
lea edx, [ebp - 0x88]
push edx
push 0x5a
push ebx
call fcn.1008b610
mov eax, dword [0x101b7fc8]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
call fcn.10093290
lea esi, [ebp - 0x88]
call fcn.10040e60
lea ecx, [ebp + 0x1c]
call fcn.100098e0
lea esi, [ebp + 0x58]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
push edi
push 0
push 0x10092f50
mov dword [edi], ebx
call fcn.10127f7d
add esp, 0xc
lea esi, [ebp + 0x58]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x66
jne 0x10091acb
mov eax, dword [0x101b7fcc]
test eax, eax
je 0x10091b78
push eax
call fcn.10129ad3
add esp, 4
lea ecx, [ebp + 0x58]
push ecx
mov dword [0x101b7fcc], 0
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea edx, [ebp + 0x58]
push edx
mov byte [ebp - 4], 0x1d
call fcn.1008bb60
add esp, 4
lea esi, [ebp - 0x54]
lea edi, [ebp + 0x58]
call fcn.1008c760
lea esi, [ebp - 0x5c]
mov ebx, eax
call fcn.1008c740
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea esi, [ebp + 0x38]
call fcn.10093510
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp + 0x3c]
mov esi, 0x10
cmp dword [ebp + 0x50], esi
jae 0x10091702
lea eax, [ebp + 0x3c]
push eax
push str._MWD__Hash_of_remote_file_:__s
call fcn.10017540
add esp, 8
push 1
call fcn.1012911a
add esp, 4
mov dword [ebp - 0x34], eax
sub esp, 0x1c
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x101b7fd0
call fcn.100098a0
lea edi, [ebp + 0x70]
call fcn.1008a1b0
mov byte [ebp - 4], 0x20
mov eax, dword [ebp + 0x74]
cmp dword [ebp + 0x88], esi
jae 0x1009174d
lea eax, [ebp + 0x74]
push eax
push 0x101b7fd0
push str._MWD__md5_of_local_file__s_:__s
call fcn.10017540
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp dword [ebp + 0x50], esi
jae 0x1009176b
lea eax, [ebp + 0x3c]
mov ecx, dword [ebp + 0x74]
cmp dword [ebp + 0x88], esi
jae 0x10091779
lea ecx, [ebp + 0x74]
call fcn.1005a140
test eax, eax
jne 0x100919f9
mov eax, dword [str.ALLOK]
mov cx, word [0x10170438]
push 0xfe
xor ebx, ebx
lea edx, [ebp + 0x69a]
push ebx
push edx
mov dword [ebp + 0x694], eax
mov word [ebp + 0x698], cx
call fcn.1012e060
add esp, 0xc
lea eax, [ebp + 0x699]
push eax
lea ecx, [ebp + 0x694]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.10093600
push 0x103
lea eax, [ebp + 0x799]
push ebx
mov byte [ebp - 4], 0x21
push eax
mov byte [ebp + 0x798], bl
call fcn.1012e060
push 0x103
lea ecx, [ebp + 0x48d]
push ebx
push ecx
mov byte [ebp + 0x48c], bl
call fcn.1012e060
add esp, 0x18
mov eax, 0x101b7fc8
call fcn.100736f0
test eax, eax
je 0x1009183a
mov eax, dword [ebp + 0x8a8]
lea edx, [ebp - 0x88]
push edx
push 0x61
push eax
call fcn.1008b610
mov ecx, dword [0x101b7fc8]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edi, [ebp + 0x48c]
lea esi, [ebp + 0x798]
call fcn.1008c490
cmp eax, ebx
jne 0x1009185e
mov edx, edi
push edx
push 0x101b7fd0
push str._MWD__Failed_to_extract_file___s___ErrMsg:__s
jmp 0x1009186f
lea eax, [ebp + 0x798]
push eax
push 0x101b7fd0
push str._MWD__File_extracted_successfully___s__in_folder___s_
call fcn.10017540
mov esi, dword [ebp - 0x4c]
add esp, 0xc
cmp dword [esi + 0x110], 1
jne 0x10091a8a
push 0x3ff
lea ecx, [ebp + 0x8d]
push ebx
push ecx
mov byte [ebp + 0x8c], bl
call fcn.1012e060
lea edx, [ebp + 0x798]
push edx
add esi, 0x114
push esi
push str._MWD__CmdLineA:__s___ExtrPath___s_
mov dword [ebp - 0x2c], ebx
call fcn.10017540
add esp, 0x18
push esi
lea ecx, [ebp + 0x798]
mov edx, 0x101704c8
call fcn.10079340
add esp, 4
push 1
push esi
call fcn.100796e0
push esi
push str._MWD__CmdLineB:__s_
call fcn.10017540
lea eax, [ebp - 0x2c]
add esp, 8
push eax
lea edx, [ebp + 0x8c]
mov ecx, esi
call fcn.10063030
add esp, 4
lea ecx, [ebp + 0x8c]
push 0x2e
push ecx
call fcn.10129030
add esp, 8
cmp eax, ebx
je 0x10091959
push str..MSI
push eax
call fcn.10135887
add esp, 8
test eax, eax
jne 0x10091959
push 0x1014d5e3
push 0x101704e0
push esi
call fcn.10064100
push 0x1014d5e3
push str._norestart
push esi
call fcn.10064100
push esi
lea edx, [ebp + 0x8c]
push str.msiexec.exe__qn__norestart__i__s
push edx
call fcn.10127dc0
add esp, 0x24
jmp 0x1009196b
mov ecx, esi
lea edx, [ebp + 0x8c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10091961
lea eax, [ebp + 0x8c]
push eax
push str._MWD__Executing_the_command__:__s
call fcn.10017540
add esp, 8
push ebx
push ebx
push 0xffffffffffffffff
push ebx
push ebx
xor ecx, ecx
lea edx, [ebp + 0x8c]
call fcn.10063a90
mov esi, eax
cmp esi, ebx
jne 0x100919aa
push str._MWD__Command_executed_successfully.
call fcn.10017540
add esp, 4
jmp 0x10091a8a
push 0x103
lea ecx, [ebp + 0x591]
push ebx
push ecx
mov byte [ebp + 0x590], bl
call fcn.1012e060
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [ebp + 0x590]
call fcn.100652a0
mov edx, esi
push edx
push str._MWD__Failed_to_execute_command___s
call fcn.10017540
add esp, 0xc
jmp 0x10091a8a
mov ecx, 0xd
mov esi, str.Hash_of_the_sent_and_received_file_s__do_not_match...
lea edi, [ebp + 0x694]
rep movsd dword es:[edi], dword [esi]
push 0xce
lea eax, [ebp + 0x6ca]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.1012e060
lea eax, [ebp + 0x694]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10091a30
sub eax, edx
lea ecx, [ebp + eax + 0x694]
push ecx
lea edx, [ebp + 0x694]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10093600
mov eax, 0x101b7fc8
mov byte [ebp - 4], 0x22
call fcn.100736f0
test eax, eax
je 0x10091a8a
mov edx, dword [ebp + 0x8a8]
lea ecx, [ebp - 0x88]
push ecx
push 0x5a
push edx
call fcn.1008b610
mov eax, dword [0x101b7fc8]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea esi, [ebp - 0x88]
call fcn.10040e60
mov eax, dword [ebp - 0x4c]
call fcn.10093290
lea ecx, [ebp + 0x70]
call fcn.100098e0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10128f9e
add esp, 4
lea ecx, [ebp + 0x38]
call fcn.100098e0
lea esi, [ebp + 0x58]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
cmp bl, 0x61
jne 0x10091b5f
lea edx, [ebp - 0x88]
push edx
call fcn.1008c670
mov ebx, dword [ebp + 0x8a8]
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x23
call fcn.1008bb60
add esp, 4
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x88]
call fcn.1008c760
lea esi, [ebp - 0x5c]
mov ebx, eax
call fcn.1008c740
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea esi, [ebp]
call fcn.10093510
mov byte [ebp - 4], 0x24
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x10091b37
lea eax, [ebp + 4]
push eax
push str._MWD__ACK_recvd_:__s
call fcn.10017540
add esp, 8
lea ecx, [ebp]
call fcn.100098e0
lea esi, [ebp - 0x88]
call fcn.10040e60
mov eax, 1
jmp 0x10091bba
mov eax, edi
call fcn.10093290
cmp bl, 0x44
jne 0x10091ba2
push str._MWD__Disconnect_msg_received_from_remote_computer..
call fcn.10017540
add esp, 4
mov eax, 1
jmp 0x10091bba
test esi, esi
je 0x10091bb8
movsx eax, bl
push eax
push str._MWD__Unknown_command__c_received___
push esi
call fcn.10127dc0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x89c]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x8a0
mov esp, ebp
pop ebp
ret