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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00438640
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x442e20
cmp esi, dword [ebp - 4]
je 0x442e1b
cmp dword [ebp + 0xc], 0
je 0x442e1b
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x442df8
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00442903
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x442e22
xor eax, eax
inc eax
jmp 0x442e22
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x442e87
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45c068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00438640
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00438640
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x442efe
cmp word [ecx], dx
je 0x442efe
mov eax, dword [0x4505ac]
push edi
dec eax
push eax
push 0x450498
call fcn.00442e26
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x442f71
cmp word [eax], dx
je 0x442f71
mov eax, dword [edi]
test eax, eax
je 0x442f22
cmp word [eax], dx
je 0x442f22
lea eax, [ebp - 0x10]
push eax
call fcn.00442809
jmp 0x442f2b
lea eax, [ebp - 0x10]
push eax
call fcn.004428a4
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x442f9b
mov eax, dword [0x450494]
push dword [ebp - 0x14]
dec eax
push eax
push 0x450188
call fcn.00442e26
add esp, 0xc
test al, al
je 0x442f9b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x442f66
cmp word [eax], di
je 0x442f66
lea eax, [ebp - 0x10]
push eax
call fcn.00442809
pop ecx
jmp 0x442f9d
lea eax, [ebp - 0x10]
push eax
call fcn.004428a4
jmp 0x442f63
mov eax, dword [edi]
test eax, eax
je 0x442f88
cmp word [eax], dx
je 0x442f88
lea eax, [ebp - 0x10]
push eax
call fcn.004427be
pop ecx
jmp 0x442f9b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x443066
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00442cab
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x443066
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x443066
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x443066
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x442ff3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043b8b4
test ebx, ebx
je 0x443061
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043b8b4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x443066
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x443066
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00446b0d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x443068
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004241dc
leave
ret
Function at 0x4471a5
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00447121
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x447314
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x447314
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4472c9
jg 0x447201
test eax, eax
je 0x4472bf
push 1
push 0x1000
call fcn.00438fab
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x447224
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4472b6
push 0x8000
push ebx
call fcn.004362da
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44724d
jg 0x447248
cmp ecx, 0x1000
jb 0x44724d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043a9df
add esp, 0x10
cmp eax, 0xffffffff
je 0x447292
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 0x447248
jl 0x447279
test ecx, ecx
jne 0x44723a
push dword [ebp - 0xc]
push ebx
call fcn.004362da
push esi
call fcn.00438ab2
add esp, 0xc
xor ebx, ebx
jmp 0x447322
cmp byte [edi + 0x24], 0
je 0x4472a9
cmp dword [edi + 0x20], 5
jne 0x4472a9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4472b4
mov ebx, dword [edi + 0x18]
jmp 0x4472b6
xor ebx, ebx
push esi
call fcn.00438ab2
pop ecx
jmp 0x447322
test ecx, ecx
jg 0x44728b
jl 0x4472c9
test eax, eax
jae 0x44728b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043d20c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4472e9
cmp byte [edi + 0x1c], 0
je 0x44728b
jmp 0x44731a
push ebx
call fcn.00440d82
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44728b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x447322
cmp byte [edi + 0x1c], 0
je 0x44731f
mov ebx, dword [edi + 0x18]
jmp 0x447322
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043d20c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44842d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44842d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0xc]
cmp dword [edi + ecx], 0
jne 0xff7a7021
pop edi
pop esi
mov eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov edi, dword [edi + 0x254ec81]
rcl bl, 1
mov ecx, dword [ebp - 0x4f]
push ebx
mov cl, 0x53
push esi
xor esi, esi
mov edi, dword [esi - 0x75]
push ecx
add al, 0x89
inc ebp
xor cl, byte [ebx - 0x76a8efbb]
jne 0x4070db
mov al, byte [eax]
mov dword [ebp - 4], esi
test al, al
dec eax
jp 0x4070d9
mov dword [ebp - 0x10], esi
push edi
jne 0x4070d7
je 0x407156
fmul qword [edi]
test cl, bh
or bh, byte [eax]
add byte [edx + 0x253c145d], cl
je 0x4070b6
adc byte [ebp - 0xc], al
test eax, eax
je 0x407143
sal byte [ebp + ebp - 0x56], 0x45
stosb byte es:[edi], al
inc ebp
fdiv qword [edx + 0x1c]
mov edi, dword [ebp + 0x1d]
push edi
mov dword [edi], eax
call dword [ebp + 8]
adc ebx, 4
test eax, eax
sbb eax, 0xff078957
push ebp
or byte [ebx - 0x3f7afb2d], al
jne 0xf38492
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0xc], eax
mov cl, byte [edx]
mov byte [eax - 1], cl
inc dword [ebp - 0x14]
jmp 0x6c40839f
jns 0x407113
inc eax
add byte [eax + 0xcd], bh
xor edx, edx
inc edi
cmp ebp, ecx
mov dword [ebx - 0x44], esi
add byte [eax], al
add byte [ebx], dh
rol byte [edi + 0x39], cl
int 0x89
jae 0x40711d
mov dword [ebp + 0x3a], eax
mov dword [ebp - 0x38], edx
stosb byte es:[edi], al
push ebp
les ecx, [ecx + 0x45c4d455]
pop ss
and byte [eax + 0x7d89fb58], cl
adc byte [esi + 0x12], bh
mov dl, byte [edi]
and eax, dword [edx]
push edx
call dword [sym.imp.MSVCRT.dll__isctype]
add esp, 8
xor ebx, dword [ebx + 0xd8b12eb]
js 0x407150
inc eax
add cl, dl
ror byte [edx - 0x75f6746f], 4
inc ecx
and eax, 2
cmp eax, edx
paddusw mm1, mm1
iretd
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5d8aba
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5d87dc
sub edi, edi
and eax, edi
dec edi
call fcn.005d8aee
dec edi
sub edi, eax
and edi, eax
xor dword [ecx], edx
and eax, eax
add ecx, 2
mov eax, eax
sub edi, eax
and edi, edi
cmp ecx, ebx
jl fcn.005d8aba
mov eax, 0x23b79cf6
ret
Function at 0x1ca4a20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5c1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 1
test eax, eax
je 0x1ca4be4
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1ca4b25
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax + eax]
cmp dword [0x538b70], 0x10
mov ecx, 0x538b5c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x538b5c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.01ca5110
inc esi
cmp esi, 4
jl 0x1ca4af0
mov edx, dword [ebp - 0x1c]
xor esi, esi
mov ch, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1ca4a90
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1ca4be4
mov eax, 3
sub eax, esi
mov dword [ebp + 8], eax
cmp esi, 3
jge 0x1ca4b66
push eax
lea eax, [ebp - 0x14]
add eax, esi
push 0
push eax
call fcn.01d746e0
mov dl, byte [ebp - 0x12]
add esp, 0xc
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x1ca4b69
mov dl, byte [ebp - 0xf]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x1ca4bd0
xor esi, esi
cmp dword [0x538b70], 0x10
mov ecx, 0x538b5c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x538b5c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.01ca5110
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x1ca4ba3
mov esi, dword [ebp - 0x1c]
cmp esi, 3
jge 0x1ca4be4
push 0x3d
mov ecx, edi
call fcn.01ca5110
sub dword [ebp + 8], 1
jne 0x1ca4bd5
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1ca6180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5e8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.01d5adfd
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x1ca6226
push eax
push esi
call fcn.01d5b13e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x5204a0
call fcn.01d5a6e0
int3
Function at 0x1cacc60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x526640]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x1f], 0x2b273825
mov dword [ebp - 0x1b], 0x2425233e
mov byte [ebp - 0x17], 0
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x2f]
push eax
call fcn.01d02ea0
mov byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x18
jb 0x1cacc90
mov dword [ebp - 0x16], 0x262e3e24
xor ecx, ecx
mov dword [ebp - 0x12], 0x262e6426
mov word [ebp - 0xe], 0x26
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x16]
push eax
call fcn.01d02ea0
mov byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 9
jb 0x1caccc0
push ebx
push esi
push edi
lea eax, [ebp - 0x16]
push eax
call dword [0x505058]
lea ecx, [ebp - 0x2f]
push ecx
push eax
call dword [0x5050cc]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [0x5050ec]
mov dword [ebp - 4], eax
test eax, eax
je 0x1cacd86
mov esi, dword [0x5394e4]
push esi
push edi
push eax
call dword [0x5050c0]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [0x5051e8]
cmp ebx, 0xc0000004
jne 0x1cacd67
nop dword [eax]
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x1cacd7c
push esi
push 0
push ebx
call dword [0x5050c0]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [0x5051e8]
cmp ebx, 0xc0000004
je 0x1cacd30
test ebx, ebx
jns 0x1cacd8c
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x5394e4]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x5394e4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1cadcc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7516
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x18], 1
xor ecx, ecx
mov word [ebp - 0xf], 0x2838
mov byte [ebp - 0xd], 0
nop
movzx eax, byte [ebp + ecx - 0xf]
push eax
call fcn.01d02ea0
mov byte [ebp + ecx - 0xf], al
inc ecx
cmp ecx, 2
jb 0x1cadd30
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0xf]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.01d78550
mov edi, eax
add esp, 8
test edi, edi
je 0x1caddcc
push 2
push 0
push edi
call fcn.01d7c326
push edi
call fcn.01d780db
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call fcn.01d7c326
mov ecx, dword [esi + 0x10]
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x1cadda0
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1cadd97
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0x1caddaf
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.01d04100
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1caddb9
mov ecx, dword [esi]
push edi
push eax
push 1
push ecx
call fcn.01d80dcf
push edi
call fcn.01d7bdd8
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01ca5090
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1cb7090
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [0x50511c]
test eax, eax
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1cb7210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, 1
lea edi, [ebp - 0x10]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x10], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 8]
shr ebx, 0x1f
and bl, 1
mov dword [ebp - 0xd], 0x24382f21
mov dword [ebp - 9], 0x7879262f
xor ecx, ecx
mov dword [ebp - 5], 0x26262e64
mov byte [ebp - 1], 0
nop
movzx eax, byte [ebp + ecx - 0xd]
push eax
call fcn.01d02ea0
mov byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 0xc
jb 0x1cb7260
lea eax, [ebp - 0xd]
push eax
call dword [0x505058]
test eax, eax
movzx ecx, bl
mov eax, 1
pop edi
cmove ecx, eax
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1d02ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1d039e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500e7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x10], eax
call fcn.01d04e80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], 0x505d94
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x53b510]
mov ecx, dword [0x53b514]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1d03b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500eae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x521cc8
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.01ca6a30
push 8
call fcn.01d5c230
push 1
mov esi, eax
call fcn.01d5b03e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 2
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 2
push eax
call fcn.01d051e0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov edx, 2
mov byte [ebp + 0xb], al
mov dword [ebp - 0x10], edx
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x1d03c8d
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x1d03ca9
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.01ca6a30
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc