joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ce3f
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 0x1000cedc
push ebx
push esi
call fcn.1000ce08
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.1000cd9c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000ce89
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000cedb
push edi
push eax
call fcn.1000ddfa
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000cea9
call fcn.1000b8e4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ceda
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000cd9c
add esp, 0x20
test eax, eax
jne 0x1000cec8
push edi
call fcn.1000b8e4
jmp 0x1000ced0
push ebx
call fcn.1000b8e4
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 0x1000d149
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014678
push 0x10014670
push str.FlsAlloc
push 0x1f
call fcn.1000d065
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d17d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013158]
call esi
jmp 0x1000d183
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d1c7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014688
push 0x10014680
push str.FlsGetValue
push 0x21
call fcn.1000d065
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d1fe
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d206
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014690
push 0x10014688
push str.FlsSetValue
push 0x22
call fcn.1000d065
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d240
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100128c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100128ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100128ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10283012
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102b188c], 0x1baf
mov dword [ebp - 0x10], eax
call fcn.10282ec5
xor ecx, ecx
mov edx, eax
mov dword [0x102b188c], 0x1202
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov ebx, dword [0x102b1890]
mov dword [ebp - 0x14], eax
mov eax, ebx
add eax, 0xffffe1a3
mov dword [0x102b1890], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + esi], 0x4550
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
je 0x10283133
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [0x102b1890], 0x219f
mov eax, dword [eax + 0x78]
mov dword [0x102b188c], 0xe0a
mov edx, dword [ebp - 0x20]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x20]
mov edi, dword [esi + eax + 0x18]
cmp edi, 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
je 0x102831c2
jmp 0x1028314d
xor eax, eax
mov dword [0x102b188c], 0x2122
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], eax
jae 0x102831c2
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x10283161
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x20]
add edi, dword [edx + ecx*4]
mov dword [0x102b188c], 0x12b1
mov dword [ebp - 0x34], edi
jmp 0x102831c2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, 0xffffce46
mov dword [0x102b188c], ecx
mov dword [ebp - 0x24], eax
jmp 0x10283076
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
jmp 0x102830ef
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x20]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x102831b2
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x10283161
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1028310b
jmp 0x102830bd
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10283406
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102b1898], 0
mov byte [0x102b189c], 0
mov dword [0x102b188c], 0xb4
mov dword [0x102b1894], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x102b188c], 0x14fa
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b1894]
add eax, 1
mov dword [0x102b1894], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028344b
xor eax, eax
mov dword [0x102b1894], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102b18a0], 0
mov edx, dword [0x102b1898]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102b18a0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102b1898], edx
mov dword [0x102b1890], 0x1128
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102b189c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102b189c]
mov edx, dword [0x102b1898]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102b1890], 0x1c9
mov edx, dword [0x102b1894]
add edx, 1
mov dword [0x102b1894], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1028348a
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10283539
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102b1894], 0
mov dword [0x102b1898], 0
mov dword [0x102b18a4], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1028368a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102b188c], 0x25d2
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102b1894], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102b1898], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102b189c], cl
mov dword [0x102b188c], 0x1914
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102b188c], 0x1987
mov dword [0x102b1890], 0x18d0
mov cl, byte [0x102b189c]
mov edx, dword [0x102b1898]
mov byte [edi + edx], cl
mov edx, dword [0x102b1894]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102b1898]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102b18a4], ebx
mov dword [0x102b188c], 0x1f44
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1028368a
mov eax, dword [0x102b1894]
mov ecx, dword [0x102b1898]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10283592
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10283705
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10283705]
mov ecx, dword [0x102b1890]
add ecx, 0x1573
mov dword [0x102b1890], ecx
mov ecx, dword [0x102b188c]
add ecx, 0x7e9
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x10283751
mov eax, 0x27b1
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jne 0x10283737
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10283737
mov eax, dword [ebp - 0x10]
mov dword [0x102b188c], eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
Function at 0x10283783
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov dword [0x102b1890], 0x2139
mov dword [0x102b188c], 0xad4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, 1
mov ecx, dword [ebp - 0x30]
mov byte [ecx], 0x56
mov dword [ebp - 0x34], eax
jmp 0x1028387d
mov eax, dword [ebp - 0x38]
mov dword [0x102b188c], 0x22a
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102b1890], 0xc23
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10283c41
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x102b188c], 0x2dce
mov dword [ecx + 0x3c], 0xc0
mov edx, dword [0x102b1890]
add edx, 0x39b
mov dword [0x102b1890], edx
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
add ecx, 0x1d8f
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10283874
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10286528]
mov dh, byte [eax + 0x102864f9]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x1028387d
mov dword [0x102b188c], 0x1396
call fcn.10283e74
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10282a32
mov dword [0x102b188c], 0xb56
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x102837c3
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x102838fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x102b1890]
add edx, 0x26f7
mov dword [0x102b1890], edx
mov dword [0x102b188c], 0xb6d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x102839ff
lea eax, [0x10286507]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102b188c], 0x280
mov dword [0x102b1890], 0x50
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10283406
mov dword [0x102b1890], 0x1716
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.10283539
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x13bd2d
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x112600
mov ecx, dword [ebp - 0x144]
add ecx, 0xe0a0e
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov dword [0x102b1890], 0x65a
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xc4
mov esi, dword [edi]
imul edi, eax, 0xc8
add edx, edi
add edx, 0x84
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x367
mov ecx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x102839ff
xor eax, eax
mov dword [0x102b1890], 0x2139
mov dword [0x102b188c], 0x2700
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov cl, byte [eax + 0x10286528]
mov dl, byte [eax + 0x102864f9]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x14c], eax
jne 0x10283a74
lea eax, [ebp - 0x12c]
mov dword [0x102b188c], 0xfffffb72
mov dword [ebp - 0x150], eax
call fcn.10283e74
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.10282a32
mov ecx, eax
mov dword [0x102b18ac], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xc4
mov esi, dword [edi]
imul edi, eax, 0xc8
mov ebx, edx
add ebx, edi
add ebx, 0x3c
mov edi, dword [ebx]
imul ebx, eax, 0xc8
add edx, ebx
add edx, 0x84
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], edx
call fcn.1028298d
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
add edx, 1
cmp edx, 0x367
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], edx
je 0x10283942
jmp 0x10283b11
Function at 0x10283d25
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [0x102b188c]
add eax, 0xfffff426
mov dword [0x102b188c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102b1890], 0xb46
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10283da2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10283e6c
jmp 0x10283e65
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10283e45
jmp 0x10283e65
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10283dcf
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10283da2
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x102b188c]
mov edx, ecx
add edx, 0xfffffe97
mov dword [0x102b1890], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
jne 0x10283e65
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x10283e14
jmp 0x10283e65
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10283e65
mov eax, dword [ebp - 0x24]
add eax, 0x25fa
mov dword [0x102b188c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10283d8a
jmp 0x10283e65
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x26], dl
mov al, byte [ebp - 0x26]
test al, 1
jne 0x10283d6a
jmp 0x10283e65
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x10283e6c
mov eax, dword [ebp - 0x18]
add esp, 0x28
pop ebp
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x14fe1ef8
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x642707e8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x475145ea
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
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
mov esi, 0x58673d6a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40050d
Capabilities:
Get common file path
Get file size

Disassembly:
pop ebx
sub ebx, fcn.004004f0
push ebp
lea eax, [ebx + fcn.00400c87]
push eax
lea eax, [ebx + 0x400433]
push eax
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
mov ecx, 0xffffffff
xor al, al
cld
repne scasb al, byte es:[edi]
mov ecx, edi
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov esi, dword [ebp + 8]
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
jmp loc.00403661

Function at 0x400cfb
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
mov dword [ebp - 0x34], 0
push 0
push dword [ebp + 8]
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 4], eax
push 0
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call sub.kernel32.dll_SetFilePointer
cmp eax, dword [ebp - 4]
je 0x400d01
jmp loc.00403bdb
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.kernel32.dll_WriteFile
or eax, eax
jne 0x400d1e
jmp loc.00402d78
jmp loc.00403e44

Function at 0x400e68
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
sub eax, 0x3c
leave
ret 8

Function at 0x400ebe
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x400214], 0
je 0x400e9e
jmp 0x400f0b
mov dword [0x400214], 0
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
mov dword [0x40020c], eax
cmp eax, 0xffffffff
jne 0x400ecb
jmp 0x400f0b
push 0
push 0
push 0
push 2
push 0
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x400210], eax
or eax, eax
jne 0x400ee6
jmp 0x400f0b
push 0
push 0
push 0
push 4
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x400214], eax
push 0
push dword [0x40020c]
call sub.kernel32.dll_GetFileSize
jmp 0x403938
mov eax, dword [0x400214]
leave
ret 4

Function at 0x400fed
Capabilities:
Copy file

Disassembly:
cmp eax, 0xb7
jne fcn.00400ff2
jmp loc.00403076

Function at 0x40124d
Capabilities:
Packed with generic packer

Disassembly:
push dword [esi + 0x54]
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
push dword [esi + 0x54]
push dword [ebp + 0xc]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 0x10], eax
mov edi, eax
add edi, esi
sub edi, dword [ebp + 0xc]
movzx eax, word [esi + 6]
dec eax
mov ecx, 0x28
mul ecx
mov edx, edi
add edx, eax
add edx, 0xf8
mov ebx, edx
add ebx, 0x28
inc word [edi + 6]
mov eax, dword [edx + 0x14]
jmp loc.00402a8f

Function at 0x4029a6
Capabilities:
Get common file path
Get file size

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423bc8
push 0x41b8a4
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
push 1
pop ecx
test eax, eax
add esp, 0x18
leave
popal
popfd
push 0x40150d
jmp fcn.0040147e