joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4236cb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004236a7
pop esi
leave
ret 8

Function at 0x42561d
Capabilities:
Parse pe header

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

Function at 0x43047a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x458dd0
push esi
call fcn.0043b1ab
pop ecx
pop ecx
test eax, eax
jne 0x4304a8
xor al, al
jmp 0x430525
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004301bd
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4304e2
push dword [ebp - 0x210]
call fcn.0042acb5
xor al, al
jmp 0x430523
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4304e8
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x430508
push edx
call fcn.004303b0
pop ecx
test al, al
je 0x4304d3
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x430516
mov bl, 1
push dword [ebp - 0x210]
call fcn.0042acb5
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004249b0
leave
ret
Function at 0x438438
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004380da

Function at 0x438443
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438269

Function at 0x438a49
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45b098
push 0x45b090
push str.FlsAlloc
push 0x1e
call fcn.004388b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x438a7d
push dword [ebp + 8]
mov ecx, esi
call dword [0x453250]
call esi
jmp 0x438a83
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x438ac7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45b0a8
push 0x45b0a0
push str.FlsGetValue
push 0x20
call fcn.004388b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x438afe
push dword [ebp + 8]
mov ecx, esi
call dword [0x453250]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x43935e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004250d0
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004360e2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4393a0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4394fc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00450b70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x46b8f8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0043a0fd
mov ecx, dword [esi*4 + 0x46b8f8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4394f5
cmp eax, dword [edi + ecx + 0x24]
jne 0x4394f5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4394f5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043a0fd
add esp, 0x14
test edx, edx
jl 0x4394f5
jg 0x43946b
test eax, eax
jb 0x4394f5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4394f5
jl 0x439485
cmp dword [ebp - 0x1008], eax
ja 0x4394f5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4394a3
test ebx, ebx
je 0x4394dc
cmp ecx, edi
jae 0x4394dc
mov al, byte [ecx]
cmp al, 0xd
jne 0x4394bd
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4394c9
cmp byte [ecx + 1], 0xa
jne 0x4394c9
inc ecx
jmp 0x4394c9
movzx eax, al
movsx eax, byte [eax + 0x469438]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4394a3
cmp edx, ebx
jne 0x4394a3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4394fa
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004249b0
leave
ret
Function at 0x43959b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x46b8f8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4395db
cmp byte [ebx], 0xa
jne 0x4395db
or byte [eax + edi + 0x28], 4
jmp 0x4395e0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4396de
mov al, byte [edx]
cmp al, 0x1a
je 0x4396c0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x43960f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x439634
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x43963e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4395f1
jmp 0x4396de
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4396bb
cmp dword [ebp - 0xc], 0
je 0x4396bb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x46b8f8]
test byte [eax + edi + 0x28], 0x48
je 0x439695
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x439680
mov byte [esi], dl
jmp 0x439691
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x46b8f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4396de
cmp byte [ebp - 1], 0xa
jne 0x4396a4
cmp esi, ebx
jne 0x4396a4
mov byte [esi], 0xa
jmp 0x4396dd
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043a11b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4396de
mov byte [esi], 0xd
jmp 0x4396dd
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x46b8f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4396da
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4396de
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4396e7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x46b8f8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43972a
cmp word [esi], dx
jne 0x43972a
or byte [edi + eax + 0x28], 4
jmp 0x43972f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x439882
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x439862
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x439771
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4397a7
cmp eax, edx
jae 0x4397b3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x439749
jmp 0x439882
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43985e
cmp dword [ebp - 0x14], 0
je 0x43985e
mov eax, dword [ebx*4 + 0x46b8f8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x439836
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4397ff
mov word [esi], cx
jmp 0x439832
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x46b8f8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x46b8f8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x46b8f8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x439882
pop ebx
cmp word [ebp - 4], bx
jne 0x439847
cmp esi, dword [ebp + 0xc]
jne 0x439847
mov word [esi], bx
jmp 0x43987f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043a11b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x439882
push 0xd
jmp 0x43987b
mov ecx, dword [ebx*4 + 0x46b8f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x439879
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x439882
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44025b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4402f8
push ebx
push esi
call fcn.00440224
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043f1c5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4402a5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4402f7
push edi
push eax
call fcn.0043a179
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4402c5
call fcn.00437af6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4402f6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043f1c5
add esp, 0x20
test eax, eax
jne 0x4402e4
push edi
call fcn.00437af6
jmp 0x4402ec
push ebx
call fcn.00437af6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4402fb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44030c
pop esi
ret
push ebx
push edi
push esi
call fcn.00440224
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043a179
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x440334
push ebx
push esi
push edi
call fcn.004260f0
add esp, 0xc
push 0
call fcn.00437af6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x440a80
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004405a7
Function at 0x447a85
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00447a01
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x447bfd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x447bfd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x447bac
jg 0x447ade
test eax, eax
je 0x447ba2
push 1
push 0x1000
call fcn.004385b8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x447b04
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x447b99
push 0x8000
push ebx
call fcn.00433975
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x447b30
jg 0x447b2b
cmp ecx, 0x1000
jb 0x447b30
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004378f6
add esp, 0x10
cmp eax, 0xffffffff
je 0x447b75
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x447b2b
jl 0x447b5c
test ecx, ecx
jne 0x447b1d
push dword [ebp - 0xc]
push ebx
call fcn.00433975
push esi
call fcn.00437af6
add esp, 0xc
xor edi, edi
jmp 0x447c0e
cmp byte [edi + 0x24], 0
je 0x447b8c
cmp dword [edi + 0x20], 5
jne 0x447b8c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x447b97
mov edi, dword [edi + 0x18]
jmp 0x447b99
xor edi, edi
push esi
call fcn.00437af6
pop ecx
jmp 0x447c0e
test ecx, ecx
jg 0x447b6e
jl 0x447bac
test eax, eax
jae 0x447b6e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043a11b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x447bcf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x447b6e
jmp 0x447c06
push ebx
call fcn.0043b5c3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x447b6e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x447c0e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x447c0b
mov edi, dword [edi + 0x18]
jmp 0x447c0e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043a11b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448ae0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x448b1d
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x46a460]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x448b00
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x448bca
sub ecx, 1
je 0x448baf
sub ecx, 1
je 0x448b88
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x450a90
Capabilities:
Parse pe header

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

Function at 0x7920e6
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x7920ec
pop ebp
sub ebp, 0x10
sub ebp, 0x3920dc
jmp 0x792102
mov eax, 0x3920dc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cc
mov edx, 0x1389ed9d
xor byte [eax], dl
inc eax
dec ecx
jne 0x792119
invalid
jmp 0x79212c
add byte [0x160c48d3], ah
push ss
push eax
push ss
adc al, 0xa1
popfd
popfd
popfd
sbb al, 0x5c
popfd
popfd
popfd
sahf
push eax
and eax, 0x9d9d9d99
daa
mov ch, 0x9d
popfd
popfd
push 0x7f
sahf
push ebp
push ss
sbb al, 0x91
popfd
popfd
popfd
sahf
pop eax
int 0xcd
cmc
in eax, dx
xchg ebx, eax
popfd
cmc
imul dword [edi]
mov bh, 0x9d
pushfd
mov cl, 0xb9
cmc
xor eax, 0x75202350
cwde
popfd
popfd
popfd
je 0x792122
popfd
popfd
popfd
enter 0xffffffffffffc0c9, 0x16
sbb byte [ebp + 0x169d9d9d], dl
or byte [ecx + 0x169d9d9d], dl
adc byte [ebp + 0x5c9d9d9d], cl
je 0x792127
lodsb al, byte [esi]
lahf
push ds
pop edi
cdq
aam 0x92
sbb byte [ecx + 0x62], ch
bound esp, qword [edx - 0x40]
pop edi
xchg ecx, eax
popfd
push ss
adc dword [ecx - 0x62626267], edi
cmc
in eax, dx
xchg ebx, eax
popfd
cmc
imul dword [edi]
mov bh, 0x9d
pushfd
mov cl, 0xb9
int3
Function at 0x700e370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x700e37f
pop dword [ebp - 0x14]
mov eax, 0xcd5e60e2
sub eax, 0xc65d7d63
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x3f876710
add dword [ebp - 0x24], 0xecade3b
mov dword [ebp - 0x20], 0x4773eb6d
sub dword [ebp - 0x20], 0x15409f28
mov dword [ebp - 0x1c], 0x64cc132e
add dword [ebp - 0x1c], 0xe7803100
mov dword [ebp - 0x18], 0xd73d6d95
add dword [ebp - 0x18], 0x28c2926b
lea eax, [ebp - 0x24]
push eax
mov eax, 0x45c24e6a
sub eax, 0x3ec12e3a
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x8f86e873
add dword [ebp - 0x24], 0xe4eb80e3
mov dword [ebp - 0x20], 0x3388c7ac
sub dword [ebp - 0x20], 0xf21c6637
mov dword [ebp - 0x1c], 0x1c7cfbd6
add dword [ebp - 0x1c], 0x46f27096
mov dword [ebp - 0x18], 0x61585210
sub dword [ebp - 0x18], 0x61585210
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x7705d404
add eax, 0x8ffb4c30
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39c99
push 0
call eax
mov ecx, 0xb6bcf4d4
add ecx, 0x49434ff8
mov esi, eax
mov edx, 0xe0d71f7b
add edx, 0x262ac085
add edx, dword [ebp - 0x14]
mov ebx, 0x39268ac2
add ebx, 0x11665de
add dword [ebp - 0x10], 0xc2f89622
mov edi, dword [edx]
mov dword [ebp - 4], 0x17630795
sub edi, ebx
xor dword [ebp - 8], 0x6506df9e
mov dword [esi], edi
sub dword [ebp - 0x10], 0x54f13ec
add esi, 4
add edx, 0x43c4e1de
sub edx, 0x43c4e1da
loop 0x700e4a1
add eax, 0x10603
xor ebx, ebx
add ebx, eax
add eax, 0x4579866c
add eax, 0xba867999
mov ecx, 0x7000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x1001c6e0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [section..data]
test ecx, ecx
js 0x1001c728
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [section..data], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.10187ab0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1001c799
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001c7f0
push str.GetNativeSystemInfo
push 0x101d0e50
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c7f0
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x1001c7d0
cmp ax, 6
jne 0x1001c7f0
mov dword [section..data], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x1001d2c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xb
mov ecx, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x63005f
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], 0x6e006f
mov dword [ebp - 0x14], 0x690066
mov dword [ebp - 0x10], 0x2e0067
mov dword [ebp - 0xc], 0x6e0069
mov dword [ebp - 8], 0x69
call fcn.1001e830
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101454ca
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], 0x5f0073
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
push 3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x74
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
call fcn.1001e830
cmp dword [ebp - 0x1c], 8
lea ebx, [edi + 4]
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0
cmovae esi, dword [ebp - 0x30]
push ebx
call fcn.100b668c
add esp, 4
test eax, eax
je 0x1001d4b8
push eax
call fcn.100b6744
add esp, 4
push dword [edi + 0x34]
push 0
push esi
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push ebx
mov byte [ebp - 4], 1
call fcn.100b66b1
add esp, 4
test eax, eax
je 0x1001d4e5
push eax
call fcn.100b6744
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1001d51b
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d539
push edx
push ecx
call fcn.101454bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
int3