joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e42c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10192478
push 0x100f6650
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101ad3b4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x100e4305
mov dword [eax], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x101ac62c]
mov edx, dword [ecx + 0x50]
call edx
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp edi, esi
jne 0x100e433d
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, word [edi + 0x18]
cmp eax, 0x10b
je 0x100e439a
cmp eax, 0x20b
jne 0x100e4320
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x24], esi
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x20], ebx
push 0x66
movzx eax, word [edi + 6]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push esi
call fcn.100e40f0
xor eax, eax
mov dword [ebp - 0x28], eax
cmp ax, word [edi + 6]
jae 0x100e4392
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x100e4378
add ebx, dword [edi + 0xac]
jmp 0x100e43e3
movzx edx, word [edi + 0x14]
lea esi, [edx + edi + 0x18]
mov dword [ebp - 0x24], esi
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x20], ebx
push 0x66
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push esi
call fcn.100e40f0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ax, word [edi + 6]
jae 0x100e43dd
add ebx, dword [esi + 0x10]
mov dword [ebp - 0x20], ebx
add eax, 1
add esi, 0x28
mov dword [ebp - 0x24], esi
jmp 0x100e43c3
add ebx, dword [edi + 0x9c]
mov edi, dword [edi + 0x58]
mov dword [ebp - 0x20], ebx
push 0x66
push ebx
mov esi, dword [ebp + 8]
push esi
call fcn.100e40f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e43fe
mov dword [eax], ebx
test edi, edi
jne 0x100e441f
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, esi
call fcn.100e4000
mov byte [ebp - 0x19], al
jmp 0x100e4454
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100e5c09
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x100e5c49
push 0x10174030
push 4
push eax
call fcn.100f69aa
push eax
call fcn.10001000
add esp, 0x10
jmp 0x100e5c5b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
test eax, eax
je 0x100e5cc9
push edi
call fcn.100fa855
mov edi, dword [eax]
call fcn.100fa855
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.100f79f7
add esp, 0x18
mov ebx, eax
call fcn.100fa855
cmp dword [eax], 0
je 0x100e5ca9
call fcn.100fa855
push dword [eax]
call fcn.100e4daa
pop ecx
jmp 0x100e5cb0
call fcn.100fa855
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x100e5cc9
cmp ebx, esi
jae 0x100e5cc9
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x100e5ccb
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100f611a
leave
ret
Function at 0x100e992d
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x101748b4
jne 0x100e9956
call fcn.100e56af
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x100e9979
push eax
push dword [esi + 4]
call fcn.100e98b8
push esi
push eax
mov ecx, 0x102c5780
call fcn.100e9592
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x100f1bb6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x100f1bf9
call fcn.100e56af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x100f1bf9
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x100f1c14
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.100f176d
test ebx, ebx
mov esi, eax
je 0x100f1c12
test edi, edi
je 0x100f1c12
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100f611a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ad3b4]
jne 0x100f6124
repz ret
jmp fcn.101021cc
Function at 0x10100ad7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x101ad6b8]
je 0x10100af2
inc edi
cmp edi, 0x17
jb 0x10100ae3
cmp edi, 0x17
jae 0x10100c72
push ebp
push 3
call fcn.1010d904
cmp eax, 1
pop ecx
je 0x10100c3e
push 3
call fcn.1010d904
test eax, eax
pop ecx
jne 0x10100b26
cmp dword [0x102c7424], 1
je 0x10100c3e
cmp ebx, 0xfc
je 0x10100c71
push 0x10176a78
mov ebx, 0x314
push ebx
mov ebp, 0x102c75d0
push ebp
call fcn.100f69aa
add esp, 0xc
test eax, eax
je 0x10100b5c
push esi
push esi
push esi
push esi
push esi
call fcn.10100ce6
add esp, 0x14
push 0x104
mov esi, 0x102c75e9
push esi
push 0
mov byte [0x102c76ed], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x10100ba0
push 0x10176a60
push 0x2fb
push esi
call fcn.100f69aa
add esp, 0xc
test eax, eax
je 0x10100ba0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10100ce6
add esp, 0x14
push esi
call fcn.100fc720
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10100be5
push esi
call fcn.100fc720
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x102c78e4
push 0x10176a5c
sub ecx, eax
push ecx
push eax
call fcn.100fc593
add esp, 0x14
test eax, eax
je 0x10100be5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10100ce6
add esp, 0x14
jmp 0x10100be7
xor esi, esi
push 0x10176a58
push ebx
push ebp
call fcn.100f6ad8
add esp, 0xc
test eax, eax
je 0x10100c07
push esi
push esi
push esi
push esi
push esi
call fcn.10100ce6
add esp, 0x14
push dword [edi*8 + 0x101ad6bc]
push ebx
push ebp
call fcn.100f6ad8
add esp, 0xc
test eax, eax
je 0x10100c29
push esi
push esi
push esi
push esi
push esi
call fcn.10100ce6
add esp, 0x14
push 0x12010
push 0x10176a30
push ebp
call fcn.1010d747
add esp, 0xc
jmp 0x10100c71
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10100c71
cmp ebp, 0xffffffff
je 0x10100c71
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101ad6bc]
push dword [esi]
call fcn.100fc720
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1010d747
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10101b6a
xor ebx, ebx
cmp dword [0x102c7eb4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1010d81d
push 0x1017859c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1010d8fd
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x10178590
push edi
call esi
cmp eax, ebx
je 0x1010d8fd
push eax
call fcn.10101afc
mov dword [esp], 0x10178580
push edi
mov dword [0x102c7eb4], eax
call esi
push eax
call fcn.10101afc
mov dword [esp], 0x1017856c
push edi
mov dword [0x102c7eb8], eax
call esi
push eax
call fcn.10101afc
mov dword [0x102c7ebc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100fc8ac
test eax, eax
pop ecx
pop ecx
je 0x1010d7eb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10100ce6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1010d81d
push 0x10178550
push edi
call esi
push eax
call fcn.10101afc
cmp eax, ebx
pop ecx
mov dword [0x102c7ec4], eax
je 0x1010d81d
push 0x10178538
push edi
call esi
push eax
call fcn.10101afc
pop ecx
mov dword [0x102c7ec0], eax
mov eax, dword [0x102c7ec0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1010d8a2
cmp dword [0x102c7ec4], ecx
je 0x1010d8a2
push eax
call fcn.10101b73
push dword [0x102c7ec4]
mov esi, eax
call fcn.10101b73
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1010d8a2
cmp edi, ebx
je 0x1010d8a2
call esi
cmp eax, ebx
je 0x1010d86f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1010d86f
test byte [ebp - 0x18], 1
jne 0x1010d8a2
lea eax, [ebp - 0x10]
push eax
call fcn.100fc8e3
test eax, eax
pop ecx
je 0x1010d88a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10100ce6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1010d899
or dword [ebp + 0x10], 0x200000
jmp 0x1010d8dd
or dword [ebp + 0x10], 0x40000
jmp 0x1010d8dd
mov eax, dword [0x102c7eb8]
cmp eax, dword [ebp - 8]
je 0x1010d8dd
push eax
call fcn.10101b73
cmp eax, ebx
pop ecx
je 0x1010d8dd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1010d8dd
mov eax, dword [0x102c7ebc]
cmp eax, dword [ebp - 8]
je 0x1010d8dd
push eax
call fcn.10101b73
cmp eax, ebx
pop ecx
je 0x1010d8dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102c7eb4]
call fcn.10101b73
cmp eax, ebx
pop ecx
je 0x1010d8fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1010d8ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10113fb9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10113f4e
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.100f6b80
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 0x10114008
cmp dword [ebp - 0x1c], 5
jb 0x10114020
jmp 0x1011401c
cmp dword [ebp - 0x10], 1
jne 0x10114020
cmp dword [ebp - 0x1c], 4
ja 0x1011401c
jne 0x10114020
cmp dword [ebp - 0x18], 0
jbe 0x10114020
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x101786a0
call fcn.10001530
test eax, eax
jge 0x10114041
mov byte [0x101aed00], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100f611a
add ebp, 0x78
leave
ret

Function at 0x10115b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015f188
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], 0x10178778
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], 0
call fcn.10115260
mov bl, al
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 8], 0x10178778
je 0x10115bd0
cmp byte [esp + 0x10], 0
je 0x10115bd0
push eax
call fcn.100f7244
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x1011d520
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
push edi
call edx
mov esi, dword [ebp + 0xc]
mov ecx, 0xc1
lea edi, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xe], 1
lea ebx, [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 1
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
call edx
cmp eax, 1
jne 0x1011d727
cmp byte [esp + 0xe], 0
mov al, byte [esp + 0xf]
jne 0x1011d58d
test al, al
jne 0x1011d560
cmp al, 0x21
je 0x1011d71a
cmp al, 0x2c
je 0x1011d5aa
cmp al, 0x3b
je 0x1011d727
test al, al
sete byte [esp + 0xe]
jmp 0x1011d560
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 9
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call fcn.10116250
mov ecx, dword [esp + 0x12]
push ecx
mov ecx, ebx
mov word [esp + 0x14], ax
call fcn.10116250
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebx
mov word [esp + 0x16], ax
call fcn.10116250
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x16]
push eax
mov ecx, ebx
call fcn.10116250
mov ecx, dword [ebp + 0x10]
cmp word [ecx + 6], 0
mov dx, word [esp + 0x14]
mov word [esp + 0x16], ax
jne 0x1011d61e
cmp word [ecx + 8], 0
jne 0x1011d61e
mov word [ecx + 6], dx
mov word [ecx + 8], ax
movzx edi, word [esp + 0x10]
movzx ecx, word [ecx + 6]
movzx edx, dx
add edx, edi
cmp edx, ecx
jg 0x1011d560
movzx ecx, word [esp + 0x12]
movzx edx, ax
add edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + 8]
cmp edx, ecx
jg 0x1011d560
movzx ecx, byte [esp + 0x18]
add dword [esp + 0x1c], 1
test cl, cl
jns 0x1011d68e
mov edx, dword [esi]
mov edx, dword [edx + 8]
and ecx, 7
add ecx, 1
mov eax, 1
shl eax, cl
push 1
lea ecx, [esp + 0x30]
mov word [esp + 0x2e], ax
movsx eax, ax
lea eax, [eax + eax*2]
push eax
push ecx
mov ecx, esi
call edx
movzx ecx, byte [esp + 0x18]
mov ax, word [esp + 0x16]
xor edx, edx
movzx eax, ax
and ecx, 0x40
mov dword [ebx + 0x1dc], ecx
mov dword [ebx + 0x1e8], eax
mov dword [esp + 0x20], edx
mov dword [ebx + 0x1f0], 0x4000
mov dword [ebx + 0x1e4], 8
mov dword [ebx + 0x1e0], edx
mov dword [ebx + 0x1ec], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push 0
push esi
mov ecx, ebx
mov edi, eax
call fcn.1011cd40
cmp dword [esp + 0x20], 0
je 0x1011d6fa
push edi
push esi
mov ecx, ebx
call fcn.1011d080
jmp 0x1011d560
mov ecx, dword [ebx + 0x1f0]
sub ecx, dword [ebx + 0x1f4]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add ecx, 1
push 1
push ecx
mov ecx, esi
call edx
jmp 0x1011d560
push esi
mov ecx, ebx
call fcn.1011c3e0
jmp 0x1011d560
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1011e6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xf864], eax
mov dword [esi + 0xf860], ecx
mov dword [esi + 0xf854], ecx
mov edx, 1
shl edx, cl
add ecx, 0xffffffff
mov eax, 1
shl eax, cl
push edi
xor edi, edi
sub edx, 1
mov dword [esi + 0xf868], eax
add eax, 1
mov dword [esi + 0xf86c], eax
mov ax, word [esi + 0xf868]
add ax, 2
mov ecx, esi
mov dword [esi + 0xf85c], edi
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1d4], edi
mov word [esi + 0xf858], dx
mov word [esi + 0xf85a], ax
mov dword [esi + 0xf870], edi
call fcn.1011c9b0
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, 0x138b
jmp 0x1011e770
add eax, eax
add ecx, 1
cmp eax, 0x10000
jl 0x1011e770
mov eax, 8
sub eax, ecx
push 0x138b
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.1011ca40
movzx ecx, word [esi + 0xf868]
push ecx
mov ecx, esi
call fcn.1011e210
mov ecx, esi
call fcn.1011c9b0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1011e8b4
push ebx
mov ecx, dword [esp + 0x18]
movsx edi, bp
shl edi, cl
mov ebx, ebp
shl ebx, 0xc
add ebx, dword [esp + 0x14]
xor edi, dword [esp + 0x14]
mov ecx, dword [esi + edi*4 + 0x8310]
cmp ecx, ebx
lea eax, [esi + edi*4 + 0x8310]
jne 0x1011e7ee
movzx edx, word [esi + edi*2 + 0xd13c]
mov dword [esp + 0x14], edx
jmp 0x1011e8a1
test ecx, ecx
jl 0x1011e826
mov ecx, 0x138b
sub ecx, edi
test edi, edi
jne 0x1011e802
mov ecx, 1
lea edx, [ecx*4]
sub edi, ecx
sub eax, edx
test edi, edi
jge 0x1011e81c
add edi, 0x138b
add eax, 0x4e2c
mov edx, dword [eax]
cmp edx, ebx
je 0x1011e85c
test edx, edx
jg 0x1011e802
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.1011e210
movzx eax, word [esi + 0xf85a]
cmp ax, 0x1000
mov dword [esp + 0x14], ebp
jge 0x1011e86a
mov word [esi + edi*2 + 0xd13c], ax
add word [esi + 0xf85a], 1
mov dword [esi + edi*4 + 0x8310], ebx
jmp 0x1011e8a1
movzx eax, word [esi + edi*2 + 0xd13c]
mov dword [esp + 0x14], eax
jmp 0x1011e8a1
push 0x138b
mov ecx, esi
call fcn.1011ca40
movzx eax, word [esi + 0xf868]
mov dx, word [esi + 0xf868]
add dx, 2
push eax
mov ecx, esi
mov word [esi + 0xf85a], dx
mov dword [esi + 0xf85c], 1
call fcn.1011e210
mov ecx, esi
call fcn.1011c9b0
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x1011e7b5
pop ebx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.1011e210
movzx edx, word [esi + 0xf86c]
push edx
mov ecx, esi
call fcn.1011e210
pop edi
pop esi
pop ebp
ret 8
Function at 0x1013acf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x1013ad1f
push esi
call fcn.1013b480
add esp, 4
cmp byte [esi + 0x40], 0
je 0x1013ad18
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x1013ad9a
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x1013ad8a
mov eax, dword [esi + 8]
test eax, eax
je 0x1013ad44
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x1013ad86
cmp eax, 2
je 0x1013ad8a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1013ad35
cmp eax, 3
je 0x1013ad6c
cmp eax, 1
jne 0x1013ad35
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x1013ad35
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x1013ad35
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.1013ab80
pop esi
ret
cmp eax, 0xcc
je 0x1013adbc
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.1013ab80
pop esi
ret
Function at 0x10143750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x10143777
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x10143783
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x1014388f
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x101437cc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x101437ed
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.101435c0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x10143822
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.101435c0
mov ecx, eax
cmp esi, ecx
jg 0x10143810
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x10143805
cmp dword [esp + 0x10], 0
je 0x10143870
mov eax, 1
lea ecx, [edi - 1]
jmp 0x10143850
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x10143850
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x101437c0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10305473
Capabilities:
Get number of processors

Disassembly:
jmp 0x102f9794
call fcn.102f977f
salc
arpl word [ebp - 0x79], cx
loop 0x102f978a
adc eax, 0x24748b56
add al, 0x8d
mov dh, 0xd4
adc byte [edx], al
add byte [ecx + 0x5e042474], cl
push edx
mov dword [esp], ebp
push esp
pop ebp
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 0x80
xchg dword [esp], ebp
pop esp
sub esp, 4
mov dword [esp], ebx
push edi
mov dword [esp], esi
push 0x188b
mov dword [esp], edi
jmp 0x1031f3b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x103181dd
jmp 0x10304476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x10313856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x1031be32
jmp 0x1031386d
call fcn.10313858
adc byte [eax - 0x77], dl
loopne 0x1031387c
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
rol byte [edi + eax*4], 4
and al, 0x5c
push eax
pop dword [ebp - 4]
push ecx
mov ecx, 0xc
add ecx, ebp
mov eax, dword [ecx]
pop ecx
push esi
mov dword [esp], eax
push dword [ebp - 4]
sub dword [esp], 0x3f8325ed
pop ecx
add ecx, 0x3f8325ed
push esi
mov dword [esp], ecx
push eax
mov eax, 8
add eax, ebp
mov edx, dword [eax]
pop eax
push eax
mov eax, 0x64
add edx, eax
pop eax
push ebx
mov dword [esp], edx
jmp 0x102f977d
jmp 0x103181f4
call fcn.103181df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x102f9bce
push esi
mov esi, 0x6114390f
xor esi, 0x61143917
mov eax, esi
pop esi
mov eax, dword fs:[eax]
push eax
pop dword [ebp - 4]
push dword [ebp - 4]
pop eax
push dword [eax + 0x30]
sub dword [esp], 0x63f80c4b
pop ecx
add ecx, 0x63f80c4b
push eax
mov eax, 0xfffffff8
add eax, ebp
mov dword [eax], ecx
pop eax
push dword [ebp - 8]
pop edx
push ecx
mov ecx, 8
add ecx, edx
mov eax, dword [ecx]
pop ecx
push edx
mov edx, 0xffffffec
add edx, ebp
mov dword [edx], eax
pop edx
push ebx
mov ebx, 0
mov dword [ebp - 0x10], ebx
pop ebx
cmp dword [ebp - 0x10], 0
je 0x102fa698
jmp 0x102fb265

Function at 0x103246f2
Capabilities:
Access peb ldr_data

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax - 0x4e23]
mov dword [esp + 4], eax
pop eax
jmp 0x10313a70

Function at 0x1057c3d3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x1057c431
jmp 0x1057c3f0
push ebx
mov ebx, 0x1000
sub ecx, ebx
pop ebx
push esi
mov esi, 0x42603735
add esi, 0x62b848ad
not esi
xor esi, 0xa3b2af6
xor esi, 0x5731f4a
shr esi, 4
xor esi, 0x55aeb5a
sub eax, esi
pop esi
test dword [ecx], eax
cmp eax, 0x1000
jae 0x1057c3f0
jmp 0x1057c431
sub ecx, 0x42861a21
sub ecx, eax
add ecx, 0x42861a21
push esp
pop eax
test dword [ecx], eax
mov esp, ecx
push dword [eax]
pop ecx
push dword [eax + 4]
xor dword [esp], 0x1d9f7243
pop eax
xor eax, 0x1d9f7243
push ecx
mov dword [esp], eax
ret