joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x406243
pop dword [ebp - 0x48]
mov eax, 0x406243
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xed0c50f5
add dword [ebp - 0x58], 0x6145f456
mov dword [ebp - 0x54], 0x2f0be4d6
add dword [ebp - 0x54], 0x327676f
mov dword [ebp - 0x50], 0x50b286a4
add dword [ebp - 0x50], 0xfb99bd8a
mov dword [ebp - 0x4c], 0x67f5f9ba
sub dword [ebp - 0x4c], 0x67f5f9ba
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe9d855a5
sub eax, 0xe997d4a1
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xcc69bb0d
add dword [ebp - 0x58], 0xa808ae49
mov dword [ebp - 0x54], 0x568b1c35
add dword [ebp - 0x54], 0xeae14540
mov dword [ebp - 0x50], 0x9711f02f
sub dword [ebp - 0x50], 0x33a283c3
mov dword [ebp - 0x4c], 0x98923cfe
add dword [ebp - 0x4c], 0x676dc302
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36767
push 0
call eax
mov ecx, 0xf5cb7fbb
sub ecx, 0xf5cb39f9
xor edi, edi
add edi, eax
mov edx, 0x27f0731b
add edx, 0xd85670e5
add edx, dword [ebp - 0x48]
mov esi, 0x17db9c5c
sub esi, 0xda89752b
add dword [ebp - 0x10], edx
mov ebx, dword [edx]
sub dword [ebp - 0x14], edi
xor ebx, esi
sub dword [ebp - 0x18], 0x85d2d97a
mov dword [edi], ebx
mov dword [ebp - 0x2c], 0x8fb54b06
add edi, 0xdde7c39
sub edi, 0xdde7c35
add edx, 4
loop 0x40635d
add eax, 0x572e987c
add eax, 0xa8d2715f
mov ebx, eax
add eax, 0x52c50b29
add eax, 0xad3af4dc
mov ecx, 0x389e0466
sub ecx, 0x385e0466
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.bXprxREgNVGBhHnVEE
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.bXprxREgNVGBhHnVEE
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.REh0kcmE_oBy5hePwc
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.REh0kcmE_oBy5hePwc
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x100023fd
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x1000240f
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x10002415
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call fcn.1000a5ff
mov esi, eax
pop ecx
cmp esi, edi
je 0x1000243f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000244d
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x10006ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe0
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
xor edi, edi
and dword [ebp - 0x5c], edi
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f4f
and dword [ebp - 0x60], edi
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push str.ActiveTimeBias
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x10006f41
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
pop ebx
je 0x10006f61
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10006f61
mov edi, dword [ebp - 0x58]
lea eax, [ebp + 0x54]
push eax
mov eax, edi
call fcn.100067f8
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.msvcr100.dll__strdup]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.100122d0
add ebp, 0x78
leave
ret

Function at 0x10007644
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x1000767f
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x1000767f
xor al, al
jmp 0x100076d4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
cmp edi, ebx
je 0x100076c7
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x100076b9
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10007e43
xor al, al
jmp 0x10007e74
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.1000a5ff
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007e83
mov eax, dword [esp + 0x18]
dec eax
je 0x10007e71
dec eax
je 0x10007e78
dec eax
dec eax
jne 0x10007e83
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x10007e73
test al, bl
je 0x10007e73
xor al, al
jmp 0x10007e73
Function at 0x10007e87
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a5ff
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.1000a5ff
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x1000a5ff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000a60e
pop dword [ebp - 0xc]
mov eax, 0xcf71b3f8
sub eax, 0xbf710dea
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x103164fd
sub dword [ebp - 0x1c], 0xc1df1fb2
mov dword [ebp - 0x18], 0xb696f5f3
sub dword [ebp - 0x18], 0x8463a9ae
mov dword [ebp - 0x14], 0xab92c59f
sub dword [ebp - 0x14], 0x5f468171
mov dword [ebp - 0x10], 0xe1a03d07
sub dword [ebp - 0x10], 0xe1a03d07
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6a2c1ae2
add dword [ebp - 0x1c], 0xa464e74
mov dword [ebp - 0x18], 0xf10d5022
add dword [ebp - 0x18], 0x505f1153
mov dword [ebp - 0x14], 0x309ccfc1
sub dword [ebp - 0x14], 0xcd2d6355
mov dword [ebp - 0x10], 0x22e661b7
sub dword [ebp - 0x10], 0x22e661b7
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x884c624d
sub eax, 0x784b30f1
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x328be
push 0
call eax
mov ecx, 0x334c
mov ebx, eax
mov edx, 0x5e9f320e
sub edx, 0x4e9d2c0e
add edx, dword [ebp - 0xc]
mov edi, 0x77966420
add edi, 0xefc8a3b8
mov dword [ebp - 4], 0x825cc52e
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 8], 0xd0a66657
mov dword [ebx], esi
xor dword [ebp - 4], 0xbddafb69
add ebx, 0xc06cba1e
add ebx, 0x3f9345e6
add edx, 0x8124e9ae
sub edx, 0x8124e9aa
loop 0x1000a725
add eax, 0x535d49a1
add eax, 0xaca37662
xor ebx, ebx
add ebx, eax
add eax, 0x6539f1ce
add eax, 0x9ac60e37
mov ecx, 0x4357c8b3
add ecx, 0xcca8374d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405f41
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdd4], 0
push esi
jne 0x405f78
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f52
mov dword [ecx*4 + 0x42bdd0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f4d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fa9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdd0]
xor eax, esi
inc ecx
dec edx
jne 0x405f8b
pop edi
not eax
pop esi
ret 0xc

Function at 0x414dce
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], esi
sub ecx, 0x8c109960
add edi, 0x594d6fbd
add ebx, 4
or ecx, edx
add ecx, 0xd432ecc6
cmp ebx, eax
jne fcn.00414dce
dec ecx
or ecx, edx
ret
Function at 0x403700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x40377d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x403737
push edi
mov ecx, esi
call fcn.004036a0
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x40375e
mov ecx, dword [esi]
test ecx, ecx
je 0x403762
push dword [ecx - 8]
push ecx
call fcn.00488bdc
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x40377d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40377d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00403bb0
int3

Function at 0x405dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x405de5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405df0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4706c7
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 0x48db65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid
invalid
invalid
cld
invalid
invalid

Function at 0x48dbe8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
invalid
movsd dword es:[edi], dword [esi]
Function at 0x41083d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, str.Cn_Unassigned
call fcn.0040fd6e
mov esi, eax
test esi, esi
jns 0x410857
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
ret
cmp esi, 0x1d
jg 0x410873
xor edx, edx
xor eax, eax
bts edx, esi
cmp esi, 0x20
cmovae eax, edx
xor edx, eax
cmp esi, 0x40
cmovae eax, edx
jmp 0x41087a
mov edx, dword [esi*4 + 0x4ac580]
mov ecx, edi
pop edi
pop esi
jmp fcn.0040ffff

Function at 0x412549
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x4b57d8
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edi
call fcn.00477ab8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4125a9
push ebx
push 2
push 0
push esi
call fcn.0047cde8
add esp, 0xc
test eax, eax
js 0x41259f
push esi
call fcn.0047bf79
mov ebx, eax
pop ecx
test ebx, ebx
js 0x41259f
cmp ebx, 0x7fffffff
jne 0x4125ad
call fcn.0047ef57
mov dword [eax], 0x15
push esi
call fcn.0047b186
xor eax, eax
pop ecx
pop ebx
pop edi
pop esi
leave
ret
push 0
push 0
push esi
call fcn.0047cde8
add esp, 0xc
test eax, eax
js 0x41259f
lea eax, [ebx + 1]
test edi, edi
je 0x4125d0
mov edx, eax
mov ecx, edi
call fcn.004154f3
jmp 0x4125d7
push eax
call fcn.00481502
pop ecx
mov edi, eax
test edi, edi
je 0x41259f
push esi
push ebx
push 1
push edi
call fcn.00480bd8
add esp, 0x10
cmp eax, ebx
je 0x412616
call fcn.0047ef57
mov ecx, dword [ebp - 4]
push edi
mov dword [eax], 5
test ecx, ecx
je 0x41260f
mov ecx, dword [ecx + 0x14]
lea eax, [ecx + 0x10]
push eax
call dword [ecx + 4]
pop ecx
pop ecx
jmp 0x41259f
call fcn.0047b580
jmp 0x41260c
push esi
mov byte [edi + ebx], 0
call fcn.0047b186
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov eax, edi
jmp 0x4125a7
Function at 0x4197ee
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x30], 0
je 0x41981c
mov eax, edi
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.00470ded
pop ecx
pop ecx
mov esi, dword [edi + 0x14]
xor ecx, ecx
or byte [edi + 5], 2
mov dword [ebp - 8], ecx
lea eax, [esi + 0x34]
mov dword [ebp - 4], eax
cmp dword [esi + 0x24], ecx
jle 0x41985c
mov eax, dword [eax]
shr eax, 0x1a
push eax
mov eax, dword [edi + 0x18]
lea edx, [eax + ecx*8]
mov ecx, ebx
call fcn.004193f5
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [ebp - 8]
add eax, 8
inc ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [esi + 0x24]
jl 0x419833
push dword [edi + 0x18]
lea eax, [ebx + 0x10]
push eax
call dword [ebx + 4]
dec dword [esi]
cmp dword [esi], 0
pop ecx
pop ecx
jg 0x419878
mov edx, esi
mov ecx, ebx
call fcn.00418610
mov edx, dword [edi + 0x1c]
xor esi, esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
test edx, edx
je 0x4198e0
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x18], esi
mov dword [edx + 0x1c], esi
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], esi
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x419887
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4198dd
mov edi, eax
push dword [edi + 0x2c]
mov esi, dword [edi + 0xc]
mov ecx, ebx
push dword [edi + 0x28]
call fcn.00411f22
lea eax, [ebx + 0x10]
push edi
push eax
call dword [ebx + 4]
add esp, 0x10
mov edi, esi
test esi, esi
jne 0x4198b9
mov edi, dword [ebp - 0xc]
mov dword [edi + 0x1c], esi
movzx eax, word [edi + 6]
imul ecx, eax, 0x1c
mov eax, dword [ebx + 0x44]
mov ecx, dword [ecx + eax + 8]
test ecx, ecx
je 0x419909
mov eax, edi
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
push ebx
call ecx
add esp, 0xc
lea edx, [edi + 0xc]
mov dword [edi + 0x20], esi
mov ecx, dword [edx]
xor eax, eax
mov word [edi + 6], ax
mov eax, dword [edx + 4]
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [edx], esi
mov dword [edx + 4], esi
cmp byte [ebx + 0x68], 2
jne 0x419945
cmp dword [edi], esi
je 0x419945
lea ecx, [ebx + 0x58]
mov eax, dword [ecx]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [ecx], edx
jmp 0x41994f
lea eax, [ebx + 0x10]
push edi
push eax
call dword [ebx + 4]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45c8e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ecx + 4]
mov eax, edx
push esi
push edi
and ebx, 0x7fffffff
mov dword [ebp - 0x10], eax
mov esi, dword [eax]
xor edi, edi
mov dword [ebp - 4], 0x3e8
cmp esi, ebx
jae 0x45c961
mov dword [ebp - 0xc], esi
mov edx, esi
call fcn.004176e0
mov edx, eax
lea eax, [edx - 0x30]
mov dword [ebp - 8], eax
cmp eax, 9
ja 0x45c948
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x45c92b
cmp edx, 0x35
jl 0x45c92b
inc edi
mov dword [ebp - 4], 0xa
cdq
idiv dword [ebp - 4]
mov edx, dword [ebp - 8]
imul edx, eax
mov dword [ebp - 4], eax
add edi, edx
inc esi
cmp esi, ebx
jb 0x45c909
jmp 0x45c94d
cmp esi, dword [ebp - 0xc]
je 0x45c961
mov ecx, dword [ebp + 8]
mov eax, edi
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov dword [eax], esi
xor eax, eax
jmp 0x45c964
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret