joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101bbae0
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x102ff008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10382325
call fcn.102317b0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x101bbb1e
xor al, al
jmp 0x101bbc74
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x101bbb3c
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
je 0x101bbc2f
mov edx, dword [ebp - 0x1c]
sub edx, 8
mov dword [ebp - 0x24], edx
jne 0x101bbb55
jmp 0x101bbb34
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x34], 0
je 0x101bbb80
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x101bbb87
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x101bbba0
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x101bbbac
mov byte [ebp - 0xe], 0
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
jmp 0x101bbbe7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x20], eax
je 0x101bbbc5
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0x4550
je 0x101bbbd1
mov byte [ebp - 0xf], 0
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0xd], dl
jmp 0x101bbbe7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
mov byte [ebp - 0x10], 1
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0xd], dl
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x101bbbfa
jmp 0x101bbb34
mov edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.100a3bc0
jmp 0x101bbb34
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x101bbc4c
mov dword [ebp - 0x40], 1
jmp 0x101bbc53
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x101bbc6a
mov dword [ebp - 0x44], 1
jmp 0x101bbc71
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10169cb0
mov esp, ebp
pop ebp
ret
Function at 0x101c62d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10382375
call fcn.102317b0
cmp dword [ebp + 0xc], 1
jne 0x101c630d
push 0
push 0
push 0
push 0x1019d2e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101c6306
xor eax, eax
jmp 0x101c630f
mov eax, 1
jmp 0x101c630f
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101e6fb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x24], 0
mov ecx, 0x10382325
call fcn.102317b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x101e6ffd
mov dword [ebp - 0x14], 1
jmp 0x101e7004
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x101e7021
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0x811c9dc5
mov dword [ebp - 8], 0
jmp 0x101e7046
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jae 0x101e7065
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
xor edx, dword [ebp - 0x10]
imul eax, edx, 0x1000193
mov dword [ebp - 0x10], eax
jmp 0x101e703d
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.101e7090
add esp, 0xc
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x101e8630
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x102ff008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10382325
call fcn.102317b0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x101e866e
xor al, al
jmp 0x101e87c4
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x101e868c
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
je 0x101e877f
mov edx, dword [ebp - 0x1c]
sub edx, 8
mov dword [ebp - 0x24], edx
jne 0x101e86a5
jmp 0x101e8684
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x34], 0
je 0x101e86d0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x101e86d7
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x101e86f0
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x101e86fc
mov byte [ebp - 0xe], 0
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
jmp 0x101e8737
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x20], eax
je 0x101e8715
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0x4550
je 0x101e8721
mov byte [ebp - 0xf], 0
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0xd], dl
jmp 0x101e8737
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
mov byte [ebp - 0x10], 1
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0xd], dl
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x101e874a
jmp 0x101e8684
mov edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.100a3bc0
jmp 0x101e8684
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x101e879c
mov dword [ebp - 0x40], 1
jmp 0x101e87a3
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x101e87ba
mov dword [ebp - 0x44], 1
jmp 0x101e87c1
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10169cb0
mov esp, ebp
pop ebp
ret
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 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
in al, dx
js 0x401e9d
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x78]
push 0
push eax
push esi
dec edi
mov dword [eax], ebp
add byte [ebx + 0x158b084d], cl
salc
rol byte [eax], 0x82
push ecx
add edx, 0x7b
push 0x40e1ac
push edx
call dword [fcn.00409b80]
mov eax, dword [0x4102ac]
faddp st(4)
adc al, 0x85
sal byte [edi + ecx + 0x1f], 0x22
push esp
rol byte [eax - 0xf], cl
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
jae 0x401e8d
call dword [sym.imp.MSVCRT.dll_exit]
adc eax, sym.imp.MSVCRT.dll_exit
pop esi
pop ecx
nop
nop
nop
nop
fisubr word [edi]
mov esi, 0x90909090
nop
nop
nop
Function at 0x4573c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
jmp 0x4573da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4573e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4573d0
mov eax, 1
add ebx, ebx
jne 0x4573f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457404
jne 0x457414
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457414
dec eax
add ebx, ebx
jne 0x457410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4573e8
xor ecx, ecx
sub eax, 3
jb 0x45742c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45749e
sar eax, 1
mov ebp, eax
jmp 0x457437
add ebx, ebx
jne 0x457437
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x457444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x457468
inc ecx
add ebx, ebx
jne 0x457454
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x457449
jne 0x457465
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x457449
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x457488
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x457479
jmp 0x4573d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x457488
add edi, ecx
jmp 0x4573d6
pop esi
mov edi, esi
mov ecx, 0x1b26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4574a6
cmp byte [edi], 0x13
jne 0x4574a6
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 0x4574ab
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x457523
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5dad4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5db88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4574d8
mov ecx, edi
jns 0x457507
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 + 0x5db8c]
or eax, eax
je 0x45751d
mov dword [ebx], eax
add ebx, 4
jmp 0x4574f5
call dword [esi + 0x5db9c]
mov ebp, dword [esi + 0x5db90]
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 0x457557
sub esp, 0xffffff80
jmp 0x4224c8
Function at 0x10036b3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [0x100d344]
xor ebx, ebx
cmp eax, ebx
je 0x100372d
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10036e1
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp + 8]
push dword [0x100d344]
call esi
test eax, eax
je 0x1003730
mov ecx, 0x1002370
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1003710
push ebx
lea edx, [ebp - 4]
push edx
sub eax, edi
push eax
push ecx
push dword [0x100d344]
call esi
test eax, eax
pop edi
je 0x1003730
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x1003a22
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1003a5d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1003a44
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1003a55
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1003a5f
inc edi
invalid
invalid
Function at 0x1003c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sbb ecx, dword [ebp - 0x48f0f3b2]
ror byte [ebx + 0x318b0441], 1
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x1003c36
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x1003c27
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.010039e2
dec edx
adc dword [edi + 0x68], 0x50a8458d
call fcn.010039f2
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.010039a7
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1003cd0
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.010039e2
cmp eax, ebp
popfd
je 0x1003cb2
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x10048ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
invalid

Function at 0x1006da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1006db3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1006daf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1006de0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1006e1f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1006e15
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1006e21
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1006e05
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401fb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424d66
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x443624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x240], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402002
xor eax, eax
jmp 0x40212b
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
push edi
push ebx
call fcn.004013b0
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x23c], 0x22c
call fcn.00413a20
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [0x4435ec]
test eax, eax
je 0x4020fc
mov esi, dword [esi]
lea eax, [ebp - 0x218]
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4020cf
mov eax, dword [ebp - 0x234]
cmp eax, dword [esi + 4]
je 0x4020cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x234]
cmp ecx, eax
je 0x4020cf
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x402164
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4020c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x402147
push esi
mov byte [ebp - 4], 2
call edi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [0x4435f0]
test eax, eax
je 0x4020ec
mov esi, dword [ebp - 0x240]
jmp 0x402052
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x12
sete bl
jmp 0x4020fe
xor ebx, ebx
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x402129
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x402129
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x402129
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411faa
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push 0x42f1b8
push eax
call fcn.00412ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push 0x42f1b8
push eax
call fcn.00412ee2
int3
Function at 0x40aae0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
cmp word [ebp + 0x14], 0xffff
push edi
sete al
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, dword [ebp + 0x18]
mov ecx, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
neg ecx
sbb ecx, ecx
mov word [ebx], cx
test eax, eax
jne 0x40ab49
cmp word [ebp + 0x14], 0xffff
jne 0x40ab49
call edi
cmp eax, 0x50
je 0x40ab29
call edi
cmp eax, 0x20
jne 0x40ab49
push esi
call fcn.0040cac0
add esp, 4
test eax, eax
je 0x40ab49
push 1
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
mov word [ebx], ax
cmp word [ebx], 0
jne 0x40ab63
call edi
push eax
push esi
push dword [ebp + 0xc]
push 0x427400
call fcn.00401830
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14

Function at 0x40b930
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x443624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x40ba8b
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x40b9bc
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x40ba8b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x40ba57
lea esp, [esp]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040b930
mov esi, eax
test esi, esi
jne 0x40ba8b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x40ba10
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x40ba6e
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.0040aed0
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x40ba98
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411faa
mov esp, ebp
pop ebp
ret 4