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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
cmp byte [0x449050], 0
pop ecx
mov dword [ebp - 4], eax
jne 0x41c0b4
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ecx, 0x2000
cmp esi, ecx
ja 0x41c0c7
test esi, esi
je 0x409bb1
push eax
push eax
push ecx
push 0x43a7f0
push 0xffffffffffffffff
push ebx
push eax
push dword [0x4325a0]
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
push 0
push edi
lea esi, [eax - 1]
push esi
push 0x43a7f0
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
je 0x409bc0
cmp dword [edi], esi
jne 0x409bc0
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x409bb9
or al, 0x8b
push ecx
sbb byte [ecx + 0x400e2], al
add byte [ebp + 2], dh
add byte [eax], al
add byte [eax - 0x18], dl
mov al, 0xe8
invalid

Function at 0x40a976
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
mov byte [0x4365c6], bl
push esi
test edx, edx
je 0x40a9a2
mov esi, edx
push edi
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x40a98c
sub esi, edi
sar esi, 1
neg esi
pop edi
sbb esi, esi
and edx, esi
push edx
push ecx
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
push dword [0x432594]
mov esi, eax
push ebx
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
call fcn.0040a9d4
mov dword [0x432594], eax
xor eax, eax
test esi, esi
pop esi
sete al
pop ebx
ret

Function at 0x40a9d4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
push edi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentStringsW]
mov esi, eax
xor edi, edi
test esi, esi
je 0x40aa19
push ebx
mov ecx, esi
call fcn.0040aa20
mov ebx, eax
push ebx
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x40aa11
push ebx
push esi
push edi
call fcn.00417c3c
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x4123f0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x230], 0
mov eax, 0x104
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x228], eax
xor ebx, ebx
lea eax, [ebp - 0x438]
inc ebx
push 0
push eax
mov esi, edx
mov byte [ebp - 0x22c], bl
mov edi, ecx
call fcn.00417fbd
and dword [ebp - 0x18], 0
add esp, 0xc
mov eax, 0x104
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00417fbd
and dword [ebp - 0x448], 0
add esp, 0xc
mov eax, 0x104
mov byte [ebp - 0x444], bl
mov dword [ebp - 0x440], eax
push eax
lea eax, [ebp - 0x650]
push 0
push eax
call fcn.00417fbd
xor eax, eax
lea ecx, [ebp - 0x438]
add esp, 0xc
cmp byte [ebp - 0x22c], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x41f316
xor eax, eax
lea ecx, [ebp - 0x220]
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x41f316
xor eax, eax
lea ecx, [ebp - 0x220]
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040e3f0
test eax, eax
js 0x41f316
and dword [0x4367a8], 0
mov eax, dword [ebp - 0x448]
test eax, eax
jne 0x412513
lea eax, [ebp - 0x650]
push dword [ebp - 0x440]
mov edx, esi
mov ecx, edi
push eax
call fcn.00407d65
test al, al
je 0x4125af
mov eax, dword [ebp - 0x448]
test eax, eax
jne 0x41253b
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040a641
push 0x40250c
lea ecx, [ebp - 0x220]
call fcn.0041232c
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x41f2e3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41f2ee
push dword [ebp - 0x228]
xor edx, edx
push ecx
push edx
lea ecx, [ebp - 0x654]
push ecx
push edx
push edx
push edx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
test eax, eax
je 0x41f2f9
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4125fb
push 0x4025c8
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x412603
xor bl, bl
cmp dword [ebp - 0x448], 0
jne 0x41f325
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x18], 0
test eax, eax
je 0x4125d1
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x230]
and dword [ebp - 0x230], 0
test eax, eax
je 0x4125ea
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b30
leave
ret
lea eax, [ebp - 0x438]
jmp 0x41259d
cmp dword [ebp - 0x654], 0xc
je 0x4125b1
jmp 0x4125af
add byte [eax], al
add bl, ch
xor al, 0x83
jge 0x41f2d5
add byte [ebp + edx - 0x7d], dh
jge 0x41f2d7
add byte [edi + ecx - 0x7d], dh
jge 0x41f2d9
add byte [ebp + 9], dh
cld
and byte [eax], al
add byte [eax], al
inc ebp
cld
Function at 0x414ca0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push edi
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [0x4367a0], eax
push ebx
push esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x420c48
mov ecx, dword [edi]
test ecx, ecx
je 0x420bfc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
test eax, 0xc000
je 0x414d08
mov ecx, 0x8002
and eax, ecx
cmp eax, ecx
je 0x420c20
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x14
cmp ecx, 2
jb 0x414d17
mov ecx, 0xfeff
cmp word [ebx], cx
je 0x414d21
or eax, 0x8000
mov dword [edx + 0x1c], eax
jmp 0x414cef
or eax, 0x4000
jmp 0x414d1c
dec ebp
cld
or al, 0x68
sub al, 1
add byte [eax], al
Function at 0x415271
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x10]
mov edi, ecx
push eax
lea eax, [ebp - 0xc]
xor esi, esi
push eax
push 4
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
cmp eax, 3
je 0x421019
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
test eax, eax
je 0x421036
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00416b30
leave
ret
insb byte es:[edi], dx
invalid

Function at 0x41589a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
push 0
xor eax, eax
mov dword [ebp - 4], ecx
push 0
push dword [ebp + 0x10]
xor bl, bl
cmp dword [ebp + 0xc], eax
sete al
push eax
push edx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov esi, dword [ebp + 0x14]
mov edi, eax
mov dword [esi], edi
cmp edi, 0xffffffff
jne 0x4158e1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x4367a8], eax
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
cmp eax, fcn.004159d0
jne 0x4159a0
call fcn.004159d0
test eax, eax
je 0x41598b
and dword [0x4367a8], 0
mov bl, 1
cmp edi, 0xffffffff
je 0x41593a
mov ecx, dword [0x4367b8]
test ecx, ecx
je 0x415940
mov edx, dword [0x4367bc]
cmp edx, dword [0x4367c0]
jge 0x415961
test ecx, ecx
je 0x415938
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
inc edx
mov dword [0x4367bc], edx
mov bl, 1
test bl, bl
jne 0x4158d8
jmp 0x4158cd
push 0x14
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov ecx, eax
mov edx, dword [0x4367bc]
mov dword [0x4367b8], ecx
jmp 0x415928
lea eax, [edx*4 + 4]
push eax
push ecx
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapReAlloc]
mov ecx, eax
test ecx, ecx
je 0x42160b
inc dword [0x4367c0]
jmp 0x415953
push dword [ebp + 0x10]
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
je 0x4159b4
mov edi, dword [esi]
jmp 0x4158c8
mov ecx, eax
call dword [0x44a4c4]
mov ecx, dword [ebp - 4]
call ecx
mov edi, dword [esi]
jmp 0x4158fa
push dword [esi]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
or dword [esi], 0xffffffff
or edi, 0xffffffff
jmp 0x41590b
in al, dx
invalid
Function at 0x416dbd
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x416dd4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x416dd6
xor eax, eax
ret

Function at 0x4173b5
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
pop eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov dword [ebp - 0xc], edi
mov esi, dword [edi]
cmp esi, edi
je 0x417470
xor eax, eax
mov ebx, eax
cmp dword [esi + 0x30], eax
je 0x417440
cmp dword [esi + 0x30], 0xffff
je 0x417440
lea eax, [ebp - 0x78]
push 0x64
push eax
call fcn.00416d73
mov eax, dword [esi + 0x30]
pop ecx
pop ecx
xor ecx, ecx
jmp 0x41740f
inc ebx
lea eax, [eax + 2]
cmp word [eax], cx
jne 0x41740b
test ebx, ebx
jle 0x417433
mov edi, ecx
mov eax, dword [esi + 0x30]
mov cx, word [eax + edi*2]
call fcn.00416da5
mov word [ebp + edi*2 - 0x78], ax
inc edi
cmp edi, ebx
jl 0x41741a
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x78]
call fcn.00416e61
cmp dword [ebp - 0x10], eax
je 0x417448
mov eax, dword [esi]
mov esi, eax
cmp eax, edi
jmp 0x4173df
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x41746b
push dword [esi + 0x28]
call fcn.0041736e
lea eax, [eax*2 + 2]
push eax
push dword [esi + 0x28]
push edi
call fcn.00417331
add esp, 0x10
mov eax, dword [esi + 0x18]
jmp 0x417472
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41761e
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
push esi
call fcn.0041736e
pop ecx
test eax, eax
je 0x41763f
lea ecx, [esi + eax*2]
mov edx, ecx
dec eax
sub ecx, 2
cmp word [ecx], 0x5c
je 0x417644
test eax, eax
jne 0x41762f
or eax, 0xffffffff
pop esi
ret
mov ecx, edx
pop esi
jmp fcn.00416e61

Function at 0x417981
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
mov byte [ebp + 0xb], cl
shr eax, 0x18
mov byte [ebp + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 9], al
mov eax, ecx
push edi
mov edi, edx
shr eax, 8
xor ecx, ecx
mov byte [ebp + 0xa], al
mov edx, ecx
test edi, edi
je 0x4179c8
mov al, byte [ebp + ecx + 8]
xor byte [edx + esi], al
lea eax, [ecx + 1]
sub ecx, 3
inc edx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp edx, edi
jb 0x4179b0
pop edi
pop esi
pop ebp
ret

Function at 0x417ad9
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
test edi, edi
je 0x417b05
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
cmp edx, dword [ecx + 0xc]
jb 0x417afd
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
cmp edx, eax
jbe 0x417b0b
inc esi
add ecx, 0x28
cmp esi, edi
jb 0x417aee
or eax, 0xffffffff
pop edi
pop esi
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x417b08
Function at 0x418600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [ebp + 8]
mov dword [eax + 0x21c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20c], 0
xor edx, edx
mov ecx, 0x6ae69f02
call fcn.004173b5
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
xor edx, edx
mov ecx, 0xa7dc6e73
call fcn.004173b5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
push 0x208
lea edx, [ebp - 0x2c4]
push edx
call fcn.00416d73
add esp, 8
lea edx, [ebp - 0x2c4]
mov ecx, 0x84c05e40
call fcn.004173b5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov edx, 0x10066f2f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], eax
mov edx, 0xa1efe929
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov edx, 0xa7fb4165
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
mov edx, 0x95c03d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, 0x180c0d23
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, 0xcb1508dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
mov edx, 0x3fc1bd8d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
mov edx, 0xb64c13ee
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.004172c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x54], eax
Function at 0x419680
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x4196b2
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jge 0x4196f6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jb 0x4196f4
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x10]
ja 0x4196f4
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x14]
jmp 0x4196f9
jmp 0x4196a0
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x41b150
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00416dbd
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x41b184
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 4], eax
jge 0x41b1cf
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0x7865742e
jne 0x41b1cd
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ecx + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov al, 1
jmp 0x41b1d1
jmp 0x41b17b
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41b3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]

Function at 0x41e510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x34], 0
jne 0x41e565
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x14], eax
push 0x6e874e5a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 0xc
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]

Function at 0x41f1c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0x20000000
je 0x41f1e0
mov dword [ebp - 0x14], 0
Function at 0x41f8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
push 6
mov eax, dword [ebp + 8]
push eax
call fcn.00420230
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x41fa33
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
jmp 0x41f90d
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x41f921
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x41f904
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x41f93a

Function at 0x41fdd0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
jmp 0x41fe22
Function at 0x423150
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
call fcn.00416dbd
mov dword [ebp - 4], eax
push 4
push 0x1000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x50]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
call ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x6c], 0
jne 0x423196
xor al, al
jmp 0x423260
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x6c]
push eax
call fcn.00417331
add esp, 0xc
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
jmp 0x4231e9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x423236
mov dword [ebp - 0xc], 0
jmp 0x423203
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x10]
jae 0x423234
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [edx + esi]
mov byte [eax + ecx], dl
jmp 0x4231fa
jmp 0x4231d7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push edx
call fcn.0041f330
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x42325e
xor al, al
jmp 0x423260
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov ecx, dword [ebx + 0xcb8]
mov eax, dword [ebx + 0xcb0]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ecx
test cl, 3
je 0x423999
nop word [eax + eax]
inc ecx
test cl, 3
jne 0x423990
mov dword [esi + 0x24], ecx
mov eax, dword [esi + 0xc]
push ecx
call eax
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4239b5
or dword [esi + 0x38], 2
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call fcn.00417331
xor edx, edx
add esp, 0xc
cmp dword [esi + 0x24], edx
jbe 0x4239e1
nop dword [eax + eax]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
xor dword [ecx + edx], eax
add edx, 4
cmp edx, dword [esi + 0x24]
jb 0x4239d0
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x4239f3
push 0x696f778f
jmp 0x4239fd
cmp eax, 1
jne 0x423a20
push 0xc64ebfda
lea eax, [esi + 0x30]
mov dword [edi], esi
push eax
push ebx
call fcn.0041cf00
add esp, 0xc
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x423a20
or dword [esi + 0x38], 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov ebx, dword [esi + 0x1c]
add ebx, dword [esi + 0x18]
mov dword [ebp - 4], eax
lea eax, [esi + 0x40]
push eax
mov eax, dword [esi]
push 0x40
push ecx
push ebx
mov dword [ebp + 0x10], ecx
call eax
test eax, eax
jne 0x423a4a
or dword [esi + 0x38], 1
xor bl, bl
jmp 0x423a64
push dword [ebp + 0x10]
mov dword [esi + 0x2c], ebx
push dword [ebp - 4]
push ebx
call fcn.00417331
mov eax, dword [esi + 0x2c]
push edi
call eax
add esp, 0x10
mov bl, al
test byte [esi + 0x34], 1
jne 0x423a7e
xor ecx, ecx
cmp dword [esi + 0x30], ecx
jbe 0x423a7e
mov eax, dword [esi + 0x2c]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, dword [esi + 0x30]
jb 0x423a71
mov eax, dword [esi + 0x20]
test eax, eax
je 0x423a8e
push eax
mov eax, dword [esi + 0x14]
call eax
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret