joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10094d5d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10094d5d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10094d5d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x10094d6d
add eax, 4
cmp eax, ecx
jb 0x10094d52
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2120
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10094d5d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10094d81
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094d87
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x10094df5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10094de0
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x10094dc1
cmp dl, 0x11
jne 0x10094dda
inc eax
cmp eax, 6
jl 0x10094db0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2120
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10094da7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2120
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.100954b0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b2120
mov esp, ebp
pop ebp
ret

Function at 0x10094e20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x10094e63
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10094e63
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10094e63
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10094e7e
add eax, 4
cmp eax, ecx
jb 0x10094e58
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10094e63
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10094e92
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094e98
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.100948b0
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x10095590
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100954e0
add esp, 0x18
test eax, eax
je 0x100955b9
inc eax
cmp byte [eax], 0xcc
je 0x100955b3
pop ebp
ret
Function at 0x100957c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10095700
add esp, 0x18
test eax, eax
je 0x100957e9
inc eax
cmp byte [eax], 0xcc
je 0x100957e3
pop ebp
ret

Function at 0x10097ae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10097c90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10097bad
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x10097b2a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x10097b2a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10097afa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b35e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10097b50
jmp 0x10097bad
cmp dword [ebp - 0x14], 0x10000
jne 0x10097b93
cmp dword [ebp - 0x18], 0x10000
jb 0x10097b93
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097b86
mov eax, dword [ebp - 8]
jmp 0x10097baf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097ba8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10097c90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10097afa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10097bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10097cc0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10097c85
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x10097c05
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x10097c05
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10097bd5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b35e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10097c2b
jmp 0x10097c85
cmp dword [ebp - 0x14], 0x10000
jne 0x10097c6e
cmp dword [ebp - 0x18], 0x10000
jb 0x10097c6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097c61
mov eax, dword [ebp - 8]
jmp 0x10097c87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097c80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10097cc0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10097bd5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1009fa4b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1009fa72
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1009fa75
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1009fa27
pop esi
leave
ret 8

Function at 0x100a4edf
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a4f02
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a4ef0
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100b1d5d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100c8cea
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b1da0
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b1da0
sub eax, 1
je 0x100b1d9b
sub eax, 1
je 0x100b1d97
xor eax, eax
leave
ret
push 3
jmp 0x100b1da2
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d0e15
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f8a0c
push 0x100f8a04
push str.FlsAlloc
push 0x1e
call fcn.100d0c42
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d0e49
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e733c]
call esi
jmp 0x100d0e4f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d0e93
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f8a1c
push 0x100f8a14
push str.FlsGetValue
push 0x20
call fcn.100d0c42
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d0eca
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e733c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d42fc
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 0x100d4399
push ebx
push esi
call fcn.100d42c5
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.100d2a2c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d4346
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d4398
push edi
push eax
call fcn.100cf5f0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d4366
call fcn.100cf5b6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d4397
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d2a2c
add esp, 0x20
test eax, eax
jne 0x100d4385
push edi
call fcn.100cf5b6
jmp 0x100d438d
push ebx
call fcn.100cf5b6
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 0x100d439c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d43ad
pop esi
ret
push ebx
push edi
push esi
call fcn.100d42c5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100cf5f0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d43d5
push ebx
push esi
push edi
call fcn.100b3900
add esp, 0xc
push 0
call fcn.100cf5b6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d4799
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d43ea
Function at 0x100dc540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100dc56d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100dc56d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101849eb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x101a0e88]
add ebx, 0xffffe881
mov dword [0x101a0e8c], ebx
mov dword [0x101a0e90], 0
mov dword [0x101a0e94], 0
mov dword [0x101a0ea0], 0
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 0x10184b73
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101a0e88], 0x1751
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101a0e90], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101a0e94], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101a0e98], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101a0e98]
mov edx, dword [0x101a0e94]
mov byte [edi + edx], cl
mov edx, dword [0x101a0e90]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101a0e94]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x101a0e8c], 0x26fd
and ebx, 0xff
mov dword [0x101a0ea0], ebx
mov dword [0x101a0e88], 0x267e
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x101a0ea5]
mov byte [0x101a0ea4], dl
mov byte [0x101a0ea5], ch
mov byte [0x101a0ea6], cl
mov dword [0x101a0e8c], 0x1b66
xor ch, cl
mov dword [0x101a0e88], 0x1174
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10184b73
mov eax, dword [0x101a0e94]
mov ecx, dword [0x101a0e90]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10184a56
mov dword [0x101a0e8c], 0x13b3
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10184b85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x101a0e88], 0x260a
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x10184c5f
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
imul esi, eax, 0x64
mov ebx, edx
add ebx, esi
add ebx, 4
mov esi, eax
add esi, 1
imul eax, eax, 0x64
add edx, eax
add edx, 0x54
mov eax, dword [ebp - 0x144]
add eax, ecx
mov edx, dword [edx]
mov edi, dword [edi]
movzx ebx, word [ebx]
xor ebx, edx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ebx
call fcn.10184792
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
cmp edx, 0x425
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], eax
je 0x10184d7c
jmp 0x10184bb9
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x54
mov esi, dword [edi]
imul edi, eax, 0x64
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x425
mov ecx, edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10184c5f
lea eax, [0x10186051]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x101a0e8c], 0x1461
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], ecx
call fcn.101844e5
mov dword [0x101a0e88], 0x79e
call fcn.10184325
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.10185041
mov dword [0x101a0ea8], eax
mov ecx, dword [0x101a0e88]
add ecx, 0xffffe40e
mov dword [0x101a0e8c], ecx
mov ecx, esp
mov edx, dword [ebp - 0x154]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101a0e88]
add ecx, 0xfffffbd2
mov dword [0x101a0e88], ecx
mov dword [ebp - 0x144], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], eax
jmp 0x10184bb9
lea eax, [0x1018605f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10185192
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x154]
mov dword [esp + 0xc], edx
call fcn.101849eb
xor eax, eax
mov ecx, dword [0x101a0e88]
add ecx, 0x1d8e
mov dword [0x101a0e88], ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x6f9e8
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x111600
mov ecx, dword [ebp - 0x144]
add ecx, 0x68472
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f60
mov ecx, dword [0x101a0e88]
add ecx, 0x1a21
mov dword [0x101a0e88], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10184e35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101a0e88], 0x1994
mov dword [ebp - 0x10], eax
call fcn.1018483a
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov edx, dword [eax + edx + 0x78]
mov dword [0x101a0e88], 0x2010
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov eax, edx
add eax, 0x18
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10184f80
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10184f2a
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov byte [ebp - 0x4e], dl
mov al, byte [ebp - 0x4d]
mov cl, byte [ebp - 0x4e]
and al, cl
test al, 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
jne 0x10184ec8
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10184f5d
jmp 0x10184f33
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10184eae
jmp 0x10184f80
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x101a0e8c], 0x2690
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10185192
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101a0e94], 0
mov byte [0x101a0e98], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, dword [0x101a0e88]
add ecx, 0xfffffac9
mov dword [0x101a0e8c], ecx
mov dword [0x101a0e90], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a0e88], 0x1cb3
mov eax, dword [0x101a0e90]
add eax, 1
mov dword [0x101a0e90], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101851df
xor eax, eax
mov dword [0x101a0e88], 0x1549
mov dword [0x101a0e90], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101a0e9c], 0
mov edi, dword [0x101a0e94]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a0e9c], esi
mov dword [0x101a0e88], 0x15b
mov eax, esi
cdq
idiv ecx
mov dword [0x101a0e94], edx
mov dword [0x101a0e8c], 0xffffff07
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101a0e98], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x101a0e8c]
add esi, 0xffffdd45
mov dword [0x101a0e88], esi
mov cl, byte [0x101a0e98]
mov esi, dword [0x101a0e94]
mov byte [ebx + esi], cl
mov esi, dword [0x101a0e90]
add esi, 1
mov dword [0x101a0e90], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10185228
mov dword [0x101a0e8c], 0x18f5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101852ed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10186051]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101a0e8c], 0x2337
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.101844e5
mov dword [0x101a0e88], 0x79e
call fcn.10184325
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10185041
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10185418
mov eax, dword [ebp - 0x3c]
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 [0x101a0e8c], 0x1985
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1018565d
xor eax, eax
mov ecx, dword [0x101a0e88]
mov edx, dword [ebp - 0x44]
mov word [edx], 0x5a4d
add ecx, 0xffffda01
mov dword [0x101a0e88], ecx
mov dword [edx + 0x3c], 0xc0
mov dword [edx + 0xc0], 0x4550
add edx, 0xffc00000
mov dword [0x101a0e8c], 0x2259
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x14], edx
cmp edx, 0
mov dword [ebp - 0x40], eax
je 0x10185418
mov eax, dword [ebp - 0x44]
add eax, 0x1178
mov dword [0x101a0e88], 0x6f0
mov dword [0x101a0e8c], 0x23bd
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10185422
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.10001088
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
jne 0x101855d7
lea eax, [esp + 0x48]
mov dword [0x101a0e88], 0x2038
mov dword [0x101a0e8c], 0x2318
mov dword [esp + 0x30], eax
call fcn.10185762
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x101855cf
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.10184b85
mov ecx, dword [0x101a0e8c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x78], 0x111600
mov edx, dword [0x101a0e74]
mov dword [esp + 0x98], edx
mov edx, dword [0x101a0e78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea eax, [0x101855e1]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x88], ecx
mov edx, dword [0x101a0e7c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101a0e80]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101a0e84]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x24]
add edx, 0xfffff8dd
mov dword [0x101a0e88], edx
mov dword [0x101a0e8c], 0x22a3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x10185540
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
je 0x10185568
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x10]
add ecx, 0xffffdab2
mov dword [0x101a0e88], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x1018550c
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov dword [0x101a0e8c], 0x1c92
mov dword [0x101a0e88], 0x14d5
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101852ed
mov ecx, dword [0x101a0e8c]
add ecx, 0x1f82
mov dword [0x101a0e88], ecx
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret