Function at 0x435fc4
Capabilities:
Create process on windows
Delete file
Download and write a file
Download url
Get file size
Read file on windows
Receive and write data from server to client
Receive data
Resolve function by parsing pe exports
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x81c
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x41c]
mov byte [esp + 0x1a], cl
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x418]
push 0x5c
push eax
call fcn.00504a54
pop ecx
pop ecx
lea edx, [esp + 0x620]
lea ecx, [eax + 2]
push 2
sub edx, ecx
pop edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, edi
test ax, ax
jne 0x43600e
lea eax, [esp + 0x620]
push 0x2e
push eax
call fcn.00504a54
xor ecx, ecx
push 0x5c
mov word [eax], cx
lea eax, [esp + 0x424]
push eax
call fcn.00504a54
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
lea ecx, [esp + 0x370]
call fcn.0043adb7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x37c]
call fcn.0043b5fd
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x384]
call fcn.0043c8d5
and dword [esp + 0x14c], 0
lea ecx, [esp + 0x13c]
xor eax, eax
mov dword [esp + 0x150], 7
mov word [esp + 0x13c], ax
lea eax, [esp + 0x418]
push eax
call fcn.0043c2b9
lea eax, [esp + 0x278]
push eax
push str._version
lea edx, [esp + 0x144]
lea ecx, [esp + 0x2c8]
call fcn.0043de86
pop ecx
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.0043ded3
pop ecx
lea ecx, [esp + 0x2c0]
call fcn.0043c274
lea ecx, [esp + 0x13c]
call fcn.0043c274
lea ecx, [esp + 0x278]
call fcn.0043c274
push str.build
lea edx, [esp + 0x834]
lea ecx, [esp + 0x218]
call fcn.0043de19
cmp dword [esp + 0xc0], 8
lea edx, [esp + 0xac]
pop ecx
cmovae edx, dword [esp + 0xa8]
lea ecx, [esp + 0x214]
cmp dword [esp + 0x228], 8
cmovae ecx, dword [esp + 0x214]
xor eax, eax
push eax
push eax
push edx
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [esp + 0xbc], 8
lea eax, [esp + 0xa8]
cmovae eax, dword [esp + 0xa8]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436cf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4361c8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xbc], 8
lea eax, [esp + 0xa8]
cmovae eax, dword [esp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x436cf0
push esi
xor eax, eax
mov dword [esp + 0xec], esi
push ebp
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf4], 7
mov word [esp + 0xe0], ax
call fcn.0043a38c
cmp dword [esp + 0xec], 8
lea ecx, [esp + 0x18]
push esi
push ecx
lea eax, [esp + 0xe0]
mov dword [esp + 0x20], esi
cmovae eax, dword [esp + 0xe0]
push ebp
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
cmp dword [esp + 0xbc], 8
lea eax, [esp + 0xa8]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [esp + 0xa8]
push eax
call ebx
cmp dword [esp + 0x18], ebp
jne 0x436ce4
xor eax, eax
sub esp, 0x18
mov edx, 0x54df48
mov dword [esp + 0x9c], eax
mov ecx, esp
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
call fcn.0043df19
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x9c]
call fcn.0043df52
mov eax, dword [esp + 0xa0]
add esp, 0x18
mov ecx, dword [esp + 0x84]
sub eax, ecx
cdq
push 0x18
pop ebp
idiv ebp
cmp eax, 1
jb 0x436cd8
push 8
lea eax, [ecx + 0x18]
pop ebp
cmp dword [eax + 0x14], ebp
jb 0x4362b7
mov eax, dword [eax]
push eax
call fcn.0051829f
pop ecx
cmp eax, 0xb8c
je 0x436cd6
lea ecx, [esp + 0x84]
call fcn.0043bc40
lea ecx, [esp + 0xd8]
call fcn.0043c274
cmp byte [esp + 0x16], 0
je 0x4362f0
xor edi, edi
inc edi
jmp 0x436cf0
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x384]
call fcn.0043c8d5
and dword [esp + 0x17c], 0
lea ecx, [esp + 0x16c]
xor eax, eax
mov dword [esp + 0x180], 7
push 0x54df58
mov word [esp + 0x170], ax
call fcn.0043c2b9
and dword [esp + 0x164], 0
lea ecx, [esp + 0x154]
xor eax, eax
mov dword [esp + 0x168], 7
mov word [esp + 0x154], ax
lea eax, [esp + 0x418]
push eax
call fcn.0043c2b9
push str..exe
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x174]
push eax
lea edx, [esp + 0x160]
lea ecx, [esp + 0x2fc]
call fcn.0043ded3
pop ecx
mov edx, eax
lea ecx, [esp + 0x2e0]
call fcn.0043ded3
pop ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.0043de86
pop ecx
lea ecx, [esp + 0x2d8]
call fcn.0043c274
lea ecx, [esp + 0x2f0]
call fcn.0043c274
lea ecx, [esp + 0x154]
call fcn.0043c274
lea ecx, [esp + 0x16c]
call fcn.0043c274
lea ecx, [esp + 0x290]
call fcn.0043c274
push str.AeroAdmin
lea edx, [esp + 0x834]
lea ecx, [esp + 0x200]
call fcn.0043de19
cmp dword [esp + 0x34], ebp
lea edx, [esp + 0x20]
pop ecx
cmovae edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1fc]
cmp dword [esp + 0x210], ebp
cmovae ecx, dword [esp + 0x1fc]
xor eax, eax
push eax
push eax
push edx
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [esp + 0x30], ebp
lea eax, [esp + 0x1c]
push 0
cmovae eax, dword [esp + 0x20]
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x436482
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x43649a
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
push 3
pop edi
lea ecx, [esp + 0x1fc]
call fcn.0043c274
lea ecx, [esp + 0x1c]
jmp 0x436ceb
xor eax, eax
mov dword [esp + 0xa4], 0xf
push eax
push ebp
lea ecx, [esp + 0x98]
mov dword [esp + 0xa8], eax
mov byte [esp + 0x98], al
call fcn.0043a4c2
and dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
cmp dword [esp + 0xa4], 0x10
lea eax, [esp + 0x90]
push 0
cmovae eax, dword [esp + 0x94]
push ecx
push ebp
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
cmp dword [esp + 0x34], ebp
je 0x436517
push 3
pop edi
jmp 0x4365b9
and dword [esp + 0x64], 0
lea edx, [esp + 0x54]
lea ecx, [esp + 0x90]
mov dword [esp + 0x68], 0xf
mov byte [esp + 0x54], 0
call fcn.00435e84
test al, al
je 0x4365ad
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
xor eax, eax
push eax
push 0x80
push edi
push eax
push eax
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4365ad
and dword [esp + 0x6c], 0
lea eax, [esp + 0x6c]
cmp dword [esp + 0x68], 0x10
lea ecx, [esp + 0x54]
push 0
cmovae ecx, dword [esp + 0x58]
push eax
push dword [esp + 0x6c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call esi
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x64]
je 0x4365ca
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
push 3
pop edi
lea ecx, [esp + 0x54]
call fcn.0043c446
lea ecx, [esp + 0x90]
call fcn.0043c446
jmp 0x436485
lea eax, [esp + 0x2a8]
push eax
lea ecx, [esp + 0x384]
call fcn.0043c8d5
and dword [esp + 0x1ac], 0
lea ecx, [esp + 0x19c]
push 7
pop ebp
xor eax, eax
mov dword [esp + 0x1b0], ebp
push 0x54df84
mov word [esp + 0x1a0], ax
call fcn.0043c2b9
and dword [esp + 0x194], 0
lea ecx, [esp + 0x184]
xor eax, eax
mov dword [esp + 0x198], ebp
mov word [esp + 0x184], ax
lea eax, [esp + 0x418]
push eax
call fcn.0043c2b9
push str..exe
lea eax, [esp + 0x2ac]
push eax
lea eax, [esp + 0x1a4]
push eax
lea edx, [esp + 0x190]
lea ecx, [esp + 0x32c]
call fcn.0043ded3
pop ecx
mov edx, eax
lea ecx, [esp + 0x310]
call fcn.0043ded3
pop ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0043de86
pop ecx
lea ecx, [esp + 0x308]
call fcn.0043c274
lea ecx, [esp + 0x320]
call fcn.0043c274
lea ecx, [esp + 0x184]
call fcn.0043c274
lea ecx, [esp + 0x19c]
call fcn.0043c274
lea ecx, [esp + 0x2a8]
call fcn.0043c274
push str.updater
lea edx, [esp + 0x834]
lea ecx, [esp + 0x1e8]
call fcn.0043de19
pop ecx
push 8
pop ebp
cmp dword [esp + 0x50], ebp
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1e4]
cmovae edx, dword [esp + 0x3c]
cmp dword [esp + 0x1f8], ebp
cmovae ecx, dword [esp + 0x1e4]
xor eax, eax
push eax
push eax
push edx
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [esp + 0x50], ebp
lea eax, [esp + 0x3c]
push 0
cmovae eax, dword [esp + 0x40]
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x436ca9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x436768
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
call ebx
cmp dword [esp + 0x30], 8
jmp 0x436cad
push 0
push ebp
lea ecx, [esp + 0x98]
call fcn.0043a4c2
cmp dword [esp + 0xa4], 0x10
lea ecx, [esp + 0x34]
push 0
push ecx
lea eax, [esp + 0x98]
cmovae eax, dword [esp + 0x98]
push ebp
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
call ebx
cmp dword [esp + 0x34], ebp
jne 0x43675e
and dword [esp + 0x64], 0
lea eax, [esp + 0x54]
cmp dword [esp + 0x68], 0x10
lea edx, [esp + 0x54]
lea ecx, [esp + 0x90]
cmovae eax, dword [esp + 0x54]
mov byte [eax], 0
call fcn.00435e84
test al, al
je 0x43675e
push 8
pop ebp
cmp dword [esp + 0x50], ebp
lea ecx, [esp + 0x3c]
cmovae ecx, dword [esp + 0x3c]
xor eax, eax
push eax
push 0x80
push edi
push eax
push eax
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x436ca9
and dword [esp + 0x70], 0
lea eax, [esp + 0x70]
cmp dword [esp + 0x68], 0x10
lea ecx, [esp + 0x54]
push 0
cmovae ecx, dword [esp + 0x58]
push eax
push dword [esp + 0x6c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call esi
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x64]
je 0x436873
cmp dword [esp + 0x30], ebp
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
cmp dword [esp + 0x50], ebp
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
jmp 0x436cb6
push 0x38
lea eax, [esp + 0x234]
mov dword [esp + 0x230], 0x3c
push 0
push eax
call fcn.005055e0
xor eax, eax
lea ecx, [esp + 0xcc]
add esp, 0xc
mov dword [esp + 0x238], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0043c3e4
cmp dword [esp + 0xd4], ebp
lea eax, [esp + 0xc0]
push 7
cmovae eax, dword [esp + 0xc4]
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x240], eax
mov esi, 0x54dfa8
mov al, byte [0x5f1f0d]
and dword [esp + 0x1c8], 0
pop edi
mov byte [esp + 0x17], al
xor eax, eax
push esi
mov dword [esp + 0x1cc], edi
mov word [esp + 0x1b8], ax
call fcn.0043c2b9
lea eax, [esp + 0x620]
push esi
push eax
lea edx, [esp + 0x1bc]
lea ecx, [esp + 0x340]
call fcn.0043de86
pop ecx
mov edx, eax
lea ecx, [esp + 0xfc]
call fcn.0043de86
pop ecx
lea ecx, [esp + 0x338]
call fcn.0043c274
lea ecx, [esp + 0x1b4]
call fcn.0043c274
push 0x5de8f4
mov edx, 0x54dfac
lea ecx, [esp + 0x354]
call fcn.0043dfa3
pop ecx
mov ecx, eax
cmp dword [eax + 0x14], ebp
jb 0x436972
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x100]
call fcn.0043d30e
lea ecx, [esp + 0x350]
call fcn.0043c274
cmp byte [0x5f1f19], 0
jne 0x4369a2
cmp byte [esp + 0x17], 0
je 0x436acf
push 0x12
push 0x54dfc8
lea ecx, [esp + 0x100]
call fcn.0043d30e
cmp byte [esp + 0x17], 0
je 0x436acf
mov esi, 0x5ffca8
push esi
call fcn.004ebd68
pop ecx
test eax, eax
je 0x4369d7
push eax
call fcn.004eb791
pop ecx
mov ecx, dword [0x5f1f14]
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0xf4], 0x73
lea ecx, [ecx + 0x40]
call fcn.004424c7
push esi
call fcn.004ebd8d
pop ecx
test eax, eax
je 0x436a0a
push eax
call fcn.004eb791
pop ecx
call fcn.00475abb
xor ebp, ebp
cmp byte [0x5f1f0d], 0
je 0x436a8f
call fcn.004eb5fd
add eax, 0xf4240
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.004ee040
push 0
push 0x3b9aca00
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.00535400
push 0
push 0x3b9aca00
push edx
push eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], edx
call fcn.004ee040
sub edi, eax
lea esi, [esp + 0x110]
mov dword [esp + 0x118], edi
lea eax, [esp + 0x268]
lea edi, [esp + 0x268]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004eb8b6
inc ebp
pop ecx
cmp ebp, 0x64
jl 0x436a11
cmp ebp, 0x64
jne 0x436ac4
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
cmp dword [esp + 0xd4], 8
lea eax, [esp + 0xc0]
cmovae eax, dword [esp + 0xc0]
push eax
call ebx
jmp 0x436c8c
call fcn.00435e1e
push 8
pop ebp
push 7
pop edi
cmp dword [esp + 0x10c], ebp
lea eax, [esp + 0xf8]
mov dword [esp + 0x248], 1
cmovae eax, dword [esp + 0xf8]
and dword [esp + 0x234], 0
mov dword [esp + 0x240], eax
lea eax, [esp + 0x22c]
push eax
mov dword [esp + 0x234], 0x100
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x436c1e
cmp dword [0x5f1f04], 0
jle 0x436c1a
push dword [esp + 0x74]
lea ecx, [esp + 0x1b]
mov byte [esp + 0x1a], 0x66
push ecx
xor eax, eax
lea ecx, [esp + 0x1e]
push ecx
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.00448e16
and dword [esp + 0x134], 0
lea ecx, [esp + 0x124]
xor eax, eax
mov dword [esp + 0x138], edi
push str.fromInterface
mov word [esp + 0x128], ax
call fcn.0043c2b9
and dword [esp + 0x1dc], 0
lea ecx, [esp + 0x1cc]
xor eax, eax
mov dword [esp + 0x1e0], edi
push 0x54de54
mov word [esp + 0x1d0], ax
call fcn.0043c2b9
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x3b]
sub eax, dword [esp + 0x78]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004c6b74
mov ecx, eax
call fcn.004c6cb3
lea ecx, [esp + 0x74]
call fcn.004c6c2a
lea ecx, [esp + 0x1cc]
call fcn.0043c274
lea ecx, [esp + 0x124]
call fcn.0043c274
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x78]
call fcn.0043c24c
push 4
jmp 0x436c8e
cmp dword [esp + 0x30], ebp
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
cmp dword [esp + 0xd4], ebp
lea eax, [esp + 0xc0]
cmovae eax, dword [esp + 0xc0]
push eax
call ebx
cmp byte [esp + 0x17], 0
je 0x436c8c
call fcn.00475a62
push 0x58
call fcn.004ed632
cmp dword [0x5de920], ebp
pop ecx
mov ecx, 0x5de90c
cmovae ecx, dword [0x5de90c]
push ecx
mov ecx, eax
call fcn.004421c1
push ebp
mov dword [0x5f1f14], eax
call fcn.004ed632
mov ecx, eax
call fcn.0043e029
mov dword [0x5f1f10], eax
push 3
pop edi
lea ecx, [esp + 0xf8]
call fcn.0043c274
lea ecx, [esp + 0xc0]
call fcn.0043c274
jmp 0x436cbc
cmp dword [esp + 0x30], ebp
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
call ebx
push 3
pop edi
lea ecx, [esp + 0x1e4]
call fcn.0043c274
lea ecx, [esp + 0x3c]
call fcn.0043c274
jmp 0x4365b0
xor edi, edi
lea ecx, [esp + 0x84]
call fcn.0043bc40
lea ecx, [esp + 0xd8]
call fcn.0043c274
lea ecx, [esp + 0x214]
call fcn.0043c274
lea ecx, [esp + 0xa8]
call fcn.0043c274
lea ecx, [esp + 0x368]
call fcn.00436d2d
lea ecx, [esp + 0x830]
call fcn.0043c274
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret