joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4719a0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4719e7
xor eax, eax
jmp 0x471aa6
cmp dword [ebp + 0xc], 0
je 0x471a83
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0042b9d0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x471a23
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x471a34
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x471a81
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x471aa6
jmp 0x471a94
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 0xc

Function at 0x471ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
push 0x26c
call fcn.0042a26d
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x25c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x260], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x264], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x268], eax
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push sym.Install_adv.exe_public:_static_unsigned_long_int___stdcall_CNsReg::MonitorThread_void__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x471b7d
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x471e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x214], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x471ea6
mov eax, dword [ebp - 0x214]
or eax, 0x100
mov dword [ebp - 0x214], eax
jmp 0x471ec1
call sym.Install_adv.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x471ec1
mov ecx, dword [ebp - 0x214]
or ecx, 0x200
mov dword [ebp - 0x214], ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x214]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x471f61
mov dword [ebp - 0x21c], 0x104
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x471f54
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x471f63
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 0x14

Function at 0xae89f4
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae89f4
ret
Function at 0x10001588
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100015ae
mov eax, dword [ebp - 8]
mov ecx, 0x12
mov dword [ebp - 0xc], eax
xor edx, edx
div ecx
cmp edx, 6
je 0x100015bb
jmp 0x100015c5
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
jmp 0x10001595
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, 0x374
sete cl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], cl
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
jne 0x100015ea
jmp 0x10001595
mov eax, dword [ebp - 0x10]
cmp eax, 0x5f
jne 0x1000162b
mov eax, esp
mov dword [eax + 0xc], 6
mov dword [eax + 8], 0x7fd
mov dword [eax + 4], 0
mov dword [eax], 0xa89057
mov eax, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call eax
sub esp, 0x10
mov ecx, 0x60
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], ecx
jmp 0x100015ae
mov eax, dword [ebp - 0x10]
add eax, 1
cmp eax, 0x17
mov dword [ebp - 4], eax
jne 0x100015ae
add esp, 0x34
pop ebp
ret

Function at 0x100086ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102f5130]
jne 0x100086b5
repz ret
jmp fcn.1000f1e9
Function at 0x1000d071
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10001c6c
and dword [ebp - 4], 0
cmp dword [0x102f67fc], 0
mov ebx, eax
jne 0x1000d122
push 0x102ca3a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000d1d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x102ca398
push edi
call esi
test eax, eax
je 0x1000d1d3
push eax
call fcn.10001bfa
mov dword [esp], 0x102ca388
push edi
mov dword [0x102f67fc], eax
call esi
push eax
call fcn.10001bfa
mov dword [esp], 0x102ca374
push edi
mov dword [0x102f6800], eax
call esi
push eax
call fcn.10001bfa
mov dword [esp], 0x102ca358
push edi
mov dword [0x102f6804], eax
call esi
push eax
call fcn.10001bfa
pop ecx
mov dword [0x102f680c], eax
test eax, eax
je 0x1000d122
push 0x102ca340
push edi
call esi
push eax
call fcn.10001bfa
pop ecx
mov dword [0x102f6808], eax
mov eax, dword [0x102f6808]
cmp eax, ebx
je 0x1000d17a
cmp dword [0x102f680c], ebx
je 0x1000d17a
push eax
call fcn.10001c75
push dword [0x102f680c]
mov esi, eax
call fcn.10001c75
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000d17a
test edi, edi
je 0x1000d17a
call esi
test eax, eax
je 0x1000d171
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000d171
test byte [ebp - 0xc], 1
jne 0x1000d17a
or dword [ebp + 0x10], 0x200000
jmp 0x1000d1b3
mov eax, dword [0x102f6800]
cmp eax, ebx
je 0x1000d1b3
push eax
call fcn.10001c75
pop ecx
test eax, eax
je 0x1000d1b3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000d1b3
mov eax, dword [0x102f6804]
cmp eax, ebx
je 0x1000d1b3
push eax
call fcn.10001c75
pop ecx
test eax, eax
je 0x1000d1b3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102f67fc]
call fcn.10001c75
pop ecx
test eax, eax
je 0x1000d1d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000d1d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100126f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102f4660], 0
mov byte [0x102f4664], 0
mov esi, dword [0x102f4658]
add esi, 0xfffff810
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x102f4654], ecx
mov dword [0x102f465c], 0
mov dword [ebp - 0x20], eax
jmp 0x100127fb
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x102f4668], 0
mov dword [0x102f4654], 0x1ca0
mov edx, dword [0x102f4660]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102f4668], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102f4660], edx
mov dword [0x102f4658], 0x13fe
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x102f4664], cl
mov dword [0x102f4654], 0x73c
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102f4664]
mov edx, dword [0x102f4660]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102f465c]
add edx, 1
mov dword [0x102f465c], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x10012748
jmp 0x1001284e
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f4654]
add eax, 0xfffff48b
mov dword [0x102f4658], eax
mov eax, dword [0x102f465c]
add eax, 1
mov dword [0x102f465c], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x100127fb
mov dword [0x102f4654], 0x185c
xor eax, eax
mov dword [0x102f465c], 0
mov dword [ebp - 0x24], eax
jmp 0x10012748
mov dword [0x102f4654], 0x6f1
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10012b96
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x102f4658], 0x138b
mov dword [0x102f4654], 0x1bef
mov dword [ebp - 0x10], eax
call fcn.10012270
xor ecx, ecx
mov edx, dword [0x102f4658]
add edx, 0x1a3b
mov dword [0x102f4658], edx
mov edx, eax
mov esi, dword [0x102f4654]
mov edi, esi
add edi, 0xffffe323
mov dword [0x102f4654], edi
mov edi, dword [eax + 0x3c]
add esi, 0xffffc880
mov dword [0x102f4654], esi
mov esi, dword [eax + edi + 0x78]
mov dword [0x102f4658], 0xfffff735
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102f4654], 0xffffecf4
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10012d2b
jmp 0x10012c66
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10012ca0
jmp 0x10012ccd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [0x102f4658], 0x138b
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
jne 0x10012c3c
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x10012cfc
jmp 0x10012cd6
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], eax
jb 0x10012c7c
jmp 0x10012d2b
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov dword [0x102f4658], 0x14fc
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x102f4654], 0x1c2a
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10012db7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102f4654], 0x1287
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10012e80
mov eax, dword [ebp - 0x34]
mov dword [0x102f4654], 0xe6b
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100125a4
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [0x102f4658]
add edx, 0x22fa
mov dword [0x102f4654], edx
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov ecx, dword [0x102f4654]
mov esi, dword [ebp - 0x38]
mov dword [edx + 0x48], esi
add ecx, 0xfffff5f9
mov dword [0x102f4658], ecx
cmp esi, 0
mov dword [ebp - 0x3c], eax
je 0x10012f15
jmp 0x10012efa
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102c898e]
mov dl, byte [eax + 0x102c895f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10012e80
lea eax, [ebp - 0x24]
mov dword [0x102f4658], 0x1999
mov dword [0x102f4654], 0xfffffe27
mov dword [ebp - 0x40], eax
call fcn.10013abd
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.100123ff
xor ecx, ecx
mov edx, dword [0x102f4654]
add edx, 0x1727
mov dword [0x102f4654], edx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
je 0x10012f15
jmp 0x10012dde
mov eax, dword [ebp - 0x38]
add eax, 0x111f
mov dword [ebp - 0x44], eax
mov dword [0x102f4658], 0x12dc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1001308a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102f465c], 0
mov dword [0x102f4660], 0
mov dword [0x102f466c], 0
mov dword [0x102f4654], 0x1984
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100131e5
jmp 0x10013106
mov eax, dword [0x102f465c]
mov ecx, dword [0x102f4660]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102f465c], edx
mov dword [0x102f4654], 0x1a0e
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102f4660], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102f4664], cl
mov dword [0x102f4654], 0xcb8
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102f4664]
mov edx, dword [0x102f4660]
mov byte [edi + edx], cl
mov edx, dword [0x102f465c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102f4660]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102f4654], 0x1352
and ebx, 0xff
mov dword [0x102f466c], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x102f4658], 0x150a
mov dword [0x102f4654], 0xfffff1a1
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
jne 0x100130ef
mov dword [0x102f4654], 0x1ed6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100132c8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10012860
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov dword [0x102f4658], 0x2ba
mov dword [esp + 0x84], 0x159000
mov ecx, dword [0x102f4640]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x102f4644]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x102f4648]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x102f464c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x102f4650]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x1001325c]
mov dword [0x102f4654], 0x131d
mov dword [esp + 0x1c], eax
jmp 0x10013378
mov eax, dword [esp + 0x18]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102f4658], 0x4b9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1001335c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
jne 0x1001335c
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [0x102f4654], 0xffffdb9d
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
add eax, 0x1c
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
call fcn.100135fe
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x10013352
lea eax, [esp + 0x38]
mov ecx, dword [0x102f4658]
add ecx, 0xffffffca
mov dword [0x102f4658], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10012db7
mov dword [0x102f4654], 0x7f2
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x102f4654]
add ecx, 0x51e
mov dword [0x102f4654], ecx
mov dword [esp + 0x18], eax
jmp 0x10013352
Function at 0x100135fe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
mov dword [0x102f4654], 0x275
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, 0x15b1
xor edx, edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x102f4654], 0x15b1
mov edi, dword [0x102f4658]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
jmp 0x100136cd
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov dword [0x102f4658], esi
mov edi, dword [ebp - 0x1c]
cmp word [edi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
je 0x100136b4
jmp 0x1001379c
mov eax, 0x15f6
mov dword [0x102f4654], 0x15f6
mov ecx, dword [ebp - 0x3c]
add ecx, 1
cmp ecx, 0x104
mov edx, eax
mov esi, ecx
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ecx
jl 0x100136cd
jmp 0x10013651
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x38], eax
je 0x100136fb
jmp 0x1001379c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, 0xfffff7df
mov esi, dword [ebp - 0x1c]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
je 0x10013651
jmp 0x1001367c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x38], eax
jne 0x1001379c
mov dword [0x102f4658], 0x1cb9
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x40], ecx
xor eax, eax
mov ecx, dword [ebp - 0x40]
cmp word [ecx], 0x64
mov dword [ebp - 0x38], eax
jne 0x1001379c
mov dword [0x102f4658], 0x119b
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x38], eax
jne 0x1001379c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x38], eax
jne 0x1001379c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x38], eax
jne 0x1001379c
mov eax, 1
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffc98
mov dword [0x102f4658], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x38
pop esi
pop edi
pop ebp
ret
Function at 0x4029d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00402150
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402105
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00402150
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402105
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00402150
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402105
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00402140
mul esi
fidiv word [edi]
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.00402150
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402105
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00402140
add ah, byte [ebp - 0x5a7f5819]
pushfd
stc
invalid