joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00447a90
mov eax, dword [0x46b554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1000
lea eax, [ebp - 0x2004]
push eax
mov esi, edx
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x40bffb
push 8
call fcn.0042fcc4
mov edi, eax
add esp, 4
test edi, edi
je 0x40bfb1
push edi
push 0xf003f
push 0
lea eax, [ebp - 0x2004]
mov byte [edi + 4], 1
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40bfb3
mov dword [edi], 0
jmp 0x40bfb3
xor edi, edi
test esi, esi
je 0x40bfdb
lea eax, [ebp - 0x2004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bfc0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2004]
call fcn.004051b0
cmp dword [edi], 0
je 0x40bff2
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042f9a7
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret

Function at 0x40c010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00447a90
mov eax, dword [0x46b554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [ebp - 0x100c]
push ecx
lea edx, [ebp - 0x1004]
push edx
mov edx, dword [eax]
lea ecx, [ebp - 0x1008]
push ecx
push 0
push str.PATH
push edx
mov dword [ebp - 0x100c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40c073
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1008]
cmp eax, 1
je 0x40c083
cmp eax, 7
jne 0x40c060
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c090
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1004]
call fcn.004051b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret 4
Function at 0x41c050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x46b554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x20c]
push edi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov edi, 0x200
jmp 0x41c0a6
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
sub ecx, edx
mov dword [ebp - 0x224], ecx
je 0x41c110
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x41c0c8
call fcn.0041ac70
mov eax, dword [ebp - 0x224]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.004273f0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x214]
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [ebp - 0x20c]
push eax
mov dword [ebp - 0x218], edx
call fcn.00411150
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x41c119
mov edi, ebx
mov ecx, dword [ebp - 0x21c]
push ecx
push edi
lea edx, [ebp - 0x20c]
push 1
push edx
call fcn.00430dbc
mov ecx, dword [ebp - 0x218]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp + 0xc], ebx
je 0x41c14f
cmp eax, edi
je 0x41c0a0
lea eax, [ebp - 0x20c]
sub ecx, eax
mov edi, ecx
je 0x41c1a9
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x41c173
call fcn.0041ac70
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004273f0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
add esp, 0xc
inc dword [ebp - 0x214]
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x214]
mov esi, dword [ebp - 0x210]
call fcn.004100b0
mov dword [ebp - 0x214], 1
test ebx, ebx
je 0x41c226
mov edi, dword [ebp - 0x220]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x41c1df.6
jmp dword [eax*4 + 0x41c23c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x41c20f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x41c20f
mov eax, dword [esi]
call fcn.0042b280
jmp 0x41c20f
call fcn.0042d760
test eax, eax
je 0x41c20d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x41c20f
xor eax, eax
test eax, eax
jne 0x41c226
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042f9b2
mov esp, ebp
pop ebp
ret
Function at 0x41c640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
mov edi, dword [ebx + 8]
sub edi, dword [ebx + 0xc]
mov esi, 1
sar edi, 4
dec edi
je 0x41c6f7
mov eax, dword [ebp + 0xc]
dec edi
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.0040f4a0
cmp eax, 0x457738
je 0x41c729
cmp dword [eax + 8], 3
jne 0x41c729
test esi, esi
je 0x41c6ea
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0040f4a0
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x41c6cd
cmp ecx, 4
jne 0x41c725
mov esi, dword [eax]
add esi, 0x10
lea edi, [esp + 0x28]
call fcn.004213f0
mov edi, dword [esp + 0x20]
test eax, eax
je 0x41c725
fld qword [esp + 0x28]
mov dword [esp + 0x38], 3
fstp qword [esp + 0x30]
lea eax, [esp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str._.14g
push eax
call fcn.00430dd9
add esp, 0x10
test eax, eax
jg 0x41c758
xor esi, esi
inc dword [ebp + 0xc]
test edi, edi
jne 0x41c660
call fcn.00433090
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test esi, esi
je 0x41c75f
mov eax, dword [ebx + 8]
mov dword [eax], 1
mov dword [eax + 8], 1
add dword [ebx + 8], 0x10
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
jmp 0x41c6cf
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push edx
mov eax, ebx
call fcn.004107c0
add esp, 8
test esi, esi
je 0x41c6ea
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
push ecx
push esi
push 1
push eax
call fcn.0043103c
add esp, 0x10
cmp eax, esi
jne 0x41c6ea
mov esi, 1
jmp 0x41c6ec
mov edx, dword [ebx + 8]
mov dword [edx + 8], 0
mov esi, 0x10
add dword [ebx + 8], esi
push eax
call fcn.00432d3a
add esp, 4
push eax
push 0x4591f4
push ebx
call fcn.0040f950
fild dword [esp + 0x30]
mov eax, dword [ebx + 8]
add esp, 0xc
fstp qword [eax]
mov dword [eax + 8], 3
add dword [ebx + 8], esi
pop edi
lea eax, [esi - 0xd]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4273f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x427431
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x42740f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42749a
cmp dword [eax + 0xc], edi
jne 0x427494
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x42746c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x427490
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x427458
test ecx, ecx
je 0x4274b3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x427490
cmp ecx, 1
jbe 0x4274b3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x427490
cmp ecx, 2
jbe 0x4274b3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x4274b3
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x427446
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.00427340
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x4274ac
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f9b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b554]
jne 0x42f9bc
repz ret
jmp fcn.00437451

Function at 0x433090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebp
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45

Function at 0x4331d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x433235
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00432daa
push eax
push esi
push dword [ebp + 8]
call fcn.00432d5f
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00432d9a
push ss
fst qword [esi + 0x7b]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
invalid
sbb al, 0xfb
invalid
Function at 0x434df0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x434e30
lea eax, [ebp - 0x714]
push eax
call fcn.00432daa
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00432d5f
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x434e3b
jmp 0x434e40
jmp 0x43473c

Function at 0x43fa78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x43fa9f
call fcn.004330a3
mov dword [eax], esi
call fcn.00433090
push 0x16
pop esi
mov dword [eax], esi
call fcn.00438612
mov eax, esi
jmp 0x43faf4
test dword [ebp + 0xc], 0xfffffff9
jne 0x43fa85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43facc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004330b6
pop ecx
call fcn.00433090
mov eax, dword [eax]
jmp 0x43faf4
test al, 0x10
jne 0x43faf2
test al, 1
je 0x43faf2
test byte [ebp + 0xc], 2
je 0x43faf2
call fcn.004330a3
mov dword [eax], 5
call fcn.00433090
mov dword [eax], 0xd
jmp 0x43fac3
xor eax, eax
pop esi
pop ebp
ret
Function at 0x446cf5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46b554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00437f74
and dword [ebp - 0x14], 0
cmp dword [0x46d754], 0
mov dword [ebp - 0x18], eax
jne 0x446da8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x446e50
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x446e50
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d754], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d758], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d75c], eax
call edi
push eax
call esi
mov dword [0x46d764], eax
test eax, eax
je 0x446da8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d760], eax
mov eax, dword [0x46d760]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x446e01
cmp dword [0x46d764], ecx
je 0x446e01
push eax
call esi
push dword [0x46d764]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x446e01
test ebx, ebx
je 0x446e01
call edi
test eax, eax
je 0x446df8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x446df8
test byte [ebp - 8], 1
jne 0x446e01
or dword [ebp + 0x10], 0x200000
jmp 0x446e34
mov eax, dword [0x46d758]
cmp eax, dword [ebp - 0x18]
je 0x446e34
push eax
call esi
test eax, eax
je 0x446e34
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x446e34
mov eax, dword [0x46d75c]
cmp eax, dword [ebp - 0x18]
je 0x446e34
push eax
call esi
test eax, eax
je 0x446e34
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d754]
call esi
test eax, eax
je 0x446e50
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x446e52
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f9b2
leave
ret
Function at 0x10002c55
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003c8b0]
jne 0x10002c5f
repz ret
jmp fcn.10004cdd

Function at 0x1000604f
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.10002d5c
and dword [ebp - 4], 0
cmp dword [0x1003e3f8], 0
mov ebx, eax
jne 0x10006100
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100061b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100061b1
push eax
call fcn.10002cea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003e3f8], eax
call esi
push eax
call fcn.10002cea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003e3fc], eax
call esi
push eax
call fcn.10002cea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003e400], eax
call esi
push eax
call fcn.10002cea
pop ecx
mov dword [0x1003e408], eax
test eax, eax
je 0x10006100
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002cea
pop ecx
mov dword [0x1003e404], eax
mov eax, dword [0x1003e404]
cmp eax, ebx
je 0x10006158
cmp dword [0x1003e408], ebx
je 0x10006158
push eax
call fcn.10002d65
push dword [0x1003e408]
mov esi, eax
call fcn.10002d65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006158
test edi, edi
je 0x10006158
call esi
test eax, eax
je 0x1000614f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000614f
test byte [ebp - 0xc], 1
jne 0x10006158
or dword [ebp + 0x10], 0x200000
jmp 0x10006191
mov eax, dword [0x1003e3fc]
cmp eax, ebx
je 0x10006191
push eax
call fcn.10002d65
pop ecx
test eax, eax
je 0x10006191
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10006191
mov eax, dword [0x1003e400]
cmp eax, ebx
je 0x10006191
push eax
call fcn.10002d65
pop ecx
test eax, eax
je 0x10006191
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003e3f8]
call fcn.10002d65
pop ecx
test eax, eax
je 0x100061b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100061b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1003c240], 0
mov byte [0x1003c244], 0
mov dword [0x1003c23c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10008f96
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x1003c23c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10008fc8
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1003c234], 0x1fdd
mov eax, dword [0x1003c23c]
add eax, 1
mov dword [0x1003c23c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10008f96
jmp 0x10008f7d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0xfffff6b9
mov dword [0x1003c248], 0
mov ebx, dword [0x1003c240]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x1003c248], esi
mov dword [0x1003c238], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1003c240], edx
mov dword [0x1003c234], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x1003c244], bl
mov dword [0x1003c238], 0xe30
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x1003c238]
add ecx, 0xfffffd81
mov dword [0x1003c234], ecx
mov bl, byte [0x1003c244]
mov ecx, dword [0x1003c240]
mov byte [edi + ecx], bl
mov ecx, dword [0x1003c23c]
add ecx, 1
mov dword [0x1003c23c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jge 0x100090a0
mov eax, dword [0x1003c234]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10008fc8
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1003c234], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10009274
mov eax, dword [ebp - 0x14]
mov dword [0x1003c238], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x100092c5
jmp 0x1000929b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x10009256
jmp 0x100092ac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000930d
xor eax, eax
mov dword [0x1003c238], 0x1864
mov dword [ebp - 0x20], eax
jmp 0x10009328
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10009274
jmp 0x10009256
mov dword [0x1003c238], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000929b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000929b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000929b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000928c
jmp 0x1000929b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000929b
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10009570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1003c23c], 0
mov dword [0x1003c240], 0
mov dword [0x1003c24c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x100096a5
jmp 0x100096af
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x1003c234], 0x1e8a
mov edi, eax
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1003c23c], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1003c240], edx
mov dword [0x1003c234], 0x40c5
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1003c244], cl
mov dword [0x1003c238], 0x471
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1003c244]
mov edx, dword [0x1003c240]
mov byte [ebx + edx], cl
mov edx, dword [0x1003c23c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1003c240]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1003c24c], ecx
mov dword [0x1003c234], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x1003c238], 0xbad
mov dword [0x1003c234], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x100096ad
jmp 0x100096c3
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x100096a5
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x100095bf
mov eax, dword [0x1003c240]
mov ecx, dword [0x1003c23c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x100095bf
Function at 0x100096e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [0x1003c234], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.100086e0
lea ecx, [0x10008e20]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], 0x156600
mov edx, dword [0x1003c220]
mov dword [esp + 0x28], edx
mov edx, dword [0x1003c224]
mov dword [esp + 0x40], edx
mov edx, dword [0x1003c228]
mov dword [esp + 0x2c], edx
mov edx, dword [0x1003c22c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1003c230]
mov dword [esp + 0x48], edx
mov dword [0x1003c234], 0x212d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10009791
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x100097a5
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1000976a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov dword [0x1003c238], 0x1fcc
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x70], eax
call fcn.10009220
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1000980c
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10007df0
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1003c234], 0x1ed4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret