joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4061ca
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x42dc40]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x406262
push 0x424e7c
push 4
push eax
call fcn.004118e3
push eax
call fcn.00401010
add esp, 0x10
push ebx
push edi
call fcn.00411f0e
mov edi, dword [eax]
call fcn.00411f0e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00412567
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00411f0e
cmp dword [eax], ebx
je 0x406279
call fcn.00411f0e
push dword [eax]
call fcn.004058b8
pop ecx
jmp 0x406280
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x406216
jmp 0x4062f2
call fcn.00411f0e
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4062ee
cmp dword [ebp - 0x3c], esi
jae 0x4062ee
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00412590
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4062e0
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4062e0
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4062e0
push ebx
push ebx
push esi
jmp 0x4062e6
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4062f0
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.0041133e
add ebp, 0xe0
leave
ret
Function at 0x4086f9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x408727
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x408745
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00408663
jmp 0x408745
mov eax, dword [esi + 0x14]
test eax, eax
je 0x408745
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00408663
test edi, edi
mov eax, edi
jne 0x40872f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42f144]
test ecx, ecx
je 0x408808
jmp 0x4086f8
ret 8

Function at 0x41133e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42dc40]
jne 0x411348
repz ret
jmp fcn.00416449

Function at 0x4155a3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42df28]
je 0x4155be
inc edi
cmp edi, 0x17
jb 0x4155af
cmp edi, 0x17
jae 0x41573e
push ebp
push 3
call fcn.0041c4cf
cmp eax, 1
pop ecx
je 0x41570a
push 3
call fcn.0041c4cf
test eax, eax
pop ecx
jne 0x4155f2
cmp dword [0x42dc50], 1
je 0x41570a
cmp ebx, 0xfc
je 0x41573d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4310b8
push ebp
call fcn.004118e3
add esp, 0xc
test eax, eax
je 0x415628
push esi
push esi
push esi
push esi
push esi
call fcn.00410e12
add esp, 0x14
push 0x104
mov esi, 0x4310d1
push esi
push 0
mov byte [0x4311d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41566c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004118e3
add esp, 0xc
test eax, eax
je 0x41566c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00410e12
add esp, 0x14
push esi
call fcn.00411df0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4156b1
push esi
call fcn.00411df0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4313cc
push 0x42654c
sub ecx, eax
push ecx
push eax
call fcn.00414235
add esp, 0x14
test eax, eax
je 0x4156b1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00410e12
add esp, 0x14
jmp 0x4156b3
xor esi, esi
push 0x426548
push ebx
push ebp
call fcn.00412691
add esp, 0xc
test eax, eax
je 0x4156d3
push esi
push esi
push esi
push esi
push esi
call fcn.00410e12
add esp, 0x14
push dword [edi*8 + 0x42df2c]
push ebx
push ebp
call fcn.00412691
add esp, 0xc
test eax, eax
je 0x4156f5
push esi
push esi
push esi
push esi
push esi
call fcn.00410e12
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041c312
add esp, 0xc
jmp 0x41573d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41573d
cmp ebp, 0xffffffff
je 0x41573d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42df2c]
push dword [esi]
call fcn.00411df0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41c312
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00415f67
xor ebx, ebx
cmp dword [0x431984], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41c3e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41c4c8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x426f70
push edi
call esi
cmp eax, ebx
je 0x41c4c8
push eax
call fcn.00415ef9
mov dword [esp], 0x426f60
push edi
mov dword [0x431984], eax
call esi
push eax
call fcn.00415ef9
mov dword [esp], 0x426f4c
push edi
mov dword [0x431988], eax
call esi
push eax
call fcn.00415ef9
mov dword [0x43198c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00411ffb
test eax, eax
pop ecx
pop ecx
je 0x41c3b6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00410e12
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41c3e8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00415ef9
cmp eax, ebx
pop ecx
mov dword [0x431994], eax
je 0x41c3e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415ef9
pop ecx
mov dword [0x431990], eax
mov eax, dword [0x431990]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41c46d
cmp dword [0x431994], ecx
je 0x41c46d
push eax
call fcn.00415f70
push dword [0x431994]
mov esi, eax
call fcn.00415f70
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41c46d
cmp edi, ebx
je 0x41c46d
call esi
cmp eax, ebx
je 0x41c43a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c43a
test byte [ebp - 0x18], 1
jne 0x41c46d
lea eax, [ebp - 0x10]
push eax
call fcn.00412032
test eax, eax
pop ecx
je 0x41c455
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00410e12
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41c464
or dword [ebp + 0x10], 0x200000
jmp 0x41c4a8
or dword [ebp + 0x10], 0x40000
jmp 0x41c4a8
mov eax, dword [0x431988]
cmp eax, dword [ebp - 8]
je 0x41c4a8
push eax
call fcn.00415f70
cmp eax, ebx
pop ecx
je 0x41c4a8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c4a8
mov eax, dword [0x43198c]
cmp eax, dword [ebp - 8]
je 0x41c4a8
push eax
call fcn.00415f70
cmp eax, ebx
pop ecx
je 0x41c4a8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431984]
call fcn.00415f70
cmp eax, ebx
pop ecx
je 0x41c4c8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c4ca
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422065
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42dc40]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00421ffa
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00412590
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4220b4
cmp dword [ebp - 0x1c], 5
jb 0x4220cc
jmp 0x4220c8
cmp dword [ebp - 0x10], 1
jne 0x4220cc
cmp dword [ebp - 0x1c], 4
ja 0x4220c8
jne 0x4220cc
cmp dword [ebp - 0x18], 0
jbe 0x4220cc
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x427924
call fcn.00421eeb
test eax, eax
jge 0x4220ed
mov byte [0x42f11c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041133e
add ebp, 0x78
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x402c00
pop dword [ebp - 0x1c]
mov eax, 0x402c00
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xc3f9f16f
add dword [ebp - 0x2c], 0x8a5853dc
mov dword [ebp - 0x28], 0xa6809b78
sub dword [ebp - 0x28], 0x744d4f33
mov dword [ebp - 0x24], 0xe9a283c0
add dword [ebp - 0x24], 0x62a9c06e
mov dword [ebp - 0x20], 0xc73e208a
add dword [ebp - 0x20], 0x38c1df76
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x8abc7a2b
add dword [ebp - 0x2c], 0xe9b5ef2b
mov dword [ebp - 0x28], 0x7e6f452d
add dword [ebp - 0x28], 0xc2fd1c48
mov dword [ebp - 0x24], 0xb767dfcb
add dword [ebp - 0x24], 0xac078ca1
mov dword [ebp - 0x20], 0xdd03e5d3
add dword [ebp - 0x20], 0x22fc1a2d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x3d665a4e
add eax, 0xc2da2686
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c022
push 0
call eax
mov ecx, 0x24fb189c
add ecx, 0xdb0544ab
xor edx, edx
add edx, eax
mov ebx, 0x84e69e35
sub ebx, 0x84a58e35
add ebx, dword [ebp - 0x1c]
mov edi, 0x6050574f
add edi, 0xf2af61c0
add dword [ebp - 0x14], ecx
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0x52f88d83
add esi, edi
mov dword [ebp - 4], 0x6a18d75d
mov dword [edx], esi
add dword [ebp - 0x18], 0xaf1a286a
add edx, 0xa6d94535
add edx, 0x5926bacf
add ebx, 4
loop 0x402d1a
add eax, 0x65a20b6f
sub eax, 0x65a0a380
xor ebx, ebx
add ebx, eax
add eax, 0xf9324946
add eax, 0x6cdb6bf
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1017093c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b8de0]
jne 0x10170946
repz ret
jmp fcn.10170bed

Function at 0x101713a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101b8dbc], 0
mov byte [0x101b8dc0], 0
mov dword [0x101b8db0], 0x19f5
mov dword [0x101b8db8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101b8db0]
add eax, 0x1e60
mov dword [0x101b8db4], eax
mov eax, dword [0x101b8db8]
add eax, 1
mov dword [0x101b8db8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101713e5
jmp 0x101714e0
mov eax, 0x100
mov dword [0x101b8dc4], 0
mov ecx, dword [0x101b8db4]
add ecx, 0xffffe1b1
mov dword [0x101b8db4], ecx
mov ecx, dword [0x101b8dbc]
mov edx, dword [0x101b8db8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x101b8dc4], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x101b8dbc], edx
mov edx, dword [0x101b8db8]
mov cl, byte [esi + edx]
mov byte [0x101b8dc0], cl
mov edx, dword [0x101b8db0]
add edx, 0xffffe791
mov dword [0x101b8db4], edx
mov edx, dword [0x101b8dbc]
mov cl, byte [esi + edx]
mov edx, dword [0x101b8db8]
mov byte [esi + edx], cl
mov cl, byte [0x101b8dc0]
mov edx, dword [0x101b8dbc]
mov byte [esi + edx], cl
mov edx, dword [0x101b8db8]
add edx, 1
mov dword [0x101b8db8], edx
cmp edx, 0x100
jl 0x1017141f
jmp 0x101714f9
mov dword [0x101b8db0], 0x1a82
mov dword [0x101b8db8], 0
jmp 0x1017141f
mov dword [0x101b8db4], 0x2635
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10171520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov dword [0x101b8db0], 0x2249
mov dword [0x101b8db4], 0x1ad5
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x1017154f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x11c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x11c
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x3e1
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x1017154f
lea eax, [0x10173629]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10171d00
mov dword [0x101b8db0], 0x3e2
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.101710e0
mov ecx, eax
mov dword [0x101b8dd0], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0x11c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x11c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x11c
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.10171840
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x3e1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x1017160b
mov eax, dword [0x101b8db4]
add eax, 0x2170
mov dword [0x101b8db0], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.10171ad0
xor eax, eax
mov dword [0x101b8db4], 0x15ce
mov ecx, dword [ebp - 0x48]
add ecx, 0x28f36
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x141000
mov ecx, dword [ebp - 0x48]
add ecx, 0x24734
mov dword [edx + 8], ecx
mov dword [0x101b8db0], 0xe3a
mov dword [edx + 0xc], 0x2010
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10171790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10171790]
mov dword [0x101b8db4], 0x717
mov dword [0x101b8db0], 0x127a
mov dword [ebp - 4], eax
jmp 0x101717c6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x101717d5
jmp 0x101717dd
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x101717b5
jmp 0x101717dd
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x101717c6

Function at 0x10172060
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x101b8db0], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101b8db0], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10172104
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
jne 0x101721e3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x101721e3
mov dword [0x101b8db0], 0xffffe770
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x1d], dl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x101721a5
jmp 0x101721e3
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
je 0x10172143
mov eax, 0x19cd
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jl 0x10172104
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [0x101b8db4], ecx
mov dword [0x101b8db0], 0x6b6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x101721e3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x101721e3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], 0x61
mov dword [ebp - 0x1c], eax
je 0x101720a1
jmp 0x101721e3
mov dword [0x101b8db0], 0x251c
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x34], ecx
xor eax, eax
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101721e3
mov eax, 1
mov dword [0x101b8db4], 0x369d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x85bdab
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
dec eax
cmp dx, 0x3991
cmc
mov dword [ebp - 0x48], eax
cbw
shrd ax, ax, 0xab
test si, 0x276e
mov eax, dword [edi]
cmc
clc
mov dword [ebp - 0x40], eax
setl ah
cmp si, bx
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
bsr eax, esp
sal ax, cl
mov eax, dword [edi + 0x2c]
test ecx, ebp
clc
mov dword [ebp - 0x10], eax
inc al
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x30]
clc
cmp esi, 0x5f4d5c15
test edi, edi
mov dword [ebp - 4], eax
bsr ax, di
mov eax, 0x20985e19
lahf
mov eax, dword [edi + 0x1c]
test ebp, 0x42ca66e9
cmp bl, dl
mov dword [ebp - 0x14], ebx
test ax, si
mov dword [ebp - 0x50], edx
test esp, ecx
mov dword [ebp - 0x3c], ecx
btc cx, bx
ror ecx, cl
mov dword [ebp - 0x28], 0
jmp 0x8c030b
dec edx
jmp 0x85ea86
push ebp
mov ebp, esp
xor ax, di
sub esp, 0x50
cmp edi, 0x2d40776
neg dx
push ebx
or eax, 0x41257bd6
stc
push esi
bt edx, 0xce
rcr ch, 0x84
push edi
dec ebx
test ch, 0x41
mov edi, dword [ebp + 8]
shld esi, eax, 0x50
rcl eax, 0xd2
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x10]
add bx, 0x7e98
mov edx, dword [edi + 0x3c]
btc ebx, 0xc7
mov bh, 0x6c
mov dword [ebp - 0x20], eax
sal bx, 9
mov eax, dword [edi + 0x40]
adc bx, sp
rol bx, cl
mov ebx, dword [edi + 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x44]
mov esi, dword [edi + 0x20]
stc
clc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
dec cx
test bp, 0x38b5
mov ecx, dword [edi + 8]
mov dword [ebp - 0x2c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 4]
bts eax, edi
adc ah, 0xf2
mov eax, 1
cmp bx, dx
test bp, bp
shl eax, cl
mov ecx, edi
mov ecx, dword [edi + 0x14]
jmp 0x5b7c2e
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x24]
jmp 0x5b0112
Function at 0x43054b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x430569
mov eax, 0x51330b
push eax
push 1
mov ebx, 0x465e60
call fcn.00465827
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x430593
mov eax, 0
jmp 0x430607
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4305f4
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4305dd
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4305cc
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4305bd
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x438d95
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x438db7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x438edd
mov esp, ebp
pop ebp
ret