joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445b82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x100b4], ebx
je 0x445bee
cmp dword [edi + 0x80], ebx
jbe 0x445bee
mov eax, 0xffffff54
lea ecx, [edi + 0x100d8]
sub eax, edi
lea esi, [edi + 0xac]
mov dword [ebp + 8], eax
mov edx, dword [edi + 0x100e4]
push edx
push ecx
call fcn.00445ada
movzx ecx, byte [esi]
mov ebx, eax
push ecx
push edx
lea eax, [edi + 0x100d8]
push eax
call fcn.00445b38
xor byte [esi], bl
lea ecx, [edi + 0x100d8]
mov eax, dword [ebp + 8]
add esp, 0x14
inc esi
add eax, esi
cmp eax, dword [edi + 0x80]
jb 0x445bb3
xor ebx, ebx
mov esi, dword [edi + 0x80]
lea eax, [edi + 0xac]
push esi
push eax
push dword [edi + 0x2c]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
mov dword [edi + 0x80], ebx
or ecx, 0xffffffff
mov edx, ebx
cmp eax, esi
cmovne edx, ecx
add dword [edi + 0x100c8], esi
mov ecx, dword [edi + 0x48]
mov eax, edx
adc dword [edi + 0x100cc], ebx
add dword [edi + 0x100d0], ecx
mov dword [edi + 0x48], ebx
adc dword [edi + 0x100d4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4652c4
Capabilities:
Read file on windows

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

Function at 0x467840
Capabilities:
Set environment variable

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

Function at 0x46e8d6
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x8c]
add ebx, ecx
cmp esi, 0x102
jae 0x46e9e3
test esi, esi
je 0x46e9e3
xor edx, edx
mov eax, 0x1505
mov dword [ebp - 4], edx
test esi, esi
je 0x46e926
mov edi, edx
movzx ecx, byte [edi + ebx]
imul eax, eax, 0x21
add eax, ecx
inc edi
cmp edi, esi
jb 0x46e912
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
movzx eax, al
mov ebx, dword [edi + eax*4 + 0xb4]
mov dword [edi + eax*4 + 0xb4], ecx
mov dword [edi + 0x4c8], edx
test ebx, ebx
je 0x46e9e3
sub ecx, ebx
cmp ecx, esi
jbe 0x46e9e3
mov eax, dword [edi + 0x80]
sub eax, 0x106
cmp ecx, eax
jae 0x46e9e3
cmp esi, dword [edi + 0x4cc]
ja 0x46e9e3
test esi, esi
je 0x46e9b9
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [edi + 0x8c]
add eax, ecx
sub edx, ecx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, byte [esi + ecx]
mov esi, dword [ebp + 0x10]
jne 0x46e9e3
lea eax, [ebx + edx]
push eax
push edi
call fcn.0046e7ee
pop ecx
pop ecx
cmp eax, 1
jne 0x46e9e3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
inc edx
inc eax
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
cmp edx, esi
jb 0x46e986
mov eax, dword [edi + 0x8c]
lea ecx, [ebx + esi]
cmp byte [ecx + eax - 1], 0x3b
je 0x46e9d9
lea eax, [ebx + esi]
push eax
push edi
call fcn.0046e7ee
pop ecx
pop ecx
test eax, eax
jne 0x46e9e3
mov dword [edi + 0x4c8], ebx
mov eax, esi
jmp 0x46e9e5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f479
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x46f486
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0046f4eb
Function at 0x436500
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x26000]
mov dword [edi + 0x264cc], 0x8bb8d8ed
push edi
jmp 0x43652a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x436531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x436520
mov eax, 1
add ebx, ebx
jne 0x436543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x436538
jne 0x436554
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436538
xor ecx, ecx
sub eax, 3
jb 0x436568
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4365da
mov ebp, eax
add ebx, ebx
jne 0x436573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x436580
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4365a4
inc ecx
add ebx, ebx
jne 0x436590
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x436585
jne 0x4365a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436585
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4365c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4365b5
jmp 0x436526
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4365c4
add edi, ecx
jmp 0x436526
pop esi
mov edi, esi
mov ecx, 0x12c3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4365e2
cmp byte [edi], 7
jne 0x4365e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4365e7
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x436656
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x39d6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39e34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x436614
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39e38]
or eax, eax
je 0x436650
mov dword [ebx], eax
add ebx, 4
jmp 0x436631
call dword [esi + 0x39e48]
mov ebp, dword [esi + 0x39e3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43668a
sub esp, 0xffffff80
jmp 0x42596c
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402155
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4051d8
cmp edx, dword [eax]
je 0x402177
add eax, 8
inc ecx
cmp eax, 0x405268
jl 0x402168
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4051d8]
jne 0x4022a5
mov eax, dword [0x405588]
cmp eax, 1
je 0x40227f
test eax, eax
jne 0x4021a8
cmp dword [0x405124], 1
je 0x40227f
cmp edx, 0xfc
je 0x4022a5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4021df
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402870
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402222
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402870
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404398
push edi
call fcn.00403500
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402710
lea eax, [ebp - 0xa0]
push 0x404378
push eax
call fcn.00402710
push dword [esi + 0x4051dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040346e
add esp, 0x2c
pop edi
jmp 0x4022a5
lea eax, [ebp + 8]
lea esi, [esi + 0x4051dc]
push 0
push eax
push dword [esi]
call fcn.00402870
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0xedf3cc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xedf3d6
pushal
call 0xedf3dc
pop ebp
sub ebp, 0x10
sub ebp, 0xadf3cc
jmp 0xedf3f2
mov eax, 0xadf3cc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x8e2b0552
xor byte [eax], dl
inc eax
dec ecx
jne 0xedf409
jmp 0xedf41c
fstp dword [edi + 0x526edbd9]
push edx
push edx
rcl dword [ebx + 0x525252aa], cl
push ecx
lahf
ljmp 0x7ae8
Function at 0x41d9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xb1b15521
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
sub eax, 0xb1b15521
je 0x41d9f7
jmp 0x41d9df
mov eax, dword [ebp - 0x1c]
sub eax, 0x714b8794
je 0x41da1c
jmp 0x41d9f2
jmp 0x41da5d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push eax
mov eax, esp
mov dword [ebp - 0xc], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x714b8794
jmp 0x41da5d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041d6f0
add esp, 8
mov ah, al
mov al, ah
xor al, 0xff
and al, 1
mov dl, 1
xor dl, 1
and ah, dl
mov cl, 1
xor cl, 1
and cl, 0xff
and dl, 1
or al, ah
or cl, dl
xor al, cl
and al, 1
movzx eax, al
mov esp, ebp
pop ebp
ret
jmp 0x41d9c9

Function at 0x4288ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4288ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4288ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4288ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4288ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4288ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x43004b
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 0x4300e8
push ebx
push esi
call fcn.00430014
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.0042ffa8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x430095
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4300e7
push edi
push eax
call fcn.0042eae0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4300b5
call fcn.0042eb2e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4300e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042ffa8
add esp, 0x20
test eax, eax
jne 0x4300d4
push edi
call fcn.0042eb2e
jmp 0x4300dc
push ebx
call fcn.0042eb2e
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 0x4312f7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x439e90
push 0x439e88
push str.FlsAlloc
push 0x1f
call fcn.004311b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43132b
push dword [ebp + 8]
mov ecx, esi
call dword [0x437144]
call esi
jmp 0x431331
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x431375
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x439ea0
push 0x439e98
push str.FlsGetValue
push 0x21
call fcn.004311b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4313ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x437144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4313b4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x439ea8
push 0x439ea0
push str.FlsSetValue
push 0x22
call fcn.004311b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4313ee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x437144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4366c0
Capabilities:
Parse pe header

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

Disassembly:
call 0xc2b710a
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 0xc2b713a
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 0xc2b7156
xor edx, 0
jmp 0xc2b7161
xor edx, edx
jmp 0xc2b7178
jmp 0xc2b7184
xor eax, eax
push 0x8427d7c0
call 0xc2b7191
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0xc2b71cd
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 0xc2b71a6
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 0xc2b71e4
add eax, 0
jno 0xc2b71e9
add esi, 0
ret 0x10

Function at 0xc2b7f52
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 0xc2b7f74
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 0xc2b8116
cmp edi, dword [ebp + 0x10]
jb 0xc2b8116
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.0c2b7a3e
inc edi
jmp 0xc2b7ffd
jmp 0xc2b800a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0c2b7a3e
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0c2b7a3e
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 0xc2b805e
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 0xc2b8042
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0c2b808c
add dword [eax], 0x39
jle 0xc2b8068
sub al, 0xf5
mov ch, al
call fcn.0c2b80a1
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0xc2b9d79
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 0xc2b9d8f
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 0xc2b9da0
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0c2b9de1
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 0xc2bc14d
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 0xc2bc096
add ebx, 0
push ecx
call 0xc2bc0ab
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, 0x1008b243
sub ebx, dword [0x100aaa82]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aaa72
call fcn.0c2b7b75
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0c2b7083
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0xc2bc209
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0xc2bc209
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 0xc2bc1c0
mov eax, 1
lock xchg dword [0x100aaa7e], eax
push 0x3dd1fc71
call 0xc2bc14d
push esi
add esp, 8
cmp eax, 0
jne 0xc2bc136
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0xc2bc15c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0xc2bc171
cmp ecx, edx
cmp eax, 0
je 0xc2bc196
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 0xc2bc180
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0c2bc1af
dec eax
loope 0xc2bc1b2
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aaa7e], 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 0xc2bc1e6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0xc2bc1fb
jmp 0xc2bc206
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0xc2bc0f4
Function at 0xc2c326e
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 0xc2c3544
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100976f6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e6bc
push 0xffffffffffffffff
call fcn.0c2ba46e
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 0xc2c32d8
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0c2c32f0
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 0xc2c3538
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xc2c350c
Function at 0xc2d2d3e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xc2d2d60
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc2d2d60
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc2d2d60
ret
cmp word [ebx + 4], 0x14c
jne 0xc2d2d60
test word [ebx + 0x16], 2
je 0xc2d2d60
test word [ebx + 0x16], 0x100
je 0xc2d2d60
cmp word [ebx + 0x18], 0x10b
jne 0xc2d2d60
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc2d2d60
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc2d2dec
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc2d2d80
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c2b9ccb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc2d2d60
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0xc2d2dec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xc2d2d60
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc2d2d60
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc2d2d60
ret
cmp word [ebx + 4], 0x14c
jne 0xc2d2d60
test word [ebx + 0x16], 2
je 0xc2d2d60
test word [ebx + 0x16], 0x100
je 0xc2d2d60
cmp word [ebx + 0x18], 0x10b
jne 0xc2d2d60
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc2d2d60
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc2d2dec
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc2d2d80
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c2b9ccb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc2d2d60
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8