joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497c70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x497c9b
push 8
call fcn.004feb64
mov dword [esp + 0x24], eax
add esp, 4
mov dword [eax], vtable.adobe_ial::HTTPCommunicationAgent.0
mov dword [edi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
mov ecx, dword [edi + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 8]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x497d29
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x497d29
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x497d29
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.004ffa60
mulsd xmm0, qword [0x5cdb60]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.004ffa60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x497d2c
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [eax + 0x10]
push ebx
push str.HTTPCommunicationAgent__Return_Code:__d__response_size___d__time_taken___.2f_ms.
push 4
call fcn.00494940
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49fb80
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592820
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov edi, dword [0x60b2e0]
mov eax, 7
xor ecx, ecx
mov esi, dword [edi]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
cmp esi, edi
je 0x49fc85
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x49fbfb
mov ecx, dword [ecx]
lea edx, [ebp - 0x40]
call fcn.0049f750
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ca80
push 2
push 0x5ccf98
lea ecx, [ebp - 0x28]
call fcn.0044c3c0
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x49fc2d
mov ecx, dword [ecx]
lea edx, [ebp - 0x40]
call fcn.0049f750
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044cba0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call ebx
lea ecx, [ebp - 0x44]
call fcn.0044cce0
mov esi, dword [ebp - 0x44]
cmp esi, edi
jne 0x49fbf0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x49fc82
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044c9a0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp eax, 8
jb 0x49fcab
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044c9a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret

Function at 0x4a3440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 0xc
test edx, edx
je 0x4a34c8
push ebx
push esi
mov ecx, 0x5c3323
mov byte [edx], 0xda
sub ecx, edx
mov dword [ebp - 4], 0x33
push edi
mov dword [ebp - 8], ecx
lea eax, [edx + 1]
mov esi, 0x5c3320
mov edi, 0x5c3321
mov ebx, 0x5c3322
mov ecx, 0x5c3324
sub esi, edx
sub edi, edx
sub ebx, edx
sub ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [esi + eax]
lea eax, [eax + 5]
xor cl, byte [edx]
mov byte [eax - 5], cl
movzx ecx, byte [edi + eax - 5]
xor cl, byte [edx]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 3], cl
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
sub dword [ebp - 4], 1
mov byte [eax - 1], cl
jne 0x4a3485
pop edi
pop esi
pop ebx
mov eax, 0x100
mov esp, ebp
pop ebp
ret
Function at 0x4a3530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004ff5a0
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ecx
push 0
push eax
test esi, esi
jne 0x4a35bd
lea eax, [ebp - 0x1008]
push 0xffd
push eax
call fcn.00442a20
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0051192d
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x4a3590
lea eax, [ebp + eax - 0x1008]
jmp 0x4a3598
cmp eax, 0xffffffff
jne 0x4a35d6
lea eax, [ebp - 0xb]
mov word [eax], 0xa0d
mov byte [eax + 2], 0
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
ret
push esi
call fcn.00442a20
push dword [eax + 4]
push dword [eax]
call fcn.005117f1
push esi
call fcn.00519bec
add esp, 0x1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004feb45
mov esp, ebp
pop ebp
ret

Function at 0x4ab5a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
invalid
invalid
Function at 0x4addef
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ade28
cmp dword [ebp + 0x10], 0
je 0x4ade28
cmp dword [ebp + 0x14], 0
je 0x4ade28
cmp dword [ebp + 0x18], 0
je 0x4ade28
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.004aeed9
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4ade2d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ade5d
cmp dword [ebp + 0x10], 0
je 0x4ade5d
cmp dword [ebp + 0x14], 0
je 0x4ade5d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.004aed04
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4ade62
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ade89
cmp dword [ebp + 0x10], 0
je 0x4ade89
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.004aed04
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x4ae98d
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x593d18
call fcn.004ff627
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x30]
push eax
lea esi, [edi + 0x18]
push esi
call fcn.004af2ba
add esp, 0xc
test al, al
jne 0x4ae9cd
push 0xa
pop esi
jmp 0x4aeb17
lea eax, [ebp - 0x28]
push eax
call fcn.004af220
pop ecx
test al, al
jne 0x4aea02
lea eax, [ebp - 0x28]
push eax
call fcn.004af3b4
pop ecx
test al, al
je 0x4ae9f1
xor esi, esi
inc esi
jmp 0x4aeb17
push esi
call fcn.004ae7f5
mov esi, eax
pop ecx
test esi, esi
jne 0x4aeb17
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea esi, [edi + 4]
push esi
push eax
call fcn.004b5020
add esp, 0x10
test eax, eax
je 0x4aea32
push eax
mov dword [esi], ebx
call fcn.004ae86f
pop ecx
mov esi, eax
jmp 0x4aeb17
push 0x7d0
push dword [esi]
call fcn.004b3c7e
cmp byte [edi + 0x4c], 0
mov esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x4aeb17
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
sub eax, ebx
je 0x4aea7f
sub eax, 1
je 0x4aea7a
sub eax, 1
jne 0x4aea7f
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 1
push 3
jmp 0x4aea81
xor ebx, ebx
inc ebx
jmp 0x4aea82
push 2
pop ebx
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.004aeed9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4aeaca
push dword [ebp - 0x34]
call fcn.005128fc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push edi
call fcn.004aeed9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4aeaca
push dword [ebp - 0x34]
call fcn.005128fc
pop ecx
jmp 0x4aeacd
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jge 0x4aead6
push 0xd
pop esi
jmp 0x4aeb0e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jg 0x4aeb0a
push eax
mov ecx, edi
call fcn.004aeb2c
mov esi, eax
test esi, esi
jne 0x4aeaff
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jle 0x4aeae4
jmp 0x4aeb15
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
cmove esi, ecx
test esi, esi
je 0x4aeb15
mov ecx, edi
call fcn.004ae95f
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00445b90
mov eax, esi
call fcn.004ff5e2
ret 4

Function at 0x4aeff5
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x593f98
call fcn.004ff627
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 4
pop edi
push esi
push eax
call fcn.004fa8ee
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004af3b4
add esp, 0xc
test al, al
jne 0x4af03d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044c200
mov eax, edi
call fcn.004ff5e2
ret
Function at 0x4af050
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x593fc8
call fcn.004ff627
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x4af0f5
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4af0e5
cmp word [ebp - 0x218], 0
jne 0x4af0c3
xor eax, eax
jmp 0x4af0d0
lea eax, [ebp - 0x218]
push eax
call fcn.0051dd59
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044c2c0
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x4af135
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4af135
cmp word [ebp - 0x218], di
jne 0x4af113
mov eax, edi
jmp 0x4af120
lea eax, [ebp - 0x218]
push eax
call fcn.0051dd59
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044c2c0
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4af1ab
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4af16b
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.004af804
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004fa9a6
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0044c4f0
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.00445b90
mov edi, 0x59e55c
push edi
call fcn.0051dbf0
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00445bf0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0044c200
mov al, bl
call fcn.004ff5e2
ret

Function at 0x4af1c2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004fa8ee
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4af201
test al, 0x10
jbe 0x4af201
mov bl, 1
jmp 0x4af203
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0044c200
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004feb45
mov esp, ebp
pop ebp
ret
Function at 0x4af3b4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004fa8ee
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044c200
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004feb45
mov esp, ebp
pop ebp
ret

Function at 0x4d6471
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4d6486
xor eax, eax
jmp 0x4d6565
push ebx
mov ebx, dword [ebp + 8]
push edi
push 8
push ebx
call fcn.004d2d5a
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
pop ecx
test edi, edi
je 0x4d64d1
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x4d64b5
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x4d64b5
add eax, eax
cmp eax, dword [esi]
jl 0x4d64af
imul eax, eax, 0x18
push eax
push ebx
call fcn.004d2d5a
mov dword [edi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x4d64d8
push edi
push ebx
call fcn.004d2cfd
pop ecx
pop ecx
xor eax, eax
jmp 0x4d6563
and dword [ebp - 8], 0
cmp dword [esi], 0
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
jle 0x4d6561
lea edx, [eax + 0x10]
sub eax, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 0x10]
push dword [ecx]
push ebx
call fcn.004c06fe
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx], eax
push dword [ecx + 4]
push ebx
call fcn.004d2f44
mov ecx, dword [ebp - 4]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.004d2f44
mov edx, dword [ebp - 4]
add esp, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [edx - 8], eax
mov al, byte [ecx + 0xc]
and dword [edx], 0xfffffffe
mov byte [edx - 4], al
mov eax, dword [ecx + 0x10]
xor eax, dword [edx]
and eax, 2
xor dword [edx], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [edx + 4], eax
add edx, 0x18
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi]
jl 0x4d64f4
mov edi, dword [ebp - 0x10]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f0d8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x4f0dbb
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [eax + 0x59f5d0]
xor edx, ecx
xor edi, edx
inc ebx
dec esi
test esi, esi
jg 0x4f0da1
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4fd580
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594478
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f11e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4fd5ba
mov byte [esi + 0xc], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea edi, [esi + 8]
push edi
push 0x5a6fd4
push 1
push 0
push 0x5a70a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x4fd6bd
cmp dword [edi], 0
je 0x4fd697
push 0x5a6f08
lea ecx, [ebp - 0x10]
call fcn.004fd2c0
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x4fd61b
mov ebx, dword [eax]
jmp 0x4fd61d
xor ebx, ebx
mov ecx, dword [edi]
lea eax, [esi + 4]
push eax
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push ebx
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4fd694
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4fd68d
test edi, edi
je 0x4fd68d
mov eax, dword [edi]
test eax, eax
je 0x4fd66b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4fd682
push eax
call fcn.004feb56
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.005871e3
add esp, 8
mov dword [ebp - 0x10], 0
lea edi, [esi + 8]
test ebx, ebx
js 0x4fd6bd
mov eax, dword [esi + 4]
test eax, eax
je 0x4fd6b9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
jns 0x4fd6f3
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4fd6ca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4fd6d6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x4fd6e2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
mov dword [edi], 0
mov byte [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fddf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
pop ebp
ret
Function at 0x524fd1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00524e50

Function at 0x52a266
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00529bd4

Function at 0x52a271
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00529e0f

Function at 0x531d31
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x549525
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5944e8
call fcn.004ff627
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x549625
cmp byte [ebx + 0x3d], 0
je 0x549625
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x54955f
xor al, al
jmp 0x549627
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0045b3b0
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x5495bd
sub eax, 1
je 0x5495c1
dec eax
sub eax, 1
je 0x549613
xor bl, bl
jmp 0x549615
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x5495f9
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0051e084
add esp, 0x10
cmp esi, eax
jne 0x5495b9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x549613
test esi, esi
jne 0x549583
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00453040
jmp 0x54957d
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00445b90
mov al, bl
jmp 0x549627
mov al, 1
call fcn.004ff5e2
ret
Function at 0x54b94d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.0054b8f2
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x54b9d2
push 1
push esi
call fcn.0054b8f2
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x54b9d5
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x54b9a7
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x54b98f
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x54b9b7
xor eax, eax
test ebx, ebx
sete al
jmp 0x54b9ed
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x54b9d5
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x54b9e8
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x54b9db
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54b9f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push ebx
call fcn.0054b8f2
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x54ba77
push 1
push edi
call fcn.0054b8f2
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x54ba7a
push 1
push esi
call fcn.0054b8f2
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x54ba7d
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x54ba68
mov ecx, edi
mov dword [ebp - 8], edx
mov eax, ebx
sub ecx, esi
sub eax, esi
mov ebx, esi
mov edi, eax
mov eax, dword [ecx + ebx]
xor eax, dword [ebx]
mov dword [edi + ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x54ba4c
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
shl eax, 2
sub ecx, eax
je 0x54ba93
add ebx, eax
add edi, eax
add esi, eax
jmp 0x54ba7d
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x54ba93
sub edi, esi
sub ebx, esi
mov al, byte [esi + edi]
xor al, byte [esi]
mov byte [esi + ebx], al
inc esi
sub ecx, 1
jne 0x54ba85
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret