joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100870c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10087207
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10c8be0c]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10c8be0c]
mov dword [0x10c8be10], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10c8be0c]
mov dword [0x10c8be18], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10c8be0c]
mov dword [0x10c8be1c], eax
call esi
mov ecx, dword [0x10c8be1c]
mov dword [0x10c8be20], eax
test ecx, ecx
je 0x1008715b
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c8be0c]
mov dword [0x10c8be14], ecx
call esi
mov dword [0x10c8be24], eax
test eax, eax
jne 0x10087154
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c8be0c]
call esi
mov dword [0x10c8be24], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x10087180
mov eax, dword [0x10c8be18]
test eax, eax
je 0x10087198
push str._Compile_Script_v8__SA_AV__MaybeLocal_VScript_v8___2_V__Local_VContext_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c8be0c]
mov dword [0x10c8be14], eax
call esi
mov dword [0x10c8be24], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10c8be0c]
call esi
mov ecx, dword [0x10c8be1c]
mov dword [0x10c8be28], eax
mov eax, dword [0x10c8be18]
push eax
push ecx
push str._p__p
call fcn.100042e0
push dword [0x10c8be28]
push dword [0x10c8be24]
push dword [0x10c8be14]
push dword [0x10c8be20]
push str._p__p__p__p
call fcn.100042e0
add esp, 0x20
cmp dword [0x10c8be20], 0
pop esi
je 0x10087207
cmp dword [0x10c8be14], 0
je 0x10087207
cmp dword [0x10c8be24], 0
je 0x10087207
cmp dword [0x10c8be28], 0
je 0x10087207
mov eax, dword [0x10c8be10]
test eax, eax
je 0x10087207
mov ecx, dword [ebp + 8]
push 0
push 0x10086150
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x100918e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4d15
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10111000]
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.100b354d
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 0x10091954
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000c050
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 0x100919c0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x100919e4
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100919d0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100914d0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10091a31
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x10091a1c
mov ecx, edi
call fcn.10091e60
push 0x38
push dword [ebp - 0x1c]
call fcn.100b357d
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 0x10091ac4
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e9740]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e9740]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x10091a99
call fcn.10092ac0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100914d0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x10091a9c
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.1001a4a0
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.1009bf61
int3
Function at 0x100954f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x10111000]
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 0x100955ad
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x10095534
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100955ad
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 0x10095550
push edi
push 0x104
push ecx
call fcn.100bf820
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 0x100955ad
test bl, bl
je 0x1009559a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100955ad
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
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.100b38a5
mov esp, ebp
pop ebp
ret

Function at 0x10095b30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c8ca74]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c8c5e4]
cmp eax, dword [ecx + 4]
jg 0x10095b79
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c8c130
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x10095b74
add esi, 4
cmp esi, 0x10c8c5e0
jne 0x10095b60
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c8c5e4
call fcn.100b39e5
add esp, 4
cmp dword [0x10c8c5e4], 0xffffffff
jne 0x10095b4f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x10116790
push 0x4b0
push 0x10c8c130
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10c8c5e4
mov dword [0x10c8c5e0], eax
call fcn.100b3994
add esp, 4
jmp 0x10095b4f

Function at 0x10095bc0
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10095c67
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10095c67
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10095c49
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10095c40
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 0x10095f30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5156
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x10111000]
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 0x10096016
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 0x10095fb9
add esi, dword [ebp - 0x70]
jmp 0x10096009
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x10096007
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x10096007
test eax, 0x100
jne 0x10096007
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x10095fee
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x10096004
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10008ec0
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 0x10095f90
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x10096018
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 0x100960b7
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 0x100960a7
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.10095e30
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100960a4
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x10096090
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1009609c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10008de0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x10096060
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x10096042
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100960e7
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100960dd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100960fa
push ecx
push esi
call fcn.100b357d
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.100bf71f
int3
Function at 0x10096100
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 0x10096181
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x10096181
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x10096181
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.10098b60
add esp, 0xc
test eax, eax
je 0x10096181
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 0x10096152
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.10098bb0
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 0x10096230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10111000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1009627e
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1009627e
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1009627e
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009628f
add eax, 4
cmp eax, ecx
jb 0x10096273
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009627e
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x10096305
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100962f0
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 0x100962d1
cmp dl, 0x11
jne 0x100962ea
inc eax
cmp eax, 6
jl 0x100962c0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100962b7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.10096b70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
Function at 0x100963d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10111000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009641d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009641d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009641d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009642d
add eax, 4
cmp eax, ecx
jb 0x10096412
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009641d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10096441
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10096447
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x100964b5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100964a0
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 0x10096481
cmp dl, 0x11
jne 0x1009649a
inc eax
cmp eax, 6
jl 0x10096470
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10096467
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.10096b70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b38a5
mov esp, ebp
pop ebp
ret

Function at 0x100964e0
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 0x10096523
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10096523
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10096523
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1009653e
add eax, 4
cmp eax, ecx
jb 0x10096518
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 0x10096523
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10096552
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10096558
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.10095f30
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x10096c50
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.10096ba0
add esp, 0x18
test eax, eax
je 0x10096c79
inc eax
cmp byte [eax], 0xcc
je 0x10096c73
pop ebp
ret
Function at 0x10096e80
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.10096dc0
add esp, 0x18
test eax, eax
je 0x10096ea9
inc eax
cmp byte [eax], 0xcc
je 0x10096ea3
pop ebp
ret

Function at 0x100991a0
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.10099350
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009926d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10110f78]
jb 0x100991ea
mov eax, dword [ebp - 4]
cmp eax, dword [0x10110f7c]
ja 0x100991ea
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100991ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b4d60
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 0x10099210
jmp 0x1009926d
cmp dword [ebp - 0x14], 0x10000
jne 0x10099253
cmp dword [ebp - 0x18], 0x10000
jb 0x10099253
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 0x10099246
mov eax, dword [ebp - 8]
jmp 0x1009926f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10099268
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10099350
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100991ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10099280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10099380
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10099345
mov edx, dword [ebp - 4]
cmp edx, dword [0x10110f78]
jb 0x100992c5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10110f7c]
ja 0x100992c5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10099295
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b4d60
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 0x100992eb
jmp 0x10099345
cmp dword [ebp - 0x14], 0x10000
jne 0x1009932e
cmp dword [ebp - 0x18], 0x10000
jb 0x1009932e
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 0x10099321
mov eax, dword [ebp - 8]
jmp 0x10099347
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10099340
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10099380
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10099295
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100a11cb
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 0x100a11f2
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a11f5
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.100a11a7
pop esi
leave
ret 8

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

Function at 0x100b34e2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100ca47a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b3525
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 0x100b3525
sub eax, 1
je 0x100b3520
sub eax, 1
je 0x100b351c
xor eax, eax
leave
ret
push 3
jmp 0x100b3527
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d25a5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100fab0c
push 0x100fab04
push str.FlsAlloc
push 0x1e
call fcn.100d23d2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d25d9
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e9340]
call esi
jmp 0x100d25df
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d2623
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100fab1c
push 0x100fab14
push str.FlsGetValue
push 0x20
call fcn.100d23d2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d265a
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e9340]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d5a8c
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 0x100d5b29
push ebx
push esi
call fcn.100d5a55
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.100d41bc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d5ad6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d5b28
push edi
push eax
call fcn.100d0d80
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d5af6
call fcn.100d0d46
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d5b27
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d41bc
add esp, 0x20
test eax, eax
jne 0x100d5b15
push edi
call fcn.100d0d46
jmp 0x100d5b1d
push ebx
call fcn.100d0d46
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 0x100d5b2c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d5b3d
pop esi
ret
push ebx
push edi
push esi
call fcn.100d5a55
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100d0d80
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d5b65
push ebx
push esi
push edi
call fcn.100b5120
add esp, 0xc
push 0
call fcn.100d0d46
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d5f29
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d5b7a