joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x530f7fe8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
mov ecx, 0x3f106f05
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0xa727cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0xa727cc
lcall 0x5de5, 0x8b10c483
jmp fcn.01db3304

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6fbe7732
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
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
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x72c202b1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1002651
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x100d910], 1
push ebx
push esi
push edi
jne 0x1002680
or dword [0x100d910], 1
call fcn.010025f0
mov dword [0x100d90c], eax
push 4
pop eax
call fcn.0100a270
mov esi, esp
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10026a2
xor eax, eax
jmp 0x100275f
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
lea edi, [eax - 1]
not edi
and edi, esi
sub edi, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x100d85c]
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffff1000
add esi, 0x11000
add esi, ebx
cmp edi, esi
jb 0x100269b
cmp eax, 1
je 0x1002740
mov dword [ebp - 8], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100269b
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
test dword [ebp - 0x1c], ebx
je 0x10026e9
test dword [ebp - 0x18], 0x100
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
je 0x100271b
xor eax, eax
inc eax
jmp 0x100275f
cmp edi, eax
jb 0x100269b
cmp eax, esi
jae 0x100272a
mov dword [ebp - 8], esi
push 4
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x100d85c]
jmp 0x1002743
mov dword [ebp - 8], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0x10]
push ecx
inc eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x5c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100a24f
leave
ret

Function at 0x1002e45
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x1002ed0
cmp word [eax], 0
push ebx
push esi
push edi
je 0x1002ecb
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x1002eb1
movzx eax, word [edi]
test ax, ax
je 0x1002ed4
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x1002eb7
push esi
call ebx
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
sub eax, edi
sub ecx, esi
xor eax, ecx
test eax, 0xfffffffe
jne 0x1002eb7
jmp 0x1002eac
inc esi
inc esi
movzx ecx, word [esi]
inc edi
inc edi
movzx eax, word [edi]
sub ecx, eax
je 0x1002eb1
cmp esi, dword [ebp - 4]
jb 0x1002e9e
cmp word [esi], 0
jne 0x1002e71
cmp word [edi], 0
je 0x1002ed4
push dword [ebp + 8]
call ebx
cmp word [eax], 0
mov dword [ebp + 8], eax
jne 0x1002e69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
jmp 0x1002ecd
Function at 0x10035bc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x88], eax
cmp eax, ebx
je 0x10035fc
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x1003571
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x10035fc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x1003726
Capabilities:
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 8], edi
jle 0x1003777
push esi
mov eax, dword [ebp + 0xc]
lea esi, [eax + edi*4]
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x100375a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1003770
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100376e
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
inc edi
cmp edi, dword [ebp + 8]
jl 0x1003737
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x1003bef
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov eax, ecx
mov ecx, dword [ebp + 8]
push esi
push 0x2001f
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.01002bc4
mov edi, eax
cmp edi, esi
je 0x1003c62
lea ecx, [ebp - 0x214]
call fcn.01002b51
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100a24f
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1003c80
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.01003bef
cmp eax, esi
jne 0x1003ccb
lea eax, [ebp - 0x224]
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]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x1003c6a
lea ecx, [ebp - 0x214]
call fcn.01002b51
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.01002acb
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.01002b51
mov eax, esi
jmp 0x1003c52
Function at 0x10060fc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push 0x460
push 0x40
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x1006124
push dword [ebp + 8]
mov ecx, eax
call fcn.01005fcc
mov esi, eax
jmp 0x1006126
xor esi, esi
test esi, esi
je 0x100614f
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x10060b6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x100614f
push 1
mov ecx, esi
call fcn.01005871
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x10065d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 2
push edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jne 0x1006623
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jg 0x1006617
mov esi, eax
jmp 0x1006717
and eax, 0xffff
or eax, 0x80070000
jmp 0x1006610
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x1006653
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100670c
and eax, 0xffff
or eax, 0x80070000
jmp 0x100670c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x1006636
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp byte [esi + ebx], 0
mov edi, ebx
je 0x10066bd
lea edi, [esi + 1]
cmp edi, 0x400
ja 0x1006695
push edi
call fcn.01002776
test al, al
je 0x1006695
mov eax, edi
call fcn.0100a330
mov edi, esp
jmp 0x10066a0
push edi
lea ecx, [ebp - 8]
call fcn.010046ba
mov edi, eax
test edi, edi
jne 0x10066ab
mov esi, 0x8007000e
jmp 0x100670e
lea eax, [esi + 1]
push eax
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
test edi, edi
jne 0x10066c5
xor eax, eax
jmp 0x1006700
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea ebx, [esi + esi]
cmp ebx, 0x400
ja 0x10066ef
push ebx
call fcn.01002776
test al, al
je 0x10066ef
mov eax, ebx
call fcn.0100a330
mov eax, esp
jmp 0x10066f8
push ebx
lea ecx, [ebp - 8]
call fcn.010046ba
push esi
push edi
push eax
call fcn.01002849
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
push eax
call fcn.01005be5
mov esi, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.0100348a
mov eax, esi
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100a24f
leave
ret 0x10
Function at 0x1007432
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.010039d0
xor ebx, ebx
mov dword [ebp - 0x228], ebx
cmp edi, ebx
je 0x10075ba
cmp word [edi], bx
je 0x10075ba
push edi
lea ecx, [ebp - 0x114]
call fcn.01005d94
lea ecx, [ebp - 0x114]
xor edi, edi
call fcn.010046ed
test eax, eax
jle 0x10074ac
mov eax, dword [ebp - 0x10]
lea eax, [eax + edi*2]
cmp word [eax], 0x5c
jne 0x100749c
push 0x2d
pop ecx
mov word [eax], cx
lea ecx, [ebp - 0x114]
inc edi
call fcn.010046ed
cmp edi, eax
jl 0x100748a
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x224]
call fcn.01005dda
push 0x10018a8
lea ecx, [ebp - 0x338]
call fcn.01005d94
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x224]
call fcn.01006371
mov edi, 0x10017c8
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x338], edi
call fcn.01004813
push dword [ebp - 0x120]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
cmp eax, ebx
je 0x1007598
push 0xffffffffffffffff
push eax
call fcn.0100a814
test al, al
je 0x1007598
push dword [ebp - 0x10]
mov edi, 0xf001f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x100754c
push 4
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
mov dword [ebp - 0x228], 2
jmp 0x100758b
cmp byte [ebp + 0xc], bl
je 0x100758b
push dword [ebp - 0x10]
push 4
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x100758b
push 4
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [esi + 8], edi
cmp edi, ebx
je 0x100758b
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x228], 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, 0x10017c8
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], edi
call fcn.01004813
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], edi
call fcn.01004813
cmp dword [esi + 8], ebx
jne 0x10075c6
mov ecx, esi
call fcn.010039d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a24f
leave
ret 8

Function at 0x100782d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push 0x460
push 0x40
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x1007855
push dword [ebp + 8]
mov ecx, eax
call fcn.01005fcc
mov esi, eax
jmp 0x1007857
xor esi, esi
test esi, esi
je 0x1007880
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x10077e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1007880
push 1
mov ecx, esi
call fcn.01005871
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x10084b9
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x20]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x418], esi
cmp ebx, esi
je 0x100859a
xor eax, eax
mov dword [ebp - 0x444], esi
lea edi, [ebp - 0x440]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x484]
push esi
push eax
call sub.msvcrt.dll_memset
push 5
pop eax
mov word [ebp - 0x458], ax
xor eax, eax
push 0x40e
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
mov dword [ebp - 0x488], 0x44
call sub.msvcrt.dll_memset
add esp, 0x18
push ebx
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.010045e1
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x488]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10086a0
push dword [ebp - 0x444]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x440]
call edi
mov eax, dword [ebp - 0x418]
cmp eax, esi
jmp 0x10086bc
lea ecx, [ebp - 0x418]
push ecx
push 0x1001ab4
push 4
push esi
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x1008686
mov eax, dword [edi + 0x10]
push dword [eax + 0x114]
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x424]
call fcn.010037b9
mov ebx, dword [eax]
mov eax, dword [edi + 0x10]
push dword [eax + 0x444]
lea ecx, [ebp - 0x420]
call fcn.010037b9
mov eax, dword [eax]
mov dword [ebp - 0x42c], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x334]
lea ecx, [ebp - 0x41c]
call fcn.010037b9
mov eax, dword [eax]
mov dword [ebp - 0x430], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x224]
lea ecx, [ebp - 0x428]
call fcn.010037b9
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x434], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x458]
lea edx, [eax + 0x454]
push edx
push ebx
push dword [eax + 0x450]
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
push dword [ebp - 0x434]
push eax
push esi
call dword [ecx + 0xc]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, eax
call esi
push dword [ebp - 0x41c]
call esi
push dword [ebp - 0x420]
call esi
push dword [ebp - 0x424]
call esi
test ebx, ebx
jge 0x10086b4
xor esi, esi
push esi
push 0xae
push 0xad
push esi
push dword [0x100d908]
push dword [edi + 4]
call fcn.0100ad4f
mov eax, dword [ebp - 0x418]
cmp eax, esi
je 0x10086b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x10086c6
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x10086c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a24f
leave
ret 4
Function at 0x100a235
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x100b3c8
call fcn.0100a364
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x100dd54
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1009ff0
cmp eax, esi
jne 0x1009fe3
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1009ff3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1009fca
xor esi, esi
inc esi
mov eax, dword [0x100dd50]
cmp eax, esi
jne 0x100a006
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100a035
mov eax, dword [0x100dd50]
test eax, eax
jne 0x100a02f
mov dword [0x100dd50], esi
push 0x10012c4
push 0x10012b8
call fcn.01009f2c
pop ecx
pop ecx
test eax, eax
je 0x100a035
jmp 0x100a159
mov dword [0x100d990], esi
mov eax, dword [0x100dd50]
cmp eax, esi
jne 0x100a059
push 0x10012b4
push 0x10012ac
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100dd50], 2
cmp dword [ebp - 0x20], ebx
jne 0x100a066
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100dd58], ebx
je 0x100a087
push 0x100dd58
call fcn.0100a4f9
pop ecx
test eax, eax
je 0x100a087
push ebx
push 2
push ebx
call dword [0x100dd58]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100a159
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100a0f1
cmp cx, bx
je 0x100a0ac
cmp dword [ebp - 0x1c], ebx
jne 0x100a0f1
movzx ecx, word [eax]
cmp cx, bx
je 0x100a0c1
cmp cx, 0x20
ja 0x100a0c1
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100a0ac
test byte [ebp - 0x40], 1
je 0x100a0cd
movzx ecx, word [ebp - 0x3c]
jmp 0x100a0d0
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x100d98c], eax
cmp dword [0x100d980], ebx
jne 0x100a136
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100a102
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100a096
cmp dword [0x100d990], ebx
jne 0x100a144
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100d98c]
jmp 0x100a165
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100a3a9
ret
call fcn.0100a63e
jmp 0x1009f8d
Function at 0x1000ca17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002aad0]
jne 0x1000ca21
repz ret
jmp fcn.1001071b

Function at 0x10011e68
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10011e73
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10011e6e
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10011e58
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10011e60
cmp edx, ebx
jne 0x10011fae
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
enter 0x4d39, 8
enter 0x4d39, 8
jb 0x10011e2f
add eax, dword [eax + 4]
jmp 0x10011e1c
mov dword [ebp + 0xc], ebx
jmp 0x10011e7e
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10011e96
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10011eb4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10011f12
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10011ef9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10011f02
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10011f0c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10011eee
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10011e78
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10011f5f
dec eax
je 0x10011f56
sub eax, 3
je 0x10011f4d
mov dword [ebp - 4], 0x40
jmp 0x10011f7c
mov dword [ebp - 4], 4
jmp 0x10011f62
mov dword [ebp - 4], 0x20
jmp 0x10011f62
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10011fae
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10011f2e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100117bf
inc edx
into
or byte [esi], ah
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10011fba
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001242a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100117cf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011784
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100117bf
mov ch, 0xa6
invalid
Function at 0x1001270b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100117cf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10011784
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100117bf
cmp eax, 0x68828fdb
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.100117bf
invalid
Function at 0x1001d187
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x1002aad0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1001d11c
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1000dd90
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1001d1d6
cmp dword [ebp - 0x1c], 5
jb 0x1001d1ee
jmp 0x1001d1ea
cmp dword [ebp - 0x10], 1
jne 0x1001d1ee
cmp dword [ebp - 0x1c], 4
ja 0x1001d1ea
jne 0x1001d1ee
cmp dword [ebp - 0x18], 0
jbe 0x1001d1ee
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10022fc4
call fcn.1001d00d
test eax, eax
jge 0x1001d20f
mov byte [0x1002ed08], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000ca17
add ebp, 0x78
leave
ret