joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa71ef0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0xb288a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00a6ebb0
add esp, 4
movzx edx, al
test edx, edx
je 0xa71f81
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00ad39a0
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0xa71f7f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0xa71f7f
jmp 0xa71f81
jmp 0xa71f03
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00ad2da2
mov esp, ebp
pop ebp
ret
Function at 0xa84ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0xa84b2c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0xa84b73
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00ad271e
add esp, 8
test eax, eax
jne 0xa84b71
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xa84b75
jmp 0xa84b23
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xaa6b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0xaa6bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0xaa6ba7
mov edx, dword [0xb3eee8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0xaa6b9b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xaa6b80
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0xaa6ba9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0xaa9a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb01737
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00aa8970
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00aa8970
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00aa8970
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00aa9330
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00aa9330
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00aa9330
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xaa9d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb01827
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00aa88a0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00aa88a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00aa88a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00aa9350
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00aa9350
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00aa9350
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xaabb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb0203a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0xb288a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x14], 0x8000
mov dword [ebp - 0x10], 0xb2b29c
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x45]
push eax
push 0x8000
lea ecx, [ebp - 0x44]
call fcn.00a858b0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00aaa680
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
call fcn.00aa9070
push eax
push 0x8000
push 0
lea ecx, [ebp - 0x44]
call fcn.00a85910
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00aa9070
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00aa9070
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00a666c0
push 0
lea ecx, [ebp - 0x44]
call fcn.00a85910
push eax
lea ecx, [ebp - 0x34]
call fcn.00a6b330
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00ab2bc0
add esp, 8
movzx eax, al
test eax, eax
je 0xaabc73
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00aa9370
mov edx, dword [ebp - 0xac]
or edx, 1
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00a6b3c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00a858f0
mov eax, dword [ebp + 8]
jmp 0xaabcc3
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.00aaf1f0
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00a6b3c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00a858f0
mov eax, dword [ebp + 8]
jmp 0xaabcc3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00ad2da2
mov esp, ebp
pop ebp
ret
Function at 0xaac360
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb021f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00aa9070
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0xaac416
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.00a858b0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00aa9070
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov ecx, dword [ebp + 8]
call fcn.00a6b330
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a858f0
mov eax, dword [ebp + 8]
jmp 0xaac435
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00a6b380
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0xaac830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb022e1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0xaac8d8
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00a858b0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov ecx, dword [ebp + 8]
call fcn.00a6b330
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a858f0
mov eax, dword [ebp + 8]
jmp 0xaac8f3
mov ecx, dword [ebp + 8]
call fcn.00a7e800
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0xaad2b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb02551
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.00a858b0
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00a85910
push eax
mov ecx, dword [ebp + 8]
call fcn.00a6b330
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00a858f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0xac0fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb055b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xb288a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsx eax, byte [0xb3f700]
test eax, eax
jne 0xac0fd5
call fcn.00ac0e90
movzx ecx, byte [0xb3f6f9]
test ecx, ecx
jne 0xac108f
movzx edx, byte [0xb3f6f8]
test edx, edx
jne 0xac108f
cmp dword [0xb3f804], 0
je 0xac1038
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0xb3f804]
push ecx
call fcn.00aacd70
add esp, 8
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x186
mov eax, dword [0xb3f804]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0xb3f804]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0xac108f
push 0xb3f700
lea ecx, [ebp - 0x74]
call fcn.00aa88a0
mov dword [ebp - 4], 0
push 0x10001
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00aacb80
add esp, 0x10
xor edx, edx
cmp eax, 2
sete dl
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00a666c0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0xac108f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0xacc1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0xacc1ff
mov eax, dword [eax + 4]
jmp 0xacc202
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0xacc28b
push esi
mov esi, dword [0xb3fbc0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0xacc270
cmp eax, 3
je 0xacc270
cmp eax, 0x7b
je 0xacc270
cmp eax, 0x57
je 0xacc270
cmp eax, 0xa1
je 0xacc270
cmp eax, 0x35
je 0xacc270
cmp eax, 0x20
jne 0xacc265
mov eax, dword [0xb3fbc4]
mov dword [ecx], eax
mov edx, dword [0xb3fbc8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0xb3fbc4]
mov dword [ecx], eax
mov edx, dword [0xb3fbc8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0xb3fbc4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0xb3fbc8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0xacc2b8
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0xacc2d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0xacc2df
mov eax, dword [eax + 4]
jmp 0xacc2e2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xacc36b
push esi
mov esi, dword [0xb3fbc0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0xacc350
cmp eax, 3
je 0xacc350
cmp eax, 0x7b
je 0xacc350
cmp eax, 0x57
je 0xacc350
cmp eax, 0xa1
je 0xacc350
cmp eax, 0x35
je 0xacc350
cmp eax, 0x20
jne 0xacc345
mov eax, dword [0xb3fbc4]
mov dword [ecx], eax
mov edx, dword [0xb3fbc8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0xb3fbc4]
mov dword [ecx], eax
mov edx, dword [0xb3fbc8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0xb3fbc4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0xb3fbc8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0xacc398
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0xad2da2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xb288a0]
jne 0xad2dac
repz ret
jmp fcn.00ade60c
Function at 0xadec6f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0xb29220]
je 0xadec8a
inc edi
cmp edi, 0x17
jb 0xadec7b
cmp edi, 0x17
jae 0xadee0a
push ebp
push 3
call fcn.00aec07e
cmp eax, 1
pop ecx
je 0xadedd6
push 3
call fcn.00aec07e
test eax, eax
pop ecx
jne 0xadecbe
cmp dword [0xb28960], 1
je 0xadedd6
cmp ebx, 0xfc
je 0xadee09
push 0xb2d0e4
mov ebx, 0x314
push ebx
mov ebp, 0xb40050
push ebp
call fcn.00ad1f4a
add esp, 0xc
test eax, eax
je 0xadecf4
push esi
push esi
push esi
push esi
push esi
call fcn.00ad367c
add esp, 0x14
push 0x104
mov esi, 0xb40069
push esi
push 0
mov byte [0xb4016d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xaded38
push 0xb2d0cc
push 0x2fb
push esi
call fcn.00ad1f4a
add esp, 0xc
test eax, eax
je 0xaded38
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00ad367c
add esp, 0x14
push esi
call fcn.00ad2770
inc eax
cmp eax, 0x3c
pop ecx
jbe 0xaded7d
push esi
call fcn.00ad2770
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0xb40364
push 0xb2d0c8
sub ecx, eax
push ecx
push eax
call fcn.00ad2db1
add esp, 0x14
test eax, eax
je 0xaded7d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00ad367c
add esp, 0x14
jmp 0xaded7f
xor esi, esi
push 0xb2b93c
push ebx
push ebp
call fcn.00ad1ed9
add esp, 0xc
test eax, eax
je 0xaded9f
push esi
push esi
push esi
push esi
push esi
call fcn.00ad367c
add esp, 0x14
push dword [edi*8 + 0xb29224]
push ebx
push ebp
call fcn.00ad1ed9
add esp, 0xc
test eax, eax
je 0xadedc1
push esi
push esi
push esi
push esi
push esi
call fcn.00ad367c
add esp, 0x14
push 0x12010
push 0xb2d0a0
push ebp
call fcn.00aebec1
add esp, 0xc
jmp 0xadee09
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0xadee09
cmp ebp, 0xffffffff
je 0xadee09
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0xb29224]
push dword [esi]
call fcn.00ad2770
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0xaebec1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00adde50
xor ebx, ebx
cmp dword [0xb406fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0xaebf97
push 0xb2e8d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0xaec077
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xb2e8c4
push edi
call esi
cmp eax, ebx
je 0xaec077
push eax
call fcn.00addde2
mov dword [esp], 0xb2e8b4
push edi
mov dword [0xb406fc], eax
call esi
push eax
call fcn.00addde2
mov dword [esp], 0xb2e8a0
push edi
mov dword [0xb40700], eax
call esi
push eax
call fcn.00addde2
mov dword [0xb40704], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00ad74bf
test eax, eax
pop ecx
pop ecx
je 0xaebf65
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00ad367c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0xaebf97
push 0xb2e884
push edi
call esi
push eax
call fcn.00addde2
cmp eax, ebx
pop ecx
mov dword [0xb4070c], eax
je 0xaebf97
push 0xb2e86c
push edi
call esi
push eax
call fcn.00addde2
pop ecx
mov dword [0xb40708], eax
mov eax, dword [0xb40708]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0xaec01c
cmp dword [0xb4070c], ecx
je 0xaec01c
push eax
call fcn.00adde59
push dword [0xb4070c]
mov esi, eax
call fcn.00adde59
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0xaec01c
cmp edi, ebx
je 0xaec01c
call esi
cmp eax, ebx
je 0xaebfe9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0xaebfe9
test byte [ebp - 0x18], 1
jne 0xaec01c
lea eax, [ebp - 0x10]
push eax
call fcn.00ad756e
test eax, eax
pop ecx
je 0xaec004
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00ad367c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0xaec013
or dword [ebp + 0x10], 0x200000
jmp 0xaec057
or dword [ebp + 0x10], 0x40000
jmp 0xaec057
mov eax, dword [0xb40700]
cmp eax, dword [ebp - 8]
je 0xaec057
push eax
call fcn.00adde59
cmp eax, ebx
pop ecx
je 0xaec057
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0xaec057
mov eax, dword [0xb40704]
cmp eax, dword [ebp - 8]
je 0xaec057
push eax
call fcn.00adde59
cmp eax, ebx
pop ecx
je 0xaec057
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xb406fc]
call fcn.00adde59
cmp eax, ebx
pop ecx
je 0xaec077
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0xaec079
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret