joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10086470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.10085a50
cmp dword [0x10c9927c], 0
je 0x10086512
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x100864d0
xor esi, esi
cmp dword [0x10c9aa48], esi
jbe 0x100864c1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x10c9aa40]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10c9aa48]
jb 0x100864a1
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c99278
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x10c9aa48]
xor eax, eax
test esi, esi
je 0x100864f0
mov edi, dword [0x10c9aa40]
mov ecx, edi
cmp edx, dword [ecx]
je 0x100864f7
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x100864e4
mov eax, 4
jmp 0x100864c3
cmp eax, 0xffffffff
je 0x100864f0
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x100864c1
mov eax, 2
jmp 0x100864c5

Function at 0x10086520
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10086575
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10086564
push ebx
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x1008655d
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1008655d
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10086535
pop ebx
push dword [edi]
push 0
push dword [0x10c9927c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x10086580
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10c9aa34]
test eax, eax
je 0x1008659c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100865eb
mov eax, dword [eax]
test eax, eax
jne 0x10086590
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100865f9
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100865c5
mov ecx, dword [0x10c9aa34]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x10c9aa34], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10093da0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.100036c0
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x10093dfe
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100a8429
int3
Function at 0x10094100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
push esi
push 0
push ebx
call fcn.10080ed0
movzx eax, bl
add esp, 0x10
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c992c0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.100036c0
mov ecx, dword [0x10c992c4]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10c992c4]
je 0x10094338
lea eax, [ebp + 8]
mov ecx, 0x10c992c0
push eax
call fcn.10093da0
push eax
call fcn.10093e10
add esp, 4
test al, al
je 0x10094338
lea eax, [ebp + 8]
mov ecx, 0x10c992c0
push eax
call fcn.10093da0
push esi
push str.jit_function_addr__p
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x24], xmm0
call fcn.1007e620
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], 0x8b11118b
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffff25c6
push 0x10
push eax
mov dword [ebp - 0xc], 0x11893fff
mov dword [ebp - 8], 0x11111111
call fcn.100a5c80
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x10094234
lea eax, [esi + 0x1000]
push eax
lea eax, [esi - 0x1000]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.100a5c80
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10094234
push str.cant_find_emu_baseaddr
call fcn.1007e620
add esp, 4
mov eax, dword [edi + 0xc]
and eax, 0xffff0000
push eax
push str.x86_base_addr__p
mov dword [0x10123bf4], eax
call fcn.1007e620
push 0x178
lea eax, [ebp - 0xa34]
push 0
push eax
call fcn.100c0b00
push 0x444
xorps xmm0, xmm0
mov dword [ebp - 0x8a0], 0
lea eax, [ebp - 0x890]
movq qword [ebp - 0x8b4], xmm0
push 0
push eax
movq qword [ebp - 0x8a8], xmm0
mov dword [ebp - 0x898], 0
call fcn.100c0b00
push 0x400
lea eax, [ebp - 0x43c]
push 0
push eax
call fcn.100c0b00
mov eax, dword [ebp - 0x30]
add esp, 0x2c
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8b8], eax
or ecx, 0x801020
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x89c], eax
mov eax, dword [ebp - 0x20]
sub esp, 0xa00
mov dword [ebp - 0x894], eax
mov edi, esp
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8bc], ecx
mov ecx, 0x280
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa3c], esi
lea esi, [ebp - 0xa3c]
mov dword [ebp - 0x8ac], eax
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x440], 2
rep movsd dword es:[edi], dword [esi]
call fcn.1007e8c0
add esp, 0xa04
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
Function at 0x100a0ce0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0fc5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100bf758
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
lea edi, [eax + 8]
mov edx, dword [esi]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
lea eax, [ecx + 2]
mov dword [edi + 0x14], 0
mov dword [ebp + 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a0d54
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10017c70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
jbe 0x100a0dc0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x100a0de4
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100a0dd0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100a08d0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100a0e31
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x100a0e1c
mov ecx, edi
call fcn.100a1260
push 0x38
push dword [ebp - 0x1c]
call fcn.100bf788
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x4924924
je 0x100a0ec4
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f5700]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f5700]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x100a0e99
call fcn.100a1f00
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100a08d0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x100a0e9c
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.10019100
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100a8409
int3
Function at 0x100a46d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a478d
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x100a4714
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a478d
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + eax*2 - 0x414]
nop
mov ecx, eax
sub eax, 2
cmp word [eax], 0x5c
jne 0x100a4730
push edi
push 0x104
push ecx
call fcn.100d0a9c
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a478d
test bl, bl
je 0x100a477a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a478d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfabd
mov esp, ebp
pop ebp
ret

Function at 0x100a4d10
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c99f60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c99afc]
cmp eax, dword [ecx + 4]
jg 0x100a4d59
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c99648
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x100a4d54
add esi, 4
cmp esi, 0x10c99af8
jne 0x100a4d40
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c99afc
call fcn.100bfbd8
add esp, 4
cmp dword [0x10c99afc], 0xffffffff
jne 0x100a4d2f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x10123b88
push 0x4b0
push 0x10c99648
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10c99afc
mov dword [0x10c99af8], eax
call fcn.100bfb87
add esp, 4
jmp 0x100a4d2f

Function at 0x100a4da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x100a4de0
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x100a4de0
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x100a4de0
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x100a4de2
add eax, 4
cmp eax, ecx
jb 0x100a4dd5
xor eax, eax
pop ebp
ret
Function at 0x100a4df0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x100a4e47
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x100a4e47
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x100a4e29
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x100a4e20
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x100a5180
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1446
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x100a5266
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100a5209
add esi, dword [ebp - 0x70]
jmp 0x100a5259
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x100a5257
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x100a5257
test eax, 0x100
jne 0x100a5257
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x100a523e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x100a5254
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10005460
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x100a51e0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x100a5268
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x100a5307
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x100a52f7
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.100a5080
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100a52f4
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x100a52e0
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x100a52ec
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10005380
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x100a52b0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x100a5292
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100a5337
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100a532d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a534a
push ecx
push esi
call fcn.100bf788
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100cb58f
int3
Function at 0x100a5350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x100a53d1
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100a53d1
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x100a53d1
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.100a7b70
add esp, 0xc
test eax, eax
je 0x100a53d1
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a53a2
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.100a7bc0
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100a5480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x100a54ce
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x100a54ce
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x100a54ce
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100a54df
add eax, 4
cmp eax, ecx
jb 0x100a54c3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100a54ce
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x100a5555
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100a5540
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 0x100a5521
cmp dl, 0x11
jne 0x100a553a
inc eax
cmp eax, 6
jl 0x100a5510
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100a5507
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.100a5c80
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
Function at 0x100a5620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x100a566d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x100a566d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x100a566d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100a567d
add eax, 4
cmp eax, ecx
jb 0x100a5662
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100a566d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x100a5691
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x100a5697
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x100a5705
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100a56f0
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 0x100a56d1
cmp dl, 0x11
jne 0x100a56ea
inc eax
cmp eax, 6
jl 0x100a56c0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100a56b7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.100a5c80
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret

Function at 0x100a5730
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 0x100a5773
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x100a5773
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x100a5773
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x100a578e
add eax, 4
cmp eax, ecx
jb 0x100a5768
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 0x100a5773
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x100a57a2
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x100a57a8
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.100a5180
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x100a5d60
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.100a5cb0
add esp, 0x18
test eax, eax
je 0x100a5d89
inc eax
cmp byte [eax], 0xcc
je 0x100a5d83
pop ebp
ret
Function at 0x100a5f90
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.100a5ed0
add esp, 0x18
test eax, eax
je 0x100a5fb9
inc eax
cmp byte [eax], 0xcc
je 0x100a5fb3
pop ebp
ret

Function at 0x100ad5a7
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 0x100ad5ce
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100ad5d1
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.100ad583
pop esi
leave
ret 8

Function at 0x100b29b5
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 0x100b29d8
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100b29c6
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100bf710
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100d62a4
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100bf753
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 0x100bf753
sub eax, 1
je 0x100bf74e
sub eax, 1
je 0x100bf74a
xor eax, eax
leave
ret
push 3
jmp 0x100bf755
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100bf7a4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x100bf7d9
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x100bf7d6
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x100bf7e2
add edx, 0x28
cmp edx, esi
jne 0x100bf7c4
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x100bf7df

Function at 0x100dd334
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1010706c
push 0x10107064
push str.FlsAlloc
push 0x1e
call fcn.100dd161
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100dd368
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f539c]
call esi
jmp 0x100dd36e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100dd3b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1010707c
push 0x10107074
push str.FlsGetValue
push 0x20
call fcn.100dd161
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100dd3e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f539c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]