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

Disassembly:
mov eax, dword [esp + 4]
test edx, edx
je 0xc7c9ef
push esi
push edi
mov edi, dword [esp + 0x10]
mov edi, edi
movzx esi, byte [ecx]
xor esi, eax
shrd eax, edi, 8
and esi, 0xff
xor eax, dword [esi*8 + 0x100c5d00]
shr edi, 8
xor edi, dword [esi*8 + 0x100c5d04]
inc ecx
dec edx
jne 0xc7c9c4
mov edx, edi
pop edi
pop esi
ret 8
mov edx, dword [esp + 8]
ret 8
Function at 0xcc978d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d8b8
call fcn.00ce14e8
push ecx
push ebx
push esi
mov esi, ecx
push 4
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00cc9554
mov dword [ebx], 0x420640
xor ebx, ebx
mov dword [esi + 0x28], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x420658
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x2c], 1
call fcn.00cc9894
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0xac]
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], 0x420650
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xcc9894
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41d903
call fcn.00ce14e8
push ecx
push ebx
push esi
push edi
push 3
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00cc5de6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0xcd4e2e
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41eaab
call fcn.00ce14e8
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00cc7916
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00cc7916
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00cc7916
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00cc7916
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00cc7916
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00cc7916
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00cc7916
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0xcda1fb
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0xcda228
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4296a0]
xor eax, edi
inc esi
cmp esi, edx
jb 0xcda207
pop edi
pop ebx
not eax
pop esi
ret

Function at 0xd876ff
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
ret

Function at 0xd892bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x15c
call fcn.00d892ce
Function at 0xd8a3b3
Capabilities:
Encode data using xor

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x394
call fcn.00d8a3cf

Function at 0xd8acf7
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
ret

Function at 0xd8bedf
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4dc489
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x34]
neg eax
sub dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x14]
add ecx, dword [ebp - 4]
add ecx, 0x18
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x4dc4d2
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, dword [ebp - 0x10]
jle 0x4dc534
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
ja 0x4dc52b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
cmp eax, dword [ebp + 0xc]
jbe 0x4dc52b
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 0x20
je 0x4dc524
mov eax, 1
jmp 0x4dc53b
xor eax, eax
jmp 0x4dc53b
add dword [ebp - 8], 0x28
jmp 0x4dc4cf
xor eax, eax
jmp 0x4dc53b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4dcc4d
Capabilities:
Set global application hook
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
cmp dword [0x4df584], 0
jne 0x4dcd75
mov dword [0x4df584], 1
dec word [0x4df594]
inc dword [0x4df9fc]
cmp dword [0x4df9fc], 5
jbe 0x4dccbd
call fcn.004de680
mov dword [0x4dfa00], eax
cmp dword [0x4df9f8], 0
je 0x4dccb3
cmp dword [0x4dfa00], 0
je 0x4dccb3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x4df9fc], 0
call fcn.004ddd9a
test eax, eax
je 0x4dcce7
xor eax, eax
mov ax, word [0x4df594]
test eax, eax
jne 0x4dcd52
call fcn.004dddfa
test eax, eax
jne 0x4dcd52
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0x4df1f8
call fcn.004ddc35
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4de1b0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4df5a8], eax
push 0x2000
push 0x4df170
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x4df5a8]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov word [0x4df594], 0
jmp 0x4dccbd
xor eax, eax
mov ax, word [0x4df594]
test eax, eax
jne 0x4dcd6b
mov word [0x4df594], 0xa
mov dword [0x4df584], 0
jmp 0x4dcd7a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401040
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x403158]
movups xmm0, xmmword [str.D:ReleaseMFCDLL.dll_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0x14], eax
movzx eax, word [0x40315c]
push ebx
mov word [ebp - 0x10], ax
movzx eax, byte [0x40315e]
push esi
push edi
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0xe], al
call fcn.00401180
mov eax, dword [0x403170]
mov dword [ebp - 0xc], eax
movzx eax, word [0x403174]
mov word [ebp - 8], ax
movzx eax, byte [0x403176]
mov byte [ebp - 6], al
lea eax, [ebp - 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
push 0x403178
call fcn.00401010
add esp, 8
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x28]
push 0x40318c
call fcn.00401010
add esp, 8
push dword [ebp - 0x28]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x1000
push 0x1000
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
push edi
push 0x4031a0
call fcn.00401010
add esp, 8
lea eax, [ebp - 0x24]
push 0
push 0x300
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ecx, ecx
test eax, eax
push esi
setne cl
push ecx
push 0x4031bc
call fcn.00401010
add esp, 0xc
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401475
mov esp, ebp
pop ebp
ret
Function at 0x424bb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dd70
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x1c], 0
push 0x208
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004d7120
add esp, 0xc
mov dword [ebp - 4], 0
test esi, esi
js 0x424cf6
cmp esi, 0x38
jle 0x424c15
cmp esi, 0x39
jne 0x424cf6
cmp esi, 0x39
je 0x424d15
mov eax, dword [0x5c5dd8]
test eax, eax
je 0x424c54
cmp esi, 0x11
je 0x424d15
cmp esi, 7
je 0x424d15
cmp esi, 4
je 0x424d15
cmp esi, 1
je 0x424d15
cmp eax, 1
jne 0x424d15
push str.detections.txt
push 0x104
lea eax, [ebp - 0x228]
push eax
call fcn.004230f0
add esp, 0xc
push 0x53d4d4
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004e27d9
add esp, 0xc
test eax, eax
je 0x424c9d
push str.detections.txt
xor edx, edx
lea ecx, [edx + 0x23]
call fcn.004c3fd0
add esp, 4
jmp 0x424d15
push esi
push 0x53d4d8
push dword [ebp - 0x1c]
call fcn.00424b90
add esp, 0xc
push dword [ebp - 0x1c]
call fcn.004e2629
add esp, 4
push dword [ebp - 0x1c]
call fcn.004e28ae
add esp, 4
mov dword [0x5c5dd8], esi
cmp esi, 0x11
je 0x424d15
cmp esi, 7
je 0x424d15
cmp esi, 4
je 0x424d15
call fcn.004c3be0
mov eax, dword [0x5ab0dc]
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x424d15
mov ecx, str.IE_15
call fcn.004c65c0
jmp 0x424d15
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426920
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e058
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp byte [0x5c1040], 0
je 0x426a83
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [0x5c1040], 0
je 0x426978
call fcn.00426aa0
cmp word [esi], 0
jne 0x4269dc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x5afc30
push 0x100
lea eax, [ebp - 0x120]
push eax
call fcn.004d97bd
add esp, 8
push 3
lea eax, [ebp - 0x120]
push eax
call fcn.00426c10
push 0x2e
lea eax, [ebp - 0x120]
push eax
call fcn.004d56f0
add esp, 8
test eax, eax
je 0x426a7c
mov byte [eax], 0
push ecx
push 4
lea eax, [ebp - 0x120]
push eax
call fcn.00426c10
jmp 0x426a7c
push 9
push str.USERNAME
push esi
call fcn.004e2b86
add esp, 0xc
test eax, eax
jne 0x4269ff
push 0x3d
push esi
call fcn.004d5629
add esp, 4
push 2
jmp 0x426a43
push 4
push str.TMP
push esi
call fcn.004e2b86
add esp, 0xc
test eax, eax
jne 0x426a22
push 0x3d
push esi
call fcn.004d5629
add esp, 4
push 0
jmp 0x426a43
push 5
push str.Path
push esi
call fcn.004e2b86
add esp, 0xc
test eax, eax
jne 0x426a50
push 0x3d
push esi
call fcn.004d5629
add esp, 4
push 1
add eax, 2
push eax
call fcn.00426ce0
nop dword [eax]
cmp word [esi], 0
je 0x426a5e
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x426a50
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x426978
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4276c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x4276d6
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x4276f2
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4276e1
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x427e40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x1c], 0x10
push ebx
mov ebx, dword [edx + 0x18]
push esi
lea esi, [edx + 8]
mov dword [ebp - 4], ecx
jb 0x427e5a
mov esi, dword [esi]
xor ecx, ecx
push edi
mov edi, 0x811c9dc5
test ebx, ebx
je 0x427e77
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x427e66
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edi
pop edi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edx
jne 0x427eb1
cmp eax, edx
jne 0x427ea9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x427eb9
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x427eb9
cmp eax, edx
jne 0x427ebc
mov eax, dword [edx]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov esi, dword [edx]
push edx
mov dword [eax], esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00427920
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f4b8
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], edx
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
jne 0x4331ae
mov dword [ebp - 4], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4331c4
cmp ebx, dword [0x5c5fe4]
jne 0x4331c4
mov ecx, 0x32
call fcn.00424bb0
push 0xfffffffffffffff5
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call esi
mov edi, eax
push 0xfffffffffffffff4
call esi
cmp edi, ebx
je 0x4331dc
cmp eax, ebx
jne 0x433215
mov esi, 1
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004c2d90
test al, al
je 0x433299
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
mov eax, 1
mov ecx, dword [0x5a9f6c]
mov dword [ebp - 0x28], eax
cmp eax, ecx
jg 0x433296
cmp dword [eax*4 + 0x5aa078], ebx
jne 0x4332b3
mov ecx, ebx
call fcn.004c93c0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test eax, eax
je 0x43325a
push edi
push esi
mov edx, dword [ebp - 0x20]
mov ecx, eax
call fcn.004c9200
add esp, 8
mov dword [ebp - 0x1c], eax
push ecx
mov edx, dword [ebp - 0x20]
mov ecx, esi
call fcn.004c32e0
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov ecx, dword [ebp - 0x20]
cmovne ecx, eax
push dword [ebp + 0x10]
push edi
push esi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x43328e
call fcn.004c7510
mov ecx, dword [ebp - 0x24]
call fcn.004c33b0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc eax
jmp 0x433227
Function at 0x435c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f758
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], edx
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
test esi, esi
jne 0x435cb1
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [0x5c5fe4]
jne 0x435cc6
mov ecx, 0x32
call fcn.00424bb0
mov edx, dword [ebp - 0x24]
mov eax, dword [0x5c33d0]
mov ecx, dword [0x5c33cc]
mov dword [ebp - 0x28], ecx
cmp ecx, eax
je 0x435d1a
cmp dword [ecx], esi
je 0x435ce1
add ecx, 4
jmp 0x435cd1
cmp ecx, eax
je 0x435d1a
mov eax, dword [0x589b7c]
mov dword [edx], eax
mov dword [ebp - 0x24], 4
mov edi, 1
mov dword [ebp - 0x20], edi
call fcn.00435c20
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
mov byte [ebp - 0x19], bl
cmp esi, 0xfffffff6
je 0x435d8b
cmp esi, 0xfffffff5
je 0x435d8b
cmp esi, 0xfffffff4
je 0x435d8b
mov eax, 1
mov ecx, dword [0x5a9f6c]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jg 0x435d98
cmp dword [eax*4 + 0x5aa078], esi
jne 0x435d88
mov ecx, esi
call fcn.004c93c0
test eax, eax
je 0x435d98
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, eax
call fcn.004c9100
add esp, 8
mov edi, eax
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc eax
jmp 0x435d39
mov bl, 1
mov byte [ebp - 0x19], bl
mov edi, 1
mov dword [ebp - 0x20], edi
test bl, bl
jne 0x435ddd
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.004c2d90
test al, al
je 0x435dd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436a50
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f898
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00452de0
mov eax, dword [eax]
cmp eax, dword [0x5c55a4]
je 0x436aad
lea eax, [ebp - 0x20]
push eax
call fcn.00453060
push dword [eax]
jmp 0x436aae
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d210
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [0x5c0f10]
push edi
mov edi, ecx
push 0x104
test esi, esi
jne 0x43d23f
call fcn.004da034
push edi
push 0x104
push eax
mov dword [0x5c0f10], eax
call fcn.004d97bd
add esp, 0x10
pop edi
pop esi
ret
push 0
push esi
call fcn.004d7120
push edi
push 0x104
push esi
call fcn.004d97bd
mov eax, dword [0x5c635c]
add esp, 0x18
inc eax
mov dword [0x5c635c], eax
cmp eax, 0x1f4
jle 0x43d28e
xor cl, cl
call fcn.0045e690
xor dl, dl
xor cl, cl
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
ret

Function at 0x43d350
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x5c0f14]
push esi
mov esi, ecx
test edx, edx
jne 0x43d37d
push 0x208
call fcn.004da034
push esi
push 0x104
push eax
mov dword [0x5c0f14], eax
call fcn.004e3f8e
add esp, 0x10
pop esi
ret
push edi
push esi
xor eax, eax
mov edi, edx
mov ecx, 0x82
push 0x104
rep stosd dword es:[edi], eax
push edx
call fcn.004e3f8e
mov eax, dword [0x5c635c]
add esp, 0xc
inc eax
mov dword [0x5c635c], eax
pop edi
cmp eax, 0x1f4
jle 0x43d3d1
xor cl, cl
call fcn.0045e690
xor dl, dl
xor cl, cl
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x43d356
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x5c0f14]
push esi
mov esi, ecx
test edx, edx
jne 0x43d37d
push 0x208
call fcn.004da034
push esi
push 0x104
push eax
mov dword [0x5c0f14], eax
call fcn.004e3f8e
add esp, 0x10
pop esi
ret
push edi
push esi
xor eax, eax
mov edi, edx
mov ecx, 0x82
push 0x104
rep stosd dword es:[edi], eax
push edx
call fcn.004e3f8e
mov eax, dword [0x5c635c]
add esp, 0xc
inc eax
mov dword [0x5c635c], eax
pop edi
cmp eax, 0x1f4
jle 0x43d3d1
xor cl, cl
call fcn.0045e690
xor dl, dl
xor cl, cl
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret