joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c5ae0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1010a040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100c5c6b
cmp dword [0x10824efc], 2
je 0x100c5c6b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x102df700]
mov dword [0x10824efc], 1
mov dword [0x10824ef8], 0
call esi
mov dword [0x10824ef4], eax
call esi
mov dword [0x10824ef0], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x10824eec], 0x7530
mov dword [0x10824ee8], edi
mov dword [0x10824ee4], 0
movzx eax, byte [eax + 8]
mov dword [0x10824ee0], eax
nop dword [eax]
xor al, al
mov edi, 6
mov byte [ebp - 0x105], al
mov ebx, 4
lea eax, [ebp - 0x100]
sub edi, eax
nop word [eax + eax]
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100c5be7
cmp byte [eax + 0x30c], 0
je 0x100c5be7
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x100c5bf5
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c5b90
mov al, byte [ebp - 0x105]
push 0xffffffffffffffff
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
mov byte [ebp - 0x104], 0xc1
mov byte [ebp - 0x103], bl
mov byte [ebp - 0x102], 0x14
call fcn.100bf5e0
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c5b70
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x10824f10], xmm0
mov ax, word [ecx + 8]
mov word [0x10824f18], ax
mov al, byte [ecx + 0xa]
mov byte [0x10824f1a], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d0970
mov esp, ebp
pop ebp
ret
Function at 0x100cd1f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x15
mov edi, 0x861110
call edi
mov esi, 0x85ec20
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 0x49
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 0x4f
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 0xe
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 8
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 7
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
push 0x41
call edi
mov ecx, eax
call esi
test al, al
jne 0x100cd30e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bb278]
cmp eax, 0x5dc
jb 0x100cd30e
cmp byte [0x102bb27d], 1
jne 0x100cd2b2
mov byte [0x102bb27d], 0
pop edi
mov dword [0xe8cb3c], 0
mov byte [0x108a1d4c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xd6f305c1
mov byte [ebp - 4], 0
call fcn.100c4b10
call esi
mov dword [0x102bb278], eax
mov byte [0x102bb27d], 1
mov dword [0xe8cb3c], 1
push 0x10
mov dword [0x108a1d28], 0
mov byte [0x108a1d38], 0x2a
mov byte [0x108a1d4c], 0
call edi
mov edx, 0x85f9a0
mov ecx, eax
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cead0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100ceb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100ceb30
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100ceb50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.100d25b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ceb90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x1081ef34]
test edx, 0xffff0000
jne 0x100cecd2
push edi
push 0x101013f8
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x100cecd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100cecd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100cecd1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100cecc7
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push edi
push esi
cmp ecx, dword [ebx + 8]
jne 0x100cec6d
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100cecd0
xor edi, edi
test edx, edx
je 0x100cecc7
nop dword [eax]
mov esi, dword [ebx + edi*4 + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebx]
jb 0x100cec30
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100cecd0
xor eax, eax
mov dword [ebp - 8], eax
test edx, edx
je 0x100cecc7
nop
mov esi, dword [ebx + eax*8 + 0x10]
mov edi, dword [ebx + eax*8 + 0xc]
lea eax, [ebp - 4]
add esi, dword [ebp + 8]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [edi], esi
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx]
jb 0x100cec90
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cedd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1010a040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.100d2b30
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x104]
call fcn.100b2860
add esp, 0x10
lea eax, [ebp - 0x104]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100cef00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10107e48
push 0x100d23e0
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1010a040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x13c], edx
push ecx
push str..PhysicalDrive_d
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x140], esi
cmp esi, 0xffffffff
je 0x100cf0a7
mov dword [ebp - 0x124], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 8
lea eax, [ebp - 0x134]
push eax
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100cefdf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100cf0a7
push dword [ebp - 0x130]
call fcn.100d0f8c
mov edi, eax
mov dword [ebp - 0x144], edi
push dword [ebp - 0x130]
push 0
push edi
call fcn.100d2b30
add esp, 0x10
push 0
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x130]
push edi
push 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100cf097
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100cf097
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x13c]
call fcn.100d9d7b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100d0f95
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100cf0a9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100d0f95
add esp, 4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100d0970
mov esp, ebp
pop ebp
ret

Function at 0x100e1764
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100e17a3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100e17a3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100e17a3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100e17a3
cmp dword [ecx + 0x74], 0xe
jbe 0x100e17a3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100e37a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x105498a0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100e37e2
cmp byte [ebx], 0xa
jne 0x100e37e2
or byte [edi + eax + 0x28], 4
jmp 0x100e37e7
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100e38e6
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100e38c9
inc eax
cmp dl, 0xd
je 0x100e3813
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100e3839
cmp eax, ecx
jae 0x100e3847
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100e37fb
jmp 0x100e38e6
push 0
lea eax, [ebp - 0x10]
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 0x100e38c4
cmp dword [ebp - 0x10], 0
je 0x100e38c4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x105498a0]
test byte [eax + edi + 0x28], 0x48
je 0x100e389e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100e3889
mov byte [esi], dl
jmp 0x100e389a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x105498a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100e38e6
cmp byte [ebp - 1], 0xa
jne 0x100e38ad
cmp esi, ebx
jne 0x100e38ad
mov byte [esi], 0xa
jmp 0x100e38e5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100eb90a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100e38e6
mov byte [esi], 0xd
jmp 0x100e38e5
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x105498a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100e38e3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100e38e6
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e38ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x105498a0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100e3935
cmp word [ebx], dx
jne 0x100e3935
or byte [eax + edi + 0x28], 4
jmp 0x100e393a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100e3a9d
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100e3a7d
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100e397b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100e39b1
cmp eax, edx
jae 0x100e39bf
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100e3956
jmp 0x100e3a9d
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e3a78
cmp dword [ebp - 0x18], 0
je 0x100e3a78
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x105498a0]
test byte [eax + edi + 0x28], 0x48
je 0x100e3a4e
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100e3a12
mov word [esi], cx
jmp 0x100e3a49
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x105498a0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x105498a0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x105498a0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100e3a9d
pop eax
cmp word [ebp - 4], ax
jne 0x100e3a5e
cmp esi, ebx
jne 0x100e3a5e
mov word [esi], ax
jmp 0x100e3a9a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100eb90a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100e3a9d
push 0xd
pop eax
jmp 0x100e3a59
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x105498a0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100e3a97
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100e3a9d
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e4601
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f9adc
push 0x100f9ad4
push str.FlsAlloc
push 0x1f
call fcn.100e4480
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100e4635
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f5334]
call esi
jmp 0x100e463b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100e467f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f9aec
push 0x100f9ae4
push str.FlsGetValue
push 0x21
call fcn.100e4480
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100e46b6
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f5334]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100e46be
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f9af4
push 0x100f9aec
push str.FlsSetValue
push 0x22
call fcn.100e4480
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100e46f8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100f5334]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100e8dc2
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 0x100e8e5f
push ebx
push esi
call fcn.100e8d8b
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.100e6548
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100e8e0c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e8e5e
push edi
push eax
call fcn.100e2b0a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100e8e2c
call fcn.100e2b58
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e8e5d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100e6548
add esp, 0x20
test eax, eax
jne 0x100e8e4b
push edi
call fcn.100e2b58
jmp 0x100e8e53
push ebx
call fcn.100e2b58
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 0x100e8e62
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e8e73
pop esi
ret
push ebx
push edi
push esi
call fcn.100e8d8b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100e2b0a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e8e9b
push ebx
push esi
push edi
call fcn.100d25b0
add esp, 0xc
push 0
call fcn.100e2b58
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100e926b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e8eb0
Function at 0x100ee791
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.100ee70d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100ee900
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100ee900
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100ee8b5
jg 0x100ee7ed
test eax, eax
je 0x100ee8ab
push 1
push 0x1000
call fcn.100e42bc
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100ee810
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100ee8a2
push 0x8000
push ebx
call fcn.100ee63e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100ee839
jg 0x100ee834
cmp ecx, 0x1000
jb 0x100ee839
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100eada5
add esp, 0x10
cmp eax, 0xffffffff
je 0x100ee87e
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 0x100ee834
jl 0x100ee865
test ecx, ecx
jne 0x100ee826
push dword [ebp - 0xc]
push ebx
call fcn.100ee63e
push esi
call fcn.100e2b58
add esp, 0xc
xor ebx, ebx
jmp 0x100ee90e
cmp byte [edi + 0x24], 0
je 0x100ee895
cmp dword [edi + 0x20], 5
jne 0x100ee895
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100ee8a0
mov ebx, dword [edi + 0x18]
jmp 0x100ee8a2
xor ebx, ebx
push esi
call fcn.100e2b58
pop ecx
jmp 0x100ee90e
test ecx, ecx
jg 0x100ee877
jl 0x100ee8b5
test eax, eax
jae 0x100ee877
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100eb90a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100ee8d5
cmp byte [edi + 0x1c], 0
je 0x100ee877
jmp 0x100ee906
push ebx
call fcn.100ea332
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100ee877
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 0x100ee90e
cmp byte [edi + 0x1c], 0
je 0x100ee90b
mov ebx, dword [edi + 0x18]
jmp 0x100ee90e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100eb90a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100f0f50
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40325b
pop dword [ebp - 0x38]
mov eax, 0xab45e87e
sub eax, 0xab05b623
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xfb5ee9fe
sub dword [ebp - 0x48], 0xad0ca4b3
mov dword [ebp - 0x44], 0xd6451037
sub dword [ebp - 0x44], 0xa411c3f2
mov dword [ebp - 0x40], 0x801c6d36
sub dword [ebp - 0x40], 0x33d02908
mov dword [ebp - 0x3c], 0xd5a97dc2
sub dword [ebp - 0x3c], 0xd5a97dc2
lea eax, [ebp - 0x48]
push eax
mov eax, 0xad0f3642
add eax, 0x53314a36
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x4b60447a
add dword [ebp - 0x48], 0x291224dc
mov dword [ebp - 0x44], 0xea3c5581
sub dword [ebp - 0x44], 0xa8cff40c
mov dword [ebp - 0x40], 0x2f8d0aa3
sub dword [ebp - 0x40], 0xcc1d9e37
mov dword [ebp - 0x3c], 0x5b8fbd4e
sub dword [ebp - 0x3c], 0x5b8fbd4e
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xb0641abf
add eax, 0x4fdc65bd
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x38090
push 0
call eax
mov ecx, 0xd4854f39
add ecx, 0x2b7afccb
xor esi, esi
add esi, eax
mov edi, 0xb51a3df8
add edi, 0x4b2ad608
add edi, dword [ebp - 0x38]
mov edx, 0xc5dd1f7b
add edx, 0xc64d02c
mov ebx, dword [edi]
add dword [ebp - 8], 0x4bf67ee7
xor ebx, edx
add dword [ebp - 0x28], ebx
mov dword [esi], ebx
sub dword [ebp - 0xc], edi
add esi, 0xefa41163
sub esi, 0xefa4115f
add edi, 0x3342e34c
sub edi, 0x3342e348
loop 0x40337f
add eax, 0x122e3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbf1ab53
add ecx, 0xf44e54ad
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x493b1f49
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5eb15ca0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219