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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x101339d8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x1006b4ad
mov eax, dword [0x101339d0]
add eax, 0x14
test byte [eax], 2
je 0x1006b40a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1006b3f5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1006b4ad
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1006b180
mov ecx, dword [0x101339d8]
add esp, 4
cmp esi, ecx
jae 0x1006b45b
imul edi, esi, 0x2c
mov eax, dword [0x101339d0]
test byte [edi + eax + 0x14], 2
jne 0x1006b450
mov ecx, esi
call fcn.1006b2c0
mov ebx, eax
test ebx, ebx
jne 0x1006b458
mov ecx, dword [0x101339d8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1006b431
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1006b4ac
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1006b49d
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1006b491
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1006b470
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10110a1c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006f220
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x10070468]
Function at 0x10077110
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b0717
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100b1b5e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x20], ecx
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x1012a3a4]
mov dword [eax], 0
mov eax, dword [0x1012a3a0]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x38], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10086030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10086058
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10085d90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1009c420
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
je 0x1009c437
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.1009c420
mov eax, edx
ret
Function at 0x100a7580
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100de349
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x1010f2d4]
push ebx
sub esp, 0x24
mov edx, dword [eax + edx*4]
mov eax, dword [0x10133948]
push esi
mov esi, ecx
cmp eax, dword [edx + 4]
jle 0x100a76cb
push 0x10133948
call fcn.100b0641
add esp, 4
cmp dword [0x10133948], 0xffffffff
jne 0x100a76cb
mov dword [ebp - 4], 0
xor ecx, ecx
mov ax, word [0x100f3854]
movq xmm0, qword [str.ZVRYSJ]
mov word [ebp - 0x13], ax
mov al, byte [0x100f3856]
movq qword [ebp - 0x1b], xmm0
mov byte [ebp - 0x11], al
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x34
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 0xb
jl 0x100a7614
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7650
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10049b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae ecx, dword [ebp - 0x34]
call fcn.100470f0
mov edx, str.C6_87___________8B_06_8B_CE_FF_90
mov ecx, eax
call fcn.1006d060
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 2]
mov dword [0x1013393c], eax
cmp ecx, 0x10
jb 0x100a76be
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a76b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a76e5
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x10133948
call fcn.100b05f7
add esp, 4
mov eax, dword [0x1013393c]
mov ecx, dword [ebp - 0xc]
mov al, byte [eax + esi]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100b7b82
int3
Function at 0x100b21d4
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.100b21b0
pop esi
leave
ret 8

Function at 0x100ba4eb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10106018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x100e3338
push esi
call fcn.100c6445
pop ecx
pop ecx
test eax, eax
jne 0x100ba519
xor al, al
jmp 0x100ba596
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.100ba22e
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x100ba553
push dword [ebp - 0x210]
call fcn.100ba6f2
xor al, al
jmp 0x100ba594
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100ba559
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x100ba579
push edx
call fcn.100ba421
pop ecx
test al, al
je 0x100ba544
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x100ba587
mov bl, 1
push dword [ebp - 0x210]
call fcn.100ba6f2
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b143f
leave
ret

Function at 0x100c6943
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100e5688
push 0x100e5680
push str.FlsAlloc
push 0x1e
call fcn.100c67b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100c6977
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e1218]
call esi
jmp 0x100c697d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100c69c1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100e5698
push 0x100e5690
push str.FlsGetValue
push 0x20
call fcn.100c67b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100c69f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e1218]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100c8a08
Capabilities:
Read file on windows

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

Function at 0x100c8f0a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100d6fa0
mov eax, dword [0x10106018]
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.100c5da7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100c8f4c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100c90a8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100d6d10
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 + 0x1010fb80]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100ca995
mov ecx, dword [esi*4 + 0x1010fb80]
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 0x100c90a1
cmp eax, dword [edi + ecx + 0x24]
jne 0x100c90a1
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 0x100c90a1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ca995
add esp, 0x14
test edx, edx
jl 0x100c90a1
jg 0x100c9017
test eax, eax
jb 0x100c90a1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100c90a1
jl 0x100c9031
cmp dword [ebp - 0x1008], eax
ja 0x100c90a1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100c904f
test ebx, ebx
je 0x100c9088
cmp ecx, edi
jae 0x100c9088
mov al, byte [ecx]
cmp al, 0xd
jne 0x100c9069
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100c9075
cmp byte [ecx + 1], 0xa
jne 0x100c9075
inc ecx
jmp 0x100c9075
movzx eax, al
movsx eax, byte [eax + 0x10106478]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100c904f
cmp edx, ebx
jne 0x100c904f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100c90a6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100b143f
leave
ret
Function at 0x100c9e33
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 + 0x1010fb80]
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 0x100c9e73
cmp byte [ebx], 0xa
jne 0x100c9e73
or byte [eax + edi + 0x28], 4
jmp 0x100c9e78
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100c9f76
mov al, byte [edx]
cmp al, 0x1a
je 0x100c9f58
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100c9ea7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100c9ecc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100c9ed6
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 0x100c9e89
jmp 0x100c9f76
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 0x100c9f53
cmp dword [ebp - 0xc], 0
je 0x100c9f53
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1010fb80]
test byte [eax + edi + 0x28], 0x48
je 0x100c9f2d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100c9f18
mov byte [esi], dl
jmp 0x100c9f29
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1010fb80]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100c9f76
cmp byte [ebp - 1], 0xa
jne 0x100c9f3c
cmp esi, ebx
jne 0x100c9f3c
mov byte [esi], 0xa
jmp 0x100c9f75
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100ca9b3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100c9f76
mov byte [esi], 0xd
jmp 0x100c9f75
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1010fb80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100c9f72
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100c9f76
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100c9f7f
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 + 0x1010fb80]
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 0x100c9fc2
cmp word [esi], dx
jne 0x100c9fc2
or byte [edi + eax + 0x28], 4
jmp 0x100c9fc7
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 0x100ca11a
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 0x100ca0fa
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100ca009
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100ca03f
cmp eax, edx
jae 0x100ca04b
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 0x100c9fe1
jmp 0x100ca11a
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 0x100ca0f6
cmp dword [ebp - 0x14], 0
je 0x100ca0f6
mov eax, dword [ebx*4 + 0x1010fb80]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100ca0ce
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100ca097
mov word [esi], cx
jmp 0x100ca0ca
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1010fb80]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x1010fb80]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1010fb80]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100ca11a
pop ebx
cmp word [ebp - 4], bx
jne 0x100ca0df
cmp esi, dword [ebp + 0xc]
jne 0x100ca0df
mov word [esi], bx
jmp 0x100ca117
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100ca9b3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100ca11a
push 0xd
jmp 0x100ca113
mov ecx, dword [ebx*4 + 0x1010fb80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ca111
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ca11a
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 0x100cc726
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 0x100cc7c3
push ebx
push esi
call fcn.100cc6ef
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.100c87c2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100cc770
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100cc7c2
push edi
push eax
call fcn.100c4f72
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100cc790
call fcn.100c4f38
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100cc7c1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100c87c2
add esp, 0x20
test eax, eax
jne 0x100cc7af
push edi
call fcn.100c4f38
jmp 0x100cc7b7
push ebx
call fcn.100c4f38
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 0x100cc7c6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100cc7d7
pop esi
ret
push ebx
push edi
push esi
call fcn.100cc6ef
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100c4f72
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100cc7ff
push ebx
push esi
push edi
call fcn.100b3840
add esp, 0xc
push 0
call fcn.100c4f38
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100ccbc3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cc814
Function at 0x100d5f91
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.100d5f0d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100d6109
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100d6109
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100d60b8
jg 0x100d5fea
test eax, eax
je 0x100d60ae
push 1
push 0x1000
call fcn.100c8a13
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100d6010
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100d60a5
push 0x8000
push ebx
call fcn.100d5e3e
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 0x100d603c
jg 0x100d6037
cmp ecx, 0x1000
jb 0x100d603c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100c8218
add esp, 0x10
cmp eax, 0xffffffff
je 0x100d6081
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 0x100d6037
jl 0x100d6068
test ecx, ecx
jne 0x100d6029
push dword [ebp - 0xc]
push ebx
call fcn.100d5e3e
push esi
call fcn.100c4f38
add esp, 0xc
xor edi, edi
jmp 0x100d611a
cmp byte [edi + 0x24], 0
je 0x100d6098
cmp dword [edi + 0x20], 5
jne 0x100d6098
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100d60a3
mov edi, dword [edi + 0x18]
jmp 0x100d60a5
xor edi, edi
push esi
call fcn.100c4f38
pop ecx
jmp 0x100d611a
test ecx, ecx
jg 0x100d607a
jl 0x100d60b8
test eax, eax
jae 0x100d607a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ca9b3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100d60db
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100d607a
jmp 0x100d6112
push ebx
call fcn.100c70ff
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100d607a
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 0x100d611a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100d6117
mov edi, dword [edi + 0x18]
jmp 0x100d611a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100ca9b3
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100d6c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100d6c5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d6c5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44d950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x439015
lea edi, [esi - 0x38015]
push edi
or ebp, 0xffffffff
jmp 0x44d972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44d979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44d968
mov eax, 1
add ebx, ebx
jne 0x44d98b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44d99c
jne 0x44d9ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44d9ac
dec eax
add ebx, ebx
jne 0x44d9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44d980
xor ecx, ecx
sub eax, 3
jb 0x44d9c4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44da36
sar eax, 1
mov ebp, eax
jmp 0x44d9cf
add ebx, ebx
jne 0x44d9cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44d9dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44da00
inc ecx
add ebx, ebx
jne 0x44d9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44d9e1
jne 0x44d9fd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44d9e1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44da20
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44da11
jmp 0x44d96e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44da20
add edi, ecx
jmp 0x44d96e
pop esi
mov edi, esi
mov ecx, 0x1448
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44da3e
cmp byte [edi], 7
jne 0x44da3e
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 eax, ebx
loop 0x44da43
lea edi, [esi + 0x4b000]
mov eax, dword [edi]
or eax, eax
je 0x44dab2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d0a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44da70
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4d0a4]
or eax, eax
je 0x44daac
mov dword [ebx], eax
add ebx, 4
jmp 0x44da8d
call dword [esi + 0x4d0a8]
popal
jmp 0x401220
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x205151d1
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0xec0651d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219