joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451337
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x451380
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 1
push 0x6214
push 0x6ac8
push 0x1d01
push dword [ebp - 8]
push 0x126f
push 0x6c57
push 0x2098
push 0x4e68
call fcn.00451432
add esp, 0x24
jmp 0x45142e
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x4513fa
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4513d1
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 1]
push eax
call fcn.004438c4
pop ecx
pop ecx
jmp 0x4513f8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x4513f8
push 0
push 0xe9f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x45142e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push 0x542d
push 1
push 0xefe
push 1
push 0x64a6
push dword [ebp - 0x30]
push 0x2320
push dword [ebp - 0x34]
push 1
call fcn.00439cd0
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x4928a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4a78f0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ba6c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048e66f
mov dword [ebp - 0x14], eax
cmp dword [0xab8b4c], esi
jne 0x4a79e3
push 0x800
push esi
push 0xaad76c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a7970
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a7ac3
push esi
push esi
push 0xaad76c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a7ac3
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a7ac3
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xab8b4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xab8b50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xab8b54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xab8b5c], eax
test eax, eax
je 0x4a79e0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xab8b58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a7a08
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a79fb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a7a1d
push 4
pop eax
jmp 0x4a7ac5
cmp dword [ebp - 0x14], esi
je 0x4a7a1d
push dword [0xab8b4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a7a02
mov eax, dword [0xab8b58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a7a7b
cmp dword [0xab8b5c], edi
je 0x4a7a7b
push eax
call ebx
push dword [0xab8b5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a7a7b
test eax, eax
je 0x4a7a7b
call ecx
test eax, eax
je 0x4a7a70
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a7a70
test byte [ebp - 8], 1
jne 0x4a7a7b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a7aab
mov eax, dword [0xab8b50]
cmp eax, edi
je 0x4a7aa8
push eax
call ebx
test eax, eax
je 0x4a7aa8
call eax
mov esi, eax
test esi, esi
je 0x4a7aa8
mov eax, dword [0xab8b54]
cmp eax, edi
je 0x4a7aa8
push eax
call ebx
test eax, eax
je 0x4a7aa8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xab8b4c]
call ebx
test eax, eax
je 0x4a7ac3
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a7ac5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d77b
mov esp, ebp
pop ebp
ret
Function at 0x1005bde1
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0x1800
xor ecx, ecx
push edi
mov edi, 0x800
movzx eax, word [esi]
shl eax, 0xe
xor eax, dword [edx + 0x1b8]
and eax, 0x200000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 8
movzx eax, word [esi]
shl eax, 0x16
xor eax, dword [edx + 0x1b8]
and eax, 0x400000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x10
movzx eax, word [esi]
xor eax, dword [edx + 0x1b8]
and eax, 2
xor dword [edx + 0x1b8], eax
or dword [edx + 0x308], 0x8000
movzx eax, word [esi]
shl eax, 0x15
xor eax, dword [edx + 0x1b8]
and eax, 0x800000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x20
movzx eax, word [esi]
shl eax, 0x15
xor eax, dword [edx + 0x1b8]
and eax, 0x1000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x40
movzx eax, word [esi]
shl eax, 0x15
xor eax, dword [edx + 0x1b8]
and eax, 0x2000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x80
movzx eax, word [esi]
shl eax, 0x15
xor eax, dword [edx + 0x1b8]
and eax, 0x4000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x100
movzx eax, word [esi]
shl eax, 0x15
xor eax, dword [edx + 0x1b8]
and eax, 0x8000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x200
movzx eax, word [esi]
shl eax, 0x14
xor eax, dword [edx + 0x1b8]
and eax, 0x10000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x400
movzx eax, word [esi]
shl eax, 0x10
xor eax, dword [edx + 0x1b8]
and eax, 0x20000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x800
movzx eax, word [esi]
shl eax, 0x14
xor eax, dword [edx + 0x1b8]
and eax, 0x40000000
xor dword [edx + 0x1b8], eax
or dword [edx + 0x30c], 0x1000
movzx eax, word [esi]
and ax, bx
cmp ax, di
mov eax, dword [edx + 0x1b8]
setne cl
and eax, 0x7fffffff
dec ecx
and ecx, 0x80000000
or ecx, eax
mov dword [edx + 0x1b8], ecx
mov edi, 0x1000
or dword [edx + 0x30c], 0x2000
xor ecx, ecx
movzx eax, word [esi]
and ax, bx
mov ebx, 0xc000
cmp ax, di
mov eax, dword [edx + 0x1bc]
mov edi, 0x4000
sete cl
and eax, 0xfffffffe
or ecx, eax
mov dword [edx + 0x1bc], ecx
xor ecx, ecx
or dword [edx + 0x30c], 0x4000
movzx eax, word [esi]
and ax, bx
cmp ax, di
mov eax, dword [edx + 0x1c0]
mov edi, 0x8000
setne cl
and eax, 0xffdfffff
dec ecx
and ecx, 0x200000
or ecx, eax
mov dword [edx + 0x1c0], ecx
xor ecx, ecx
or dword [edx + 0x318], 0x400000
movzx eax, word [esi]
and ax, bx
cmp ax, di
mov eax, dword [edx + 0x1c0]
pop edi
setne cl
and eax, 0xffbfffff
dec ecx
and ecx, 0x400000
or ecx, eax
mov dword [edx + 0x1c0], ecx
xor ecx, ecx
or dword [edx + 0x318], 0x800000
movzx eax, word [esi]
and ax, bx
cmp ax, bx
mov eax, dword [edx + 0x1c0]
pop esi
setne cl
and eax, 0xff7fffff
dec ecx
and ecx, 0x800000
or ecx, eax
mov dword [edx + 0x1c0], ecx
or dword [edx + 0x318], 0x1000000
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x1003a98
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x1003af0
call fcn.01003b0c
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1003ae7
cmp ecx, 0xffffffff
je 0x1003ae7
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1003ae0
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x1003ae0
cmp edx, 0x10000000
jae 0x1003ae0
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1006d0b
mov dword [ebp - 4], 0xfffffffe
call fcn.010023d0
ret 4
je 0x1006d56
outsb dx, byte [esi]
je 0x1006d75
jb 0x1006d7c
dec esp
and ch, byte [edx]
Function at 0x406300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d74], 0
push esi
jne 0x406337
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406311
mov dword [ecx*4 + 0x426d70], eax
inc ecx
cmp ecx, 0x100
jl 0x40630c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406368
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426d70]
xor eax, esi
inc ecx
dec edx
jne 0x40634a
pop edi
not eax
pop esi
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x664f4b02
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42cd70
mov ecx, 0xa147d67
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0xce50b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xce5200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xce50d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce50c2
add dl, dl
jne 0xce50e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce5134
xor eax, eax
add dl, dl
jne 0xce50ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xce51d5
add dl, dl
jne 0xce50fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce5108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce5113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce511e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xce512a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xce50cd
mov eax, 1
add dl, dl
jne 0xce5142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xce514d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce5139
sub eax, ebx
mov ebx, 1
jne 0xce5180
mov ecx, 1
add dl, dl
jne 0xce5166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xce5171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce515d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce50cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xce5197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xce51a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xce518e
cmp eax, 0x7d00
jae 0xce51c5
cmp eax, 0x500
jb 0xce51c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce50cd
cmp eax, 0x7f
ja 0xce51c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xce50cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xce51f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xce50cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x74f77143
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x27d177d1
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x70c3cd4
nop
nop
nop
nop
test eax, eax
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x44903f3c
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x79501916
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x34df472f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10008000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10008019
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10008054
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10008050
lea ebx, [ebx]
cmp esi, eax
jae 0x10008054
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10008040
cmp esi, eax
jb 0x1000805a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10009ac0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10074938
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c54c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea esi, [ebx + ebx + 2]
cmp esi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebx
jge 0x10009b73
jmp 0x10009b10
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 8
mov edi, dword [ebp + eax*4 - 8]
lea ecx, [ebp + eax*4]
jb 0x10009b2d
mov eax, dword [ecx - 0x18]
jmp 0x10009b30
lea eax, [ecx - 0x18]
push eax
mov eax, dword [ecx + 0x14]
call fcn.1000a590
test eax, eax
jge 0x10009b3e
dec esi
lea ecx, [esi*8]
sub ecx, esi
lea edx, [ebx*8]
push 0xffffffffffffffff
sub edx, ebx
lea eax, [ebp + ecx*4]
push 0
lea ecx, [ebp + edx*4]
call fcn.100087f0
mov ebx, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x10009b10
mov edi, dword [esp + 0x30]
cmp esi, edi
jne 0x10009b9b
lea eax, [edi*8]
lea ecx, [ebx*8]
push 0xffffffffffffffff
sub eax, edi
sub ecx, ebx
push 0
lea eax, [ebp + eax*4 - 0x1c]
lea ecx, [ebp + ecx*4]
call fcn.100087f0
lea ebx, [edi - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
lea eax, [esp + 0x58]
mov word [ecx + 4], dx
call fcn.100087f0
mov eax, dword [esp + 0x30]
push eax
push ebp
mov ecx, ebx
call fcn.1000d6f0
add esp, 0x24
cmp dword [esp + 0x4c], 8
jb 0x10009be8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1004408a
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret