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

Disassembly:
push 0x20
mov eax, 0x53802b
call fcn.004e4785
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4a8eb2
cmp byte [ebx + 0x3d], 0
je 0x4a8eb2
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4a8dec
xor al, al
jmp 0x4a8eb4
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00416bc9
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4a8e4a
sub eax, 1
je 0x4a8e4e
dec eax
sub eax, 1
je 0x4a8ea0
xor bl, bl
jmp 0x4a8ea2
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4a8e86
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050fb31
add esp, 0x10
cmp esi, eax
jne 0x4a8e46
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4a8ea0
test esi, esi
jne 0x4a8e10
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00416d26
jmp 0x4a8e0a
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
mov al, bl
jmp 0x4a8eb4
mov al, 1
call fcn.004e472f
ret
Function at 0x4b0eb4
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x539764
call fcn.004e4751
mov ecx, dword [ebp + 0x10]
xor edx, edx
push 3
mov eax, ecx
xor ebx, ebx
pop esi
div esi
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov dword [ebp - 0x1c], ebx
test edx, edx
je 0x4b0ee9
inc ecx
xor edx, edx
mov eax, ecx
inc edi
div esi
test edx, edx
jne 0x4b0eda
mov dword [ebp - 0x1c], edi
mov eax, ecx
xor edx, edx
shl eax, 2
div esi
mov esi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x4b0f0e
mov eax, dword [esi]
jmp 0x4b0f10
mov eax, esi
mov byte [eax], bl
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 1
call fcn.00414724
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 2
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b1002
mov edi, ebx
mov ecx, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x10]
jae 0x4b0f4a
movzx eax, byte [ecx + edi]
mov dword [ebp - 0x10], eax
jmp 0x4b0f4d
mov dword [ebp - 0x10], ebx
lea eax, [edi + 1]
cmp eax, dword [ebp + 0x10]
jae 0x4b0f5c
movzx edx, byte [edi + ecx + 1]
jmp 0x4b0f5e
mov edx, ebx
inc eax
cmp eax, dword [ebp + 0x10]
jae 0x4b0f6e
movzx eax, byte [edi + ecx + 2]
mov dword [ebp - 0x14], eax
jmp 0x4b0f71
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov cl, al
and al, 3
shr cl, 2
shl al, 4
mov dword [ebp - 0x10], eax
mov al, dl
shr al, 4
and dl, 0xf
add byte [ebp - 0x10], al
mov al, byte [ebp - 0x14]
and byte [ebp - 0x14], 0x3f
shr al, 6
shl dl, 2
add dl, al
movzx eax, cl
mov ecx, esi
mov dword [ebp - 0x28], edx
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
mov ecx, dword [ebp - 0x10]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
mov ecx, dword [ebp - 0x28]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
mov ecx, dword [ebp - 0x14]
movzx eax, cl
mov ecx, esi
movzx eax, byte [eax + 0x53f510]
push eax
call fcn.004308aa
add edi, 3
sub dword [ebp - 0x18], 1
jne 0x4b0f39
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test edi, edi
je 0x4b101e
cmp dword [esi + 0x14], 0x10
jb 0x4b1010
mov eax, dword [esi]
jmp 0x4b1012
mov eax, esi
sub eax, ebx
inc ebx
mov byte [eax + ecx - 1], 0x3d
cmp ebx, edi
jb 0x4b1006
mov eax, esi
call fcn.004e471a
ret
Function at 0x4b1450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 4
and edi, 0xf
inc eax
mov dword [ebp - 8], 0
movzx ecx, ax
xor esi, esi
mov dword [ebp - 4], 0x409
mov dword [ebp + 8], ecx
movzx eax, word [ebp + esi*4 - 8]
push eax
push ecx
push 6
push dword [0x5e7a58]
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
test eax, eax
je 0x4b14d5
push eax
push dword [0x5e7a58]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4b14d5
push eax
call ebx
test eax, eax
je 0x4b14d5
test edi, edi
jle 0x4b14ce
mov edx, edi
nop dword [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + ecx*2]
add eax, 2
sub edx, 1
jne 0x4b14c0
movzx ecx, word [eax]
test ecx, ecx
jne 0x4b14e0
inc esi
cmp esi, 2
jae 0x4b14ea
mov ecx, dword [ebp + 8]
jmp 0x4b1481
pop edi
pop esi
add eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x5a9cb4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5dc390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push ebx
push dword [esi + 0xc]
call fcn.004b1120
mov eax, dword [ebx + 4]
add esp, 0xc
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 8], eax
lea eax, [ebp - 0x18]
push 2
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
je 0x4b488f
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, edx
mov dword [ebx + 0xc], eax
add ecx, edx
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
jmp 0x4b48ab
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebx]
mov esi, ecx
mov edi, dword [ebx + 8]
sub ecx, edi
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x34], ecx
add edx, edi
mov ecx, dword [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, edi
sub esi, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp - 0x14]
sub esi, edi
mov dword [ebx + 0x2c], esi
add eax, edi
sub esi, edi
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 0x24], esi
xor ecx, ebp
pop esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edx
pop ebx
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
Function at 0x4b5ab0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x5dc390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebx]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], ebx
call fcn.004cdc70
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x4b5b30
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call ebx
movzx esi, al
or esi, 0xffffff00
push 5
shl esi, 8
call ebx
shr eax, 8
movzx edi, al
or edi, esi
push 5
shl edi, 8
call ebx
mov ebx, dword [ebp - 0x254]
shr eax, 0x10
movzx eax, al
or eax, edi
push eax
push dword [ebx]
call fcn.004ce170
mov esi, dword [ebp - 0x258]
add esp, 8
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.004b4810
mov eax, dword [ebp - 0x244]
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp eax, ecx
jge 0x4b5be3
mov edx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x238]
cmp edx, edi
jge 0x4b5be3
movd xmm0, eax
lea eax, [ebp - 0x204]
cvtdq2ps xmm0, xmm0
push 0x100
push eax
push dword [esi]
movss dword [ebp - 0x214], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x210], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x208], xmm0
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff000000
push dword [ebx + 4]
call fcn.004cdae0
push 9
push dword [ebx + 4]
lea eax, [ebp - 0x204]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 8]
push dword [ebx]
call fcn.004ce6a0
add esp, 0x24
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004b5620
mov ecx, dword [esi + 0x10]
add esp, 0xc
and ecx, 0x3f
cmp ecx, 9
ja case.default.0x4b5c03
jmp dword [ecx*4 + 0x4b5cbc]
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004b9ef0
add esp, 0xc
jmp case.default.0x4b5c03
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004bb410
add esp, 0xc
jmp case.default.0x4b5c03
cmp ecx, 3
je 0x4b5c41
cmp ecx, 5
je 0x4b5c41
xor edx, edx
jmp 0x4b5c46
mov edx, 1
cmp ecx, 4
je 0x4b5c54
cmp ecx, 5
je 0x4b5c54
xor eax, eax
jmp 0x4b5c59
mov eax, 1
lea ecx, [ebp - 0x250]
push ecx
push ebx
push edx
push eax
push esi
call fcn.004b8c70
add esp, 0x14
jmp case.default.0x4b5c03
lea eax, [ebp - 0x250]
push eax
xor eax, eax
cmp ecx, 7
push ebx
sete al
push eax
push esi
call fcn.004b7620
jmp 0x4b5c9e
lea eax, [ebp - 0x250]
push eax
xor eax, eax
cmp ecx, 9
push ebx
sete al
push eax
push esi
call fcn.004b3c60
add esp, 0x10
push dword [ebx]
call fcn.004cdee0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
Function at 0x4b6780
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5dc390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
add eax, dword [edi + 4]
mov cl, byte [edi + 8]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x4b6896
test eax, eax
je 0x4b6896
push esi
test cl, cl
jle 0x4b680c
push eax
push 0x53f7dc
push ebx
call fcn.004b3130
mov edx, eax
add esp, 0xc
movsx eax, byte [edi + 8]
mov ecx, edx
add eax, edx
cmp edx, eax
jge 0x4b67ef
mov esi, 0x30
nop dword [eax + eax]
mov word [ebx + ecx*2], si
inc ecx
movsx eax, byte [edi + 8]
add eax, edx
cmp ecx, eax
jl 0x4b67e0
movsx eax, byte [edi + 8]
add eax, edx
xor ecx, ecx
pop esi
pop edi
mov word [ebx + eax*2], cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
movsx eax, cl
mov esi, 0xa
neg eax
cmp eax, 1
je 0x4b682a
dec eax
nop dword [eax]
lea esi, [esi + esi*4]
add esi, esi
sub eax, 1
jne 0x4b6820
push 4
lea eax, [ebp - 0xc]
push eax
push 0xe
call dword [sym.imp.KERNEL32.DLL_GetThreadLocale]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4b6856
mov eax, 0x2e
mov dword [ebp - 0x10], 1
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0xc]
cdq
xor eax, edx
movsx ecx, byte [edi + 8]
sub eax, edx
neg ecx
cdq
idiv esi
lea eax, [ebp - 0xc]
push edx
push ecx
push eax
mov eax, dword [ebp + 0xc]
cdq
idiv esi
push dword [ebp - 0x10]
push eax
push str._d_.s_0.d
push ebx
call fcn.004b3130
add esp, 0x1c
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
push eax
push 0x53f7dc
push ebx
call fcn.004b3130
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop ebx
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret

Function at 0x4bd620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x13]
and eax, 1
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004b1450
Function at 0x4c10d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 0x100
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x4c111a
cmp ebx, 9
je 0x4c111a
cmp ebx, 8
je 0x4c111a
cmp ebx, 0x2e
je 0x4c111a
cmp ebx, 0x56
je 0x4c1106
cmp ebx, 0x43
je 0x4c1106
cmp ebx, 0x58
je 0x4c1106
cmp ebx, 0x5a
jne 0x4c1113
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x4c111a
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x20], ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 8]
movsx eax, si
mov dword [ebp - 0x14], eax
shr esi, 0x10
movsx eax, si
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x14]
push edx
push 0x540754
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
pop edi
pop esi
test eax, eax
jne 0x4c11c4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4c11c4
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push 0x540704
push ecx
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4c11b9
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4c11b9
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
push ecx
mov eax, dword [eax + 0x14]
call eax
sub eax, 0
jne 0x4c11ae
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3430
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5dc390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
mov dword [ebp - 0x68], 0x30
xor eax, eax
mov dword [ebp - 0x1c], edi
xor esi, esi
mov dword [ebp - 0x64], 0xe3
mov dword [ebp - 0x3c], 0xffffffff
cmp ax, word [ebx + 0x22]
jae 0x4c34de
mov edx, 0x1000
nop word [eax + eax]
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], eax
xor ecx, ecx
movsx eax, word [ebx + 0x4c]
cmp esi, eax
mov eax, dword [ebx + 0x1c]
cmove ecx, edx
mov dword [ebp - 0x5c], ecx
movzx ecx, si
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x44], ecx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c34b0
lea eax, [ebp - 0x68]
sub ecx, edx
push eax
push 1
push esi
sar ecx, 1
push edi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
movzx eax, word [ebx + 0x22]
inc esi
mov edx, 0x1000
cmp esi, eax
jl 0x4c3480
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
push eax
push edi
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.USER32.dll_GetMenuInfo]
or dword [ebp - 0x30], 0x4000000
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_SetMenuInfo]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xca
push 0x419
push dword [ebx + 8]
call edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x14
push ecx
push eax
push 0x41d
push dword [ebx + 8]
call edi
push 0
push 0xca
push 0x412
push dword [ebx + 8]
call edi
movzx esi, ax
mov eax, esi
or eax, 2
push eax
push 0xca
push 0x411
push dword [ebx + 8]
call edi
push 2
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 8
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_DestroyMenu]
push esi
push 0xca
push 0x411
push dword [ebx + 8]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
Function at 0x4d13b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d13cf
pop edi
pop esi
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4d13f1
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
jne 0x4d13f8
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
push ebx
push eax
call fcn.004d1370
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4e6f92
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x51ab97
Capabilities:
Read file on windows

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

Function at 0x51f22d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051eeed
Function at 0x1001a485
Capabilities:
Encode data using xor

Disassembly:
call 0x1001a3fe
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001a42e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001a44a
xor edx, 0
jmp 0x1001a455
xor edx, edx
jmp 0x1001a46c
jmp 0x1001a478
xor eax, eax
push 0x8427d7c0
call 0x1001a485
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001a4c1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001a49a
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001a4d8
add eax, 0
jno 0x1001a4dd
add esi, 0
ret 0x10

Function at 0x1001b246
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001b268
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001b40a
cmp edi, dword [ebp + 0x10]
jb 0x1001b40a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001ad32
inc edi
jmp 0x1001b2f1
jmp 0x1001b2fe
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ad32
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ad32
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001b352
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001b336
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001b380
add dword [eax], 0x39
jle 0x1001b35c
sub al, 0xf5
mov ch, al
call fcn.1001b395
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1001d06d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001d083
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001d094
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001d0d5
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1001f441
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001f38a
add ebx, 0
push ecx
call 0x1001f39f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x100a624a
sub ebx, dword [0x100c5a89]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c5a79
call fcn.1001ae69
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001a377
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001f4fd
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001f4fd
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1001f4b4
mov eax, 1
lock xchg dword [0x100c5a85], eax
push 0x3dd1fc71
call 0x1001f441
push esi
add esp, 8
cmp eax, 0
jne 0x1001f42a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001f450
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001f465
cmp ecx, edx
cmp eax, 0
je 0x1001f48a
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1001f474
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001f4a3
dec eax
loope 0x1001f4a6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c5a85], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1001f4da
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001f4ef
jmp 0x1001f4fa
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001f3e8
Function at 0x10026562
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10026838
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b26fd
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a96c3
push 0xffffffffffffffff
call fcn.1001d762
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100265cc
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100265e4
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1002682c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10026800