joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40844d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push edi
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call fcn.0040805e
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
lea eax, [ebp + eax*2 - 0x228]
mov word [eax], dx
mov word [eax - 2], dx
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], edx
mov word [ebp - 0x10], 0x14
mov dword [ebp - 0xe], edx
mov dword [ebp - 6], edx
mov dword [ebp - 0xa], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop edi
je 0x4084d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
leave
ret
mov al, 1
leave
ret

Function at 0x4084d9
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40853e
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4084f2
sub eax, edx
sar eax, 1
lea esi, [edi + eax*2 - 2]
jmp 0x40850c
dec esi
dec esi
cmp esi, edi
je 0x40853a
cmp word [esi], 0x5c
jne 0x408506
and word [esi], 0
push edi
call fcn.004084d9
test al, al
pop ecx
mov word [esi], 0x5c
je 0x40853e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x40853e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x408540
mov al, 1
pop edi
pop esi
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x511e7ca5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1ce010a6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402f80
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x48e5e8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x48e5ec]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], edx
call fcn.00402f70
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x48e5f0]
mov edx, dword [0x48e5f4]
add edi, 0x23f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea esp, [esp]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x495dec]
shl esi, 4
add esi, dword [ebp - 0x1c]
cmp eax, 0xfa9
jne 0x40300c
mov dword [0x495de8], 0xedeb2e40
jmp 0x403027
cmp eax, 0x3eb
jne 0x403027
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x495878], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x495dec], 0x9e6
mov dword [0x495de4], 0xf4ea3dee
jne 0x403060
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor dword [ebp - 4], esi
cmp dword [0x495dec], 0x213
jne 0x4030dc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0xcc4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [ebp - 0x4c4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub ebx, dword [ebp - 4]
cmp dword [0x495dec], 0xc
jne 0x403100
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, ebx
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x14]
lea ecx, [edi + ebx]
xor esi, ecx
cmp dword [0x495dec], 0xb03
jne 0x403135
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x402fe0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403170
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x495dec]
shr eax, 3
push ebx
mov ebx, dword [0x49587c]
test eax, eax
jbe 0x4031f7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], eax
jmp 0x4031a0
cmp dword [0x495dec], 0x959
jne 0x4031e6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call edi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push ebx
call fcn.00402f80
add ebx, 8
sub dword [ebp - 4], 1
jne 0x4031a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40962b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d748]
jne 0x409635
repz ret
jmp fcn.0040ce51

Function at 0x40b53e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407d68
and dword [ebp - 4], 0
cmp dword [0x493868], 0
mov ebx, eax
jne 0x40b5ef
push 0x401ab8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401aac
push edi
call esi
test eax, eax
je 0x40b6a0
push eax
call fcn.00407cf6
mov dword [esp], 0x401a9c
push edi
mov dword [0x493868], eax
call esi
push eax
call fcn.00407cf6
mov dword [esp], 0x401a88
push edi
mov dword [0x49386c], eax
call esi
push eax
call fcn.00407cf6
mov dword [esp], 0x401a6c
push edi
mov dword [0x493870], eax
call esi
push eax
call fcn.00407cf6
pop ecx
mov dword [0x493878], eax
test eax, eax
je 0x40b5ef
push 0x401a54
push edi
call esi
push eax
call fcn.00407cf6
pop ecx
mov dword [0x493874], eax
mov eax, dword [0x493874]
cmp eax, ebx
je 0x40b647
cmp dword [0x493878], ebx
je 0x40b647
push eax
call fcn.00407d71
push dword [0x493878]
mov esi, eax
call fcn.00407d71
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b647
test edi, edi
je 0x40b647
call esi
test eax, eax
je 0x40b63e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b63e
test byte [ebp - 0xc], 1
jne 0x40b647
or dword [ebp + 0x10], 0x200000
jmp 0x40b680
mov eax, dword [0x49386c]
cmp eax, ebx
je 0x40b680
push eax
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b680
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b680
mov eax, dword [0x493870]
cmp eax, ebx
je 0x40b680
push eax
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b680
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x493868]
call fcn.00407d71
pop ecx
test eax, eax
je 0x40b6a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420b4b
Capabilities:
Parse pe header

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

Function at 0x433300
Capabilities:
Parse pe header

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

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x416f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f38
mov eax, 1
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f50
jne 0x416f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f50
xor ecx, ecx
sub eax, 3
jb 0x416f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416ff2
mov ebp, eax
add ebx, ebx
jne 0x416f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416fbc
inc ecx
add ebx, ebx
jne 0x416fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f9d
jne 0x416fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416fcd
jmp 0x416f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fdc
add edi, ecx
jmp 0x416f3e
pop esi
mov edi, esi
mov ecx, 0x712
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416ffa
cmp byte [edi], 0xa
jne 0x416ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x416fff
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41706e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41702c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417068
mov dword [ebx], eax
add ebx, 4
jmp 0x417049
call dword [esi + 0x17080]
popal
jmp 0x407cd2
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x86731a9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x3df2af6
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x6bf42c6f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x254
mov dword [esp + 0x14], 0x652
mov dword [esp + 0x10], 0xfffff1aa
mov dword [esp + 0xc], 0xffff7b4e
mov dword [esp + 8], 0xffff586e
mov dword [esp + 4], 0x12f82
mov dword [esp], 0xfffe8010
call fcn.6bf425ca
mov dword [ebp - 0x14], eax
mov dword [esp + 0x18], 0xffff4db9
mov dword [esp + 0x14], 0xb937
mov dword [esp + 0x10], 0xfee4
mov dword [esp + 0xc], 0x1621f
mov dword [esp + 8], 0xfffe943b
mov dword [esp + 4], 0x650c
mov dword [esp], 0xfffedf17
call fcn.6bf4276f
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword fs:[eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x236]
mov ecx, 0x1fe
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
jmp 0x6bf42e71
mov dword [esp + 0x1c], 0x466e
mov dword [esp + 0x18], 0xffff4701
mov dword [esp + 0x14], 0x15bbc
mov dword [esp + 0x10], 0x13785
mov dword [esp + 0xc], 0xffff2645
mov dword [esp + 8], 0xffffe5be
mov dword [esp + 4], 0x461b
mov dword [esp], 0xe8ca
call fcn.6bf42947
shl eax, 3
neg eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x2c
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.6bf41627
mov dword [ebp - 0x30], eax
mov dword [esp + 0x20], 0x3804
mov dword [esp + 0x1c], 0xffff299d
mov dword [esp + 0x18], 0x5837
mov dword [esp + 0x14], 0xfffe898c
mov dword [esp + 0x10], 0xfffe88ac
mov dword [esp + 0xc], 0xffff6d75
mov dword [esp + 8], 0x19df
mov dword [esp + 4], 0xfffe9914
mov dword [esp], 0xfffe8129
call fcn.6bf42aa5
mov dword [ebp - 0x10], eax
jmp 0x6bf42e3c
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp], eax
call fcn.6bf4257e
movsx dx, al
mov eax, dword [ebp - 0x10]
mov word [ebp + eax*2 - 0x236], dx
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jle 0x6bf42e10
lea eax, [ebp - 0x236]
mov dword [esp], eax
call fcn.6bf4195a
cmp dword [ebp + 8], eax
jne 0x6bf42e65
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x6bf42e80
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jne 0x6bf42d53
mov eax, dword [ebp - 0x14]
add esp, 0x254
pop ebx
pop edi
pop ebp
ret
Function at 0x6bf431d2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [esp + 0x14], 0x13074
mov dword [esp + 0x10], 0xffff2d08
mov dword [esp + 0xc], 0xffffd573
mov dword [esp + 8], 0x14b21
mov dword [esp + 4], 0x8af2
mov dword [esp], 0xffff0bea
call fcn.6bf42e8a
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x20], eax
mov dword [esp + 0x18], 0x1528f
mov dword [esp + 0x14], 0xffff9a26
mov dword [esp + 0x10], 0xffffb794
mov dword [esp + 0xc], 0x9e9b
mov dword [esp + 8], 0x134b9
mov dword [esp + 4], 0xfffed182
mov dword [esp], 0xffff7c0a
call fcn.6bf42f83
mov dword [ebp - 8], eax
jmp 0x6bf432e9
mov eax, dword [ebp - 8]
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [esp], eax
call fcn.6bf41823
cmp dword [ebp + 0xc], eax
jne 0x6bf432e5
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x20]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x18]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x6bf432f4
add dword [ebp - 8], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 8], eax
jb 0x6bf4329e
cmp dword [ebp - 4], 0
je 0x6bf43304
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add eax, edx
jmp 0x6bf43338
mov dword [esp + 0x14], 0x30fe
mov dword [esp + 0x10], 0x151d4
mov dword [esp + 0xc], 0xffff7180
mov dword [esp + 8], 0xfffec14a
mov dword [esp + 4], 0xf535
mov dword [esp], 0x1181b
call fcn.6bf430a4
leave
ret

Function at 0x6bf48a30
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6bf49570
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6bf49570
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x6bf48a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6bfe3074]
test esi, esi
jle 0x6bf48bb0
mov eax, dword [0x6bfe3078]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x6bf48ac4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6bf48b47
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6bf48ab0
mov dword [esp], ebx
call fcn.6bf49280
mov edi, eax
test eax, eax
je 0x6bf48bd7
mov eax, dword [0x6bfe3078]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6bf493c0
mov edx, dword [0x6bfe3078]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6bf48bb7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6bf48b40
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6bf48b50
add dword [0x6bfe3074], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6bfe3078]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6bf48b40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6bf48a30
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6bf48ace
mov eax, dword [0x6bfe3078]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6bf48a30
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6bf48a30
lea esi, [esi]
nop

Function at 0x6bf48ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6bfe3084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6bfe307c]
sub esp, 4
test ebx, ebx
je 0x6bf48f45
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6bf48f3e
test esi, esi
je 0x6bf48f3e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6bf48f20
mov dword [esp], 0x6bfe3084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6bf49280
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6bf40000], 0x5a4d
jne 0x6bf492a5
mov ecx, dword [0x6bf4003c]
cmp dword [ecx + 0x6bf40000], 0x4550
lea edx, [ecx + 0x6bf40000]
je 0x6bf492b0
ret
cmp word [ecx + 0x6bf40018], 0x10b
jne 0x6bf492a5
push esi
movzx eax, word [ecx + 0x6bf40014]
push ebx
movzx esi, word [ecx + 0x6bf40006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6bf40000
test si, si
je 0x6bf492f8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6bf492ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6bf492fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6bf492e0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x6934a690
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.693592d0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.693592d0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6934a6f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x69467054]
test esi, esi
jle 0x6934a810
mov eax, dword [0x69467058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x6934a724
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6934a7a7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6934a710
mov dword [esp], ebx
call fcn.6934aee0
mov edi, eax
test eax, eax
je 0x6934a837
mov eax, dword [0x69467058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6934b020
mov edx, dword [0x69467058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6934a817
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6934a7a0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6934a7b0
add dword [0x69467054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x69467058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6934a7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6934a690
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6934a72e
mov eax, dword [0x69467058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6934a690
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6934a690
lea esi, [esi]
nop