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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c
call fcn.100d4810
mov eax, dword [0x1013c600]
xor eax, esp
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x100ce1e7
mov ebx, dword [ebp + 0x10]
lea edi, [ebx + 3]
lea esi, [eax + 2]
sub ebx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.100cce60
movzx eax, byte [edi - 3]
movzx edx, byte [esp + 0x28]
movzx ecx, byte [esp + 0x29]
xor eax, edx
movzx edx, byte [esp + 0x2a]
mov byte [esi - 2], al
mov byte [esp + 0x20], al
movzx eax, byte [edi - 2]
xor eax, ecx
movzx ecx, byte [esp + 0x2b]
mov byte [esi - 1], al
mov byte [esp + 0x21], al
movzx eax, byte [esi + ebx]
xor eax, edx
movzx edx, byte [esp + 0x2c]
mov byte [esi], al
mov byte [esp + 0x22], al
movzx eax, byte [edi]
xor eax, ecx
movzx ecx, byte [esp + 0x2d]
mov byte [esi + 1], al
mov byte [esp + 0x23], al
movzx eax, byte [edi + 1]
xor eax, edx
movzx edx, byte [esp + 0x2e]
mov byte [esi + 2], al
mov byte [esp + 0x24], al
movzx eax, byte [edi + 2]
xor eax, ecx
movzx ecx, byte [esp + 0x2f]
mov byte [esi + 3], al
mov byte [esp + 0x25], al
movzx eax, byte [edi + 3]
xor eax, edx
mov byte [esi + 4], al
mov byte [esp + 0x26], al
movzx eax, byte [edi + 4]
xor eax, ecx
mov byte [esi + 5], al
add esp, 0xc
add edi, 8
add esi, 8
dec dword [esp + 0xc]
mov byte [esp + 0x1b], al
jne 0x100ce132
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d4840
mov esp, ebp
pop ebp
ret
Function at 0x45a900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xdde000
lea edi, [esi - 0x3d000]
push edi
or ebp, 0xffffffff
jmp 0x45a922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45a929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a918
mov eax, 1
add ebx, ebx
jne 0x45a93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45a94c
jne 0x45a96b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a96b
dec eax
add ebx, ebx
jne 0x45a958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45a930
add ebx, ebx
jne 0x45a967
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45a9bd
xor ecx, ecx
sub eax, 3
jb 0x45a983
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a9f2
sar eax, 1
mov ebp, eax
jmp 0x45a98e
add ebx, ebx
jne 0x45a98e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a95c
inc ecx
add ebx, ebx
jne 0x45a99c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a95c
add ebx, ebx
jne 0x45a9a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a99e
jne 0x45a9ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a99e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a9dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a9ce
jmp 0x45a91e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a9dc
add edi, ecx
jmp 0x45a91e
pop esi
mov edi, esi
mov ecx, 0xdc6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a9fa
cmp byte [edi], 0x11
jne 0x45a9fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45a9ff
lea edi, [esi + 0x57000]
mov eax, dword [edi]
or eax, eax
je 0x45aa77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x636e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45aa2c
mov ecx, edi
jns 0x45aa5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x63784]
or eax, eax
je 0x45aa71
mov dword [ebx], eax
add ebx, 4
jmp 0x45aa49
call dword [esi + 0x63794]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45aaa8
cmp al, 0xef
ja 0x45aa9b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45aa7d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45aa8a
mov ebp, dword [esi + 0x63788]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45aadc
sub esp, 0xffffff80
jmp 0x416e84
Function at 0xf048b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf048ba
pushal
call 0xf048c0
pop ebp
sub ebp, 0x10
sub ebp, 0xb048b0
jmp 0xf048d6
mov eax, 0xb048b0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b6
mov edx, 0xf8d3181c
xor byte [eax], dl
inc eax
dec ecx
jne 0xf048ed
jmp 0xf04900
xchg edi, eax
rcl dword [edi + 0x1c1c2095]
sbb al, 0x9d
fucom st(4)
sbb al, 0x1c
sbb al, 0x1f
shl dword [edx + ebx - 0x59e3e3e4], 1
xor al, 0x1c
sbb al, 0x1c
jmp 0xf0491a
Function at 0x48dfa0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x48dfd8
mov edx, dword [esp + 4]
test edx, edx
je 0x48dfd8
cmp dword [eax], 0xffffffff
je 0x48dfd8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48dfd8
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x48dfe0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x48e01a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48e01a
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x48e01a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48e01a
cmp edi, dword [esi]
jne 0x48e01a
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x48e060
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x534068]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x48e0c3
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x48e0c3
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48e09e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48e0c3
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004bc969
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004bc969
add esp, 8
ret 4
Function at 0x4d6c54
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d6ad3

Function at 0x4db6ae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004db36e
Function at 0x1067e390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x109c2013
call fcn.102e9a30
mov eax, dword [0x1090d180]
mov dword [ebp - 4], eax
jmp 0x1067e3b5
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x1067e3cb
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1067e3c9
mov eax, dword [ebp - 4]
jmp 0x1067e445
jmp 0x1067e3ad
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1067e442
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xfe0
jbe 0x1067e405
mov eax, dword [ebp - 4]
mov ecx, dword [0x1090d180]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov dword [0x1090d180], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1067f980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1090c38c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x109c2043
call fcn.102e9a30
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1090d18c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1067f9db
mov eax, dword [ebp - 0x14]
sub eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1067f9fd
mov eax, 0xa
jmp 0x1067fae4
cmp dword [ebp + 0xc], 0
je 0x1067fa4a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x14]
add eax, 5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 1], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1067fa48
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0xf9
jmp 0x1067fa86
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1067fa71
push 7
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.102ea0b1
add esp, 0xc
jmp 0x1067fa86
push 5
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.102ea0b1
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], dl
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102e962f
mov esp, ebp
pop ebp
ret
Function at 0x1067fbd0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1090c38c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x109c2043
call fcn.102e9a30
mov dword [ebp - 8], 0
push 0
push 4
call fcn.102e9fb2
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1067fd7a
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.102e981e
test eax, eax
je 0x1067fd70
mov dword [ebp - 8], 1
cmp dword [ebp - 0x28], 0x10
jb 0x1067fd10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], eax
jne 0x1067fd10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x20], eax
je 0x1067fd10
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1067fc9b
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
push ecx
push 0
mov edx, dword [0x1090d188]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1067fc99
mov dword [ebp - 8], 0
jmp 0x1067fd2c
jmp 0x1067fcf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1067fcf0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1090d188]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1067fce8
mov dword [ebp - 8], 0
jmp 0x1067fd2c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.102eaab6
test eax, eax
jne 0x1067fc2d
cmp dword [ebp - 8], 0
je 0x1067fd44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1067fd44
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x1067fd70
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1067fd70
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x1090d188]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102e962f
mov esp, ebp
pop ebp
ret
Function at 0x1067ffa0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov ecx, 0x109c2043
call fcn.102e9a30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1067fbd0
add esp, 4
test eax, eax
jne 0x1067fff0
mov dword [ebp - 4], 9
jmp 0x1068005e
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1068005e
mov dword [ebp - 8], 0
jmp 0x1068000a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x1068005e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1068005c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.106800d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10680001
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x106803f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x109c2043
call fcn.102e9a30
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10680472
mov dword [ebp - 4], 0
jmp 0x1068041d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1068045d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1068045b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10680414
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x1090d188]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x106813c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x109c205d
call fcn.102e9a30
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10681416
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x90
je 0x10681416
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xcc
je 0x10681416
xor eax, eax
jmp 0x10681457
mov dword [ebp - 4], 1
jmp 0x10681428
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x10681452
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
cmp ecx, eax
je 0x10681450
xor eax, eax
jmp 0x10681457
jmp 0x1068141f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1072c0d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x109c2bf2
call fcn.102e9a30
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x1072c132
mov dword [ebp - 0x74], 1
jmp 0x1072c139
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1072c14a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x1072c169
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x1072c188
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x1072c160
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1072c1f0
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10768b40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x109c33ae
call fcn.102e9a30
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x10768ba2
mov dword [ebp - 0x74], 1
jmp 0x10768ba9
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x10768bba
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x10768bd9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x10768bf8
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x10768bd0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10768c60
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1080ca60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x109c3fb8
call fcn.102e9a30
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x1080cac2
mov dword [ebp - 0x74], 1
jmp 0x1080cac9
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1080cada
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x1080caf9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x1080cb18
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x1080caf0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1080cb80
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401309
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
push 0
push 0
push 0x40e3a4
call ebx
mov esi, eax
test esi, esi
je 0x4013a3
push edi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
pop ecx
push esi
mov edi, eax
push edi
push 0x40e3a4
call ebx
mov ebx, dword [sym.imp.mozglue.dll_free]
lea ecx, [esi - 1]
cmp ecx, eax
jne 0x40139e
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 4], eax
test eax, eax
je 0x40139e
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
pop ecx
push dword [ebp - 4]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40139a
push esi
push 0x40e3a4
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
call ebx
pop ecx
push edi
call ebx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret