joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100605f9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10092210]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006063f
cmp word [ebx], dx
jne 0x1006063f
or byte [eax + edi + 0x28], 4
jmp 0x10060644
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100607a7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10060787
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10060685
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100606bb
cmp eax, edx
jae 0x100606c9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10060660
jmp 0x100607a7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10060782
cmp dword [ebp - 0x18], 0
je 0x10060782
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10092210]
test byte [eax + edi + 0x28], 0x48
je 0x10060758
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1006071c
mov word [esi], cx
jmp 0x10060753
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10092210]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10092210]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10092210]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100607a7
pop eax
cmp word [ebp - 4], ax
jne 0x10060768
cmp esi, ebx
jne 0x10060768
mov word [esi], ax
jmp 0x100607a4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10061032
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100607a7
push 0xd
pop eax
jmp 0x10060763
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10092210]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100607a1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100607a7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100626e2
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10062664
Function at 0x100655fd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006569a
push ebx
push esi
call fcn.100655c6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100643e2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10065647
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10065699
push edi
push eax
call fcn.1005c2e3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10065667
call fcn.1005c0ac
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10065698
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100643e2
add esp, 0x20
test eax, eax
jne 0x10065686
push edi
call fcn.1005c0ac
jmp 0x1006568e
push ebx
call fcn.1005c0ac
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100677b5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1005a69c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10067824
cmp esi, dword [ebp - 4]
je 0x1006781f
cmp dword [ebp + 0xc], 0
je 0x1006781f
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100677fc
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10067307
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10067826
xor eax, eax
inc eax
jmp 0x10067826
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1006788b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10090080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1005a69c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1005a69c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10067902
cmp word [ecx], dx
je 0x10067902
mov eax, dword [0x1007f214]
push edi
dec eax
push eax
push 0x1007f100
call fcn.1006782a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10067975
cmp word [eax], dx
je 0x10067975
mov eax, dword [edi]
test eax, eax
je 0x10067926
cmp word [eax], dx
je 0x10067926
lea eax, [ebp - 0x10]
push eax
call fcn.1006720d
jmp 0x1006792f
lea eax, [ebp - 0x10]
push eax
call fcn.100672a8
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1006799f
mov eax, dword [0x1007f0fc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1007edf0
call fcn.1006782a
add esp, 0xc
test al, al
je 0x1006799f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1006796a
cmp word [eax], di
je 0x1006796a
lea eax, [ebp - 0x10]
push eax
call fcn.1006720d
pop ecx
jmp 0x100679a1
lea eax, [ebp - 0x10]
push eax
call fcn.100672a8
jmp 0x10067967
mov eax, dword [edi]
test eax, eax
je 0x1006798c
cmp word [eax], dx
je 0x1006798c
lea eax, [ebp - 0x10]
push eax
call fcn.100671c2
pop ecx
jmp 0x1006799f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10067a6a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100676af
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10067a6a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10067a6a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10067a6a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100679f7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1005e535
test ebx, ebx
je 0x10067a65
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1005e535
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10067a6a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10067a6a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10062344
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10067a6c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100481ec
leave
ret
Function at 0x1006c181
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1006c0fd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1006c2f0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1006c2f0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1006c2a5
jg 0x1006c1dd
test eax, eax
je 0x1006c29b
push 1
push 0x1000
call fcn.1005c04f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1006c200
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1006c292
push 0x8000
push ebx
call fcn.1006c02e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1006c229
jg 0x1006c224
cmp ecx, 0x1000
jb 0x1006c229
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1005f68d
add esp, 0x10
cmp eax, 0xffffffff
je 0x1006c26e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1006c224
jl 0x1006c255
test ecx, ecx
jne 0x1006c216
push dword [ebp - 0xc]
push ebx
call fcn.1006c02e
push esi
call fcn.1005c0ac
add esp, 0xc
xor ebx, ebx
jmp 0x1006c2fe
cmp byte [edi + 0x24], 0
je 0x1006c285
cmp dword [edi + 0x20], 5
jne 0x1006c285
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1006c290
mov ebx, dword [edi + 0x18]
jmp 0x1006c292
xor ebx, ebx
push esi
call fcn.1005c0ac
pop ecx
jmp 0x1006c2fe
test ecx, ecx
jg 0x1006c267
jl 0x1006c2a5
test eax, eax
jae 0x1006c267
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10061032
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1006c2c5
cmp byte [edi + 0x1c], 0
je 0x1006c267
jmp 0x1006c2f6
push ebx
call fcn.10069875
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1006c267
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1006c2fe
cmp byte [edi + 0x1c], 0
je 0x1006c2fb
mov ebx, dword [edi + 0x18]
jmp 0x1006c2fe
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10061032
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1006ca70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1006ca9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006ca9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100d8980
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b2a90]
jne 0x100d898a
repz ret
jmp fcn.100d9a5c

Function at 0x100dac5b
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.100d7e55
and dword [ebp - 4], 0
cmp dword [0x101b47dc], 0
mov ebx, eax
jne 0x100dad0c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100dadbd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100dadbd
push eax
call fcn.100d7de3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b47dc], eax
call esi
push eax
call fcn.100d7de3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b47e0], eax
call esi
push eax
call fcn.100d7de3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b47e4], eax
call esi
push eax
call fcn.100d7de3
pop ecx
mov dword [0x101b47ec], eax
test eax, eax
je 0x100dad0c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100d7de3
pop ecx
mov dword [0x101b47e8], eax
mov eax, dword [0x101b47e8]
cmp eax, ebx
je 0x100dad64
cmp dword [0x101b47ec], ebx
je 0x100dad64
push eax
call fcn.100d7e5e
push dword [0x101b47ec]
mov esi, eax
call fcn.100d7e5e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100dad64
test edi, edi
je 0x100dad64
call esi
test eax, eax
je 0x100dad5b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100dad5b
test byte [ebp - 0xc], 1
jne 0x100dad64
or dword [ebp + 0x10], 0x200000
jmp 0x100dad9d
mov eax, dword [0x101b47e0]
cmp eax, ebx
je 0x100dad9d
push eax
call fcn.100d7e5e
pop ecx
test eax, eax
je 0x100dad9d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100dad9d
mov eax, dword [0x101b47e4]
cmp eax, ebx
je 0x100dad9d
push eax
call fcn.100d7e5e
pop ecx
test eax, eax
je 0x100dad9d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b47dc]
call fcn.100d7e5e
pop ecx
test eax, eax
je 0x100dadbd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100dadbf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100dc114
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x11f9
mov dword [0x101b22e0], 0
mov byte [0x101b22e4], 0
mov dword [0x101b22d4], 0x1887
mov dword [0x101b22dc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x41f
mov ebx, ecx
mov dword [0x101b22d8], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov dword [0x101b22d4], 0xaad
mov ecx, dword [0x101b22dc]
add ecx, 1
mov dword [0x101b22dc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
jl 0x100dc161
xor eax, eax
mov dword [0x101b22d4], 0xfffff035
mov dword [0x101b22dc], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101b22e8], 0
mov edi, dword [0x101b22d8]
mov ebx, edi
add ebx, 0x1f68
mov dword [0x101b22d4], ebx
mov ebx, dword [0x101b22e0]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101b22e8], ecx
add edi, 0xfffffb7b
mov dword [0x101b22d8], edi
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101b22e0], edx
mov dword [0x101b22d4], 0xb5f
mov edi, dword [ebp - 0x28]
mov cl, byte [esi + edi]
mov byte [0x101b22e4], cl
mov dword [0x101b22d8], 0x148d
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov edx, dword [0x101b22d4]
add edx, 0xfffffb13
mov dword [0x101b22d8], edx
mov cl, byte [0x101b22e4]
mov edx, dword [0x101b22e0]
mov byte [esi + edx], cl
mov dword [0x101b22d4], 0x106c
mov edx, dword [0x101b22dc]
add edx, 1
mov dword [0x101b22dc], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x100dc1bc
mov dword [0x101b22d4], 0x3b1
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dc398
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x101b22d4], 0x15fa
mov dword [0x101b22d8], 0xfffffb3e
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x100dc3dc
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a8bb]
mov dh, byte [eax + 0x1019a88c]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x100dc3dc
mov dword [0x101b22d8], 0x10bc
mov dword [0x101b22d4], 0x1c28
call fcn.100dca0a
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100dbc76
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
je 0x100dc3d3
mov eax, dword [ebp - 0x3c]
mov dword [0x101b22d8], 0x6ae
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 [0x101b22d4], 0x1d1e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100dce2f
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x30], ecx
mov dword [0x101b22d8], 0x1af1
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x50], ecx
mov dword [0x101b22d4], 0x1860
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100dc3d3
mov dword [0x101b22d8], 0xb20
mov eax, dword [ebp - 0x40]
add eax, 0x109d
mov dword [ebp - 0x38], eax
jmp 0x100dc3d3
Function at 0x100dcb48
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [0x101b22d8], 0x968
mov dword [ebp - 0x10], eax
call fcn.100dd07e
xor ecx, ecx
mov edx, eax
mov dword [0x101b22d8], 0x15f9
mov esi, dword [eax + 0x3c]
mov dword [0x101b22d4], 0xfffff591
mov dword [0x101b22d8], 0x58
mov esi, dword [eax + esi + 0x78]
mov dword [0x101b22d8], 0xfffffbf7
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101b22d4], 0x38ca
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100dcc09
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x100dcc3f
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x34]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x100dcc14
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x100dcc84
jmp 0x100dcc5e
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x39]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x38]
add edx, 1
mov ah, byte [ebp - 0x3a]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x30], edx
jne 0x100dcbd7
jmp 0x100dcc00
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
jmp 0x100dcbd7
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
jb 0x100dcc3f
jmp 0x100dcc09
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x101b22d4], 0x2457
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b22d8], 0x163f
mov dword [ebp - 0x24], edi
jmp 0x100dcc09
Function at 0x100dccb6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101b22d4], 0x24f2
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x13da
xor edx, edx
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x101b22d4], 0x13da
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x100dcd98
mov dword [0x101b22d4], 0xfffffa1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100dcdfa
jmp 0x100dce17
mov dword [0x101b22d4], 0x5bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100dcdcc
jmp 0x100dce17
mov eax, dword [ebp - 0x20]
add eax, 0xfffffe00
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [0x101b22d4], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jl 0x100dcd98
jmp 0x100dcdb4
mov eax, 1
mov dword [0x101b22d4], 0x24bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x100dce26
jmp 0x100dce17
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], esi
jne 0x100dcd46
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x100dcd24
jmp 0x100dce17
mov dword [0x101b22d8], 0x47
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100dce17
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100dcd02
jmp 0x100dce17
mov dword [0x101b22d8], 0x519
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100dcd71
xor eax, eax
mov dword [0x101b22d4], 0x1321
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x100dd222
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x93e
xor ebx, ebx
mov dword [0x101b22dc], 0
mov dword [0x101b22e0], 0
mov dword [0x101b22ec], 0
mov dword [0x101b22d4], 0x1b7a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x100dd3b0
jmp 0x100dd2a6
mov eax, dword [0x101b22dc]
mov ecx, dword [0x101b22e0]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x109d
mov edi, 0x100
add ecx, 1
mov dword [0x101b22d4], 0xcd7
mov ebx, edx
add ebx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101b22dc], edx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101b22e0], edx
mov dword [0x101b22d4], 0x1a1e
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x101b22e4], cl
mov dword [0x101b22d8], 0xfffff974
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101b22e4]
mov edx, dword [0x101b22e0]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x101b22d4], 0x6cf
mov edx, dword [0x101b22dc]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101b22e0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x101b22d4], 0x257e
and ecx, 0xff
mov dword [0x101b22ec], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
xor cl, byte [edx + edi]
mov byte [0x101b22f0], cl
mov dword [0x101b22d8], 0x16d0
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], cl
mov dword [0x101b22d4], 0x22d9
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x100dd28f
mov eax, dword [ebp - 0x2c]
mov dword [0x101b22d4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret