joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5560c3
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x55616c
mov ecx, dword [esi + 0x48]
test cl, 2
je 0x55616c
test cl, 8
je 0x55612c
push 2
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x55611f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x55611b
lea eax, [esi + 0x50]
push eax
call fcn.00552be0
add esp, 4
mov eax, dword [esp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x55615a
lea eax, [esi + 0x50]
push eax
call fcn.00552be0
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
add esp, 0xc
ret 0xc
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc

Function at 0x5563e0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret

Function at 0x55ca40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x55cb2e
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov edx, 2
mov dword [ebp - 0x1c], edi
mul edx
mov byte [ebp - 0x14], 1
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054cb4f
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
push ebx
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x55cb22
cmp eax, edi
ja 0x55cb22
push esi
push ebx
call fcn.005397f0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x55caf1
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x55cb06
push 1
push 0x5b30e8
mov ecx, esi
call fcn.00450170
push ebx
call fcn.0054cb33
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0055baf0
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x28]
call fcn.004075e0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.00525a00
push 0x60262c
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x55cdc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5934a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
xor eax, eax
mov dword [ebp - 0x24], 0
push edi
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00538f10
push 0xfffe
mov dword [ebp - 0x1c], 0x7fff
mov dword [ebp - 0x18], 0x7fff
mov byte [ebp - 0x10], 1
call fcn.0054cb4f
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push 0x7fff
cmovae ecx, dword [ebp - 0x34]
push edi
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x55cf13
cmp eax, 0x7ffe
jae 0x55cf13
lea esi, [eax + 1]
cmp esi, 0x7fff
jb 0x55ce78
push 0
push 0x130
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundationincludepoco_buffer.h
push str.index____used
call fcn.005291f0
add esp, 0x10
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.005397f0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x4c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
call fcn.004042e0
push edi
call fcn.0054cb33
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x55cf2a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x55cf20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x55cf20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00407620
jmp 0x55ced8
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x55eed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5936f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov dword [ebp - 0x10], 0
push edi
push 0xfffe
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x7fff
mov dword [ebp - 0x1c], 0x7fff
mov byte [ebp - 0x14], 1
call fcn.0054cb4f
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x7fff
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x55efa9
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x55efbc
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push esi
push edi
mov dword [ebp - 0x10], 1
call fcn.005397f0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x55ef79
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x55ef8e
push 1
push 0x5b30e8
mov ecx, esi
call fcn.00450170
push edi
call fcn.0054cb33
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x38]
call fcn.004075e0
mov byte [ebp - 4], 3
jmp 0x55efcd
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x38]
call fcn.004075e0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x64]
call fcn.00525a00
push 0x60262c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x55f050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov dword [ebp - 0x10], 0
push edi
push 0xfffe
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x7fff
mov dword [ebp - 0x1c], 0x7fff
mov byte [ebp - 0x14], 1
call fcn.0054cb4f
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push edi
push 0x7fff
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x55f129
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x55f13c
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push esi
push edi
mov dword [ebp - 0x10], 1
call fcn.005397f0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x55f0f9
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x55f10e
push 1
push 0x5b30e8
mov ecx, esi
call fcn.00450170
push edi
call fcn.0054cb33
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x38]
call fcn.004075e0
mov byte [ebp - 4], 3
jmp 0x55f14d
push str.Cannot_get_temporary_directory_long_path_name
lea ecx, [ebp - 0x38]
call fcn.004075e0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x64]
call fcn.00525a00
push 0x60262c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x5610f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
push edi
cmp dword [esi + 0x14], 0x10
jb 0x561103
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test edi, edi
je 0x561174
push ebx
push edi
call fcn.0054cb4f
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 0x10
jb 0x561128
mov esi, dword [esi]
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [esp + 0x3c]
mov ecx, ebx
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x561150
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.00407d00
push ebx
call fcn.0054cb33
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
push 0
push esi
lea ecx, [esp + 0x10]
call fcn.00524c30
push 0x5fc7a0
lea eax, [esp + 0xc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

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 0x10014c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x10014c27
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x10014c4f
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x10014c4f
inc edx
cmp edx, ebx
jb 0x10014c40
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x10014d3b
cmp ecx, 2
jbe 0x10014ca7
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x10014d2c
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x10014cd0
add eax, ebp
jmp 0x10014cd2
shr esi, cl
test esi, esi
je 0x10014c68
cmp esi, 4
ja 0x10014cc5
cmp esi, 3
je 0x10014cc5
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x10014c68
or esi, 8
shr esi, 1
inc edi
jmp 0x10014c36
sub eax, ebp
test esi, esi
je 0x10014d06
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x10014d00
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x10014cfe
add eax, ebp
jmp 0x10014d00
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x10014c36
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x10014c36
pop ebx
cmp ecx, 2
jbe 0x10014d54
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x100151c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x134
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100151e7
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x100151f0
xor eax, eax
add esp, 0x134
ret
lea ecx, [esp]
call fcn.10015020
test eax, eax
je 0x100151e7
mov eax, dword [esp + 0x18]
shr eax, 0x19
and eax, 1
add esp, 0x134
ret
Function at 0x10019390
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret

Function at 0x10019f60
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0x38
je 0x10019f95
jmp 0x10019f80
and edi, 0x3f
jne 0x10019f8b
push esi
call fcn.100193d0
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x10019f80
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.100193d0
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edx, dword [esi + eax*4]
bswap edx
bswap ecx
mov dword [ebp], edx
mov dword [ebp + 4], ecx
add eax, 2
add ebp, 8
cmp eax, 8
jb 0x10019fb7
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x1001a060
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x1001a088
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001a097
mov eax, 1
ret 4
Function at 0x1001a200
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
push esi
add eax, 3
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [ecx], eax
test ebx, ebx
je 0x1001a22f
mov eax, dword [edx]
mov dword [ecx + esi*4 + 0x10], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x1001a221
cmp esi, ebp
jae 0x1001a320
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4 + 0x10]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x1001a2ad
movzx eax, byte [eax + 0x1001e830]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x1001a303
cmp ebx, 6
jbe 0x1001a303
cmp edx, 4
jne 0x1001a303
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x1001a244
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x420bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x420bbf
pop dword [ebp - 0x44]
mov eax, 0x2d84610a
add eax, 0xd2bdaab5
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3e9f6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x4a14
xor edx, edx
add edx, eax
mov ebx, 0xb381753d
add ebx, 0x4cc1dec3
add ebx, dword [ebp - 0x44]
mov esi, 0xb487394f
sub dword [ebp - 0x24], 0xa1958d0b
mov edi, dword [ebx]
add dword [ebp - 0x30], ecx
sub edi, esi
add dword [ebp - 0x1c], 0xbc727429
mov dword [edx], edi
xor dword [ebp - 0x3c], ecx
add edx, 4
add ebx, 0xe5d41fd3
add ebx, 0x1a2be031
loop 0x420c0f
add eax, 0x11b23
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4024cb
cmp byte [esi + ebx - 1], 0xa
je 0x40249f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x4060b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402be0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4060b4]
movzx eax, al
bt eax, esi
jae 0x402c40
mov ecx, dword [0x4060a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402ae6
test byte [0x4040ac], 8
jne 0x402b80
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x4040bc], 8
jne 0x402b30
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402ab5
cmp esi, 3
jbe 0x402af0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4053c0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402ab5
mov ecx, dword [0x4060b4]
test ecx, ecx
je 0x402c20
mov dword [esp], 0x4040bc
call dword [0x4060b4]
test al, 8
je 0x402a8c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x402a8c
mov ebx, dword [0x4060b4]
test ebx, ebx
je 0x402c00
mov dword [esp], 0x4040ac
call dword [0x4060b4]
test al, 8
je 0x402a79
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x402a7f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x402a40
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x402b8a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x402b3e
mov eax, 0xffffffff
jmp 0x402ae6
Function at 0x403000
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit