joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4431c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4431cf
mov eax, dword [eax]
push esi
push 0
push 0x8000000
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ecx, ecx
mov dword [ebp + 8], ecx
test esi, esi
je 0x44323e
cmp esi, 0xffffffff
je 0x44323e
mov dword [ebp + 8], esi
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.004552c0
mov ecx, dword [ebp + 8]
add esp, 0x10
test ecx, ecx
je 0x44323e
cmp ecx, 0xffffffff
je 0x44323e
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x44323e
mov esi, dword [ebp - 4]
jmp 0x443241
or esi, 0xffffffff
test ecx, ecx
je 0x44326b
cmp ecx, 0xffffffff
je 0x44326b
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00455370
push dword [ebp + 8]
call fcn.00454e60
add esp, 0x14
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x443280
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x443292
mov eax, dword [esi]
jmp 0x443294
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x4432a1
mov ecx, dword [edi]
jmp 0x4432a3
mov ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4432b5
pop edi
mov al, 1
pop esi
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x4432bd
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4432c5
mov esi, dword [esi]
push 0
push 0
push 2
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x4432af
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4432f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045dae0
add esp, 4
mov dword [esi], eax
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x443320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 8], 0
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x443341
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x4433af
cmp esi, 0xffffffff
je 0x4433af
mov dword [ebp - 4], esi
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.004552c0
mov ecx, dword [ebp - 4]
add esp, 0x10
test ecx, ecx
je 0x4433af
cmp ecx, 0xffffffff
je 0x4433af
push 0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4433ac
mov esi, dword [ebp - 8]
cmp esi, edi
jne 0x4433ac
mov ecx, dword [ebp - 4]
jmp 0x4433b2
mov ecx, dword [ebp - 4]
or esi, 0xffffffff
test ecx, ecx
je 0x4433dc
cmp ecx, 0xffffffff
je 0x4433dc
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00455370
push dword [ebp - 4]
call fcn.00454e60
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446b80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e3f74], 0
je 0x446ba9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.00492cd0
add esp, 4
test eax, eax
je 0x446bc7
push 0
mov ecx, eax
call fcn.00445660
mov dword [0x4e3f74], eax
jmp 0x446bd1
mov dword [0x4e3f74], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004053f4
mov ecx, dword [0x4e3f74]
lea eax, [ebp - 0x1c]
push eax
call fcn.00447100
cmp dword [ebp - 8], 8
jb 0x446c00
push dword [ebp - 0x1c]
call fcn.00492cb0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret

Function at 0x447100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push 3
push eax
mov dword [ebp - 0xc], 0
call fcn.0043f720
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x447178
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
call fcn.00446d70
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], 8
jb 0x447189
push dword [ebp - 0x1c]
call fcn.00492cb0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret 4
Function at 0x448d80
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.004418b0
test al, al
jne 0x448da1
mov ecx, dword [ebp + 0xc]
call fcn.004418b0
test al, al
jne 0x448da1
pop ebp
jmp fcn.00443030
xor al, al
pop ebp
ret

Function at 0x448dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
test ebx, ebx
je 0x448df5
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x448df0
mov eax, dword [ebx]
jmp 0x448df2
mov eax, ebx
mov byte [eax], 0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004418b0
test al, al
je 0x448e0b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0x4c497c
push esi
call fcn.004430d0
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
jne 0x448e2c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10000
call fcn.00492cd0
push edi
push 0x10000
mov esi, eax
mov dword [ebp + 0xc], 0
push 1
push esi
call fcn.0049b14f
mov edi, eax
add esp, 0x14
mov dword [ebp - 8], edi
test edi, edi
je 0x448eaf
mov eax, dword [ebp + 0x10]
lea esp, [esp]
test ebx, ebx
je 0x448e82
sub eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
cmp eax, edi
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
cmovae ecx, edx
push dword [ecx]
mov ecx, ebx
push esi
call fcn.00405567
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
cmp eax, edi
jb 0x448ec5
push dword [ebp - 4]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp + 0xc], ecx
call fcn.0049b14f
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], edi
test edi, edi
jne 0x448e60
mov ebx, dword [ebp - 4]
push ebx
call fcn.0049acf1
add esp, 4
test eax, eax
jne 0x448ec8
mov byte [ebp + 0xf], 1
jmp 0x448ecc
mov ebx, dword [ebp - 4]
mov byte [ebp + 0xf], 0
push ebx
call fcn.0049ac7a
add esp, 4
test esi, esi
je 0x448ee2
push esi
call fcn.00492cb0
add esp, 4
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x449010
cmp byte [ebx + 0x45], 0
je 0x449010
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x448f34
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 8], ecx
cmp ecx, 0x10
movq qword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x1c]
push esi
push edi
mov byte [eax + 8], 0
nop
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x1c]
cmovae edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x448f9a
dec eax
je 0x448f9e
sub eax, 2
je 0x448fea
xor bl, bl
jmp 0x448fec
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x20]
cmovae eax, edx
sub esi, eax
je 0x448fd0
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00498a90
add esp, 0x10
cmp esi, eax
jne 0x448f96
cmp byte [ebx + 0x45], 0
je 0x448fea
test esi, esi
jne 0x448f60
push esi
push 8
lea ecx, [ebp - 0x1c]
call fcn.0043dac0
jmp 0x448f60
mov bl, 1
cmp dword [ebp - 8], 0x10
pop edi
pop esi
jb 0x448fff
push dword [ebp - 0x1c]
call fcn.00492cb0
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret
Function at 0x44e6d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x44e6ec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x44e6ef
mov eax, dword [esi + 4]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x44e724
cmp byte [ebp + 0xc], 0
je 0x44e724
cmp byte [esi], 0
je 0x44e715
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x44e718
mov eax, dword [esi + 4]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4548a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0049ba70
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1008]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x1008], 0
push edx
lea edx, [ebp - 0x100c]
mov dword [ebp - 0x100c], 1
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4549ef
mov ecx, dword [ebp - 0x100c]
cmp ecx, 1
jne 0x454982
cmp word [ebp - 0x804], ax
jne 0x454940
xor ecx, ecx
lea eax, [ebp - 0x804]
push ecx
push eax
mov ecx, edi
call fcn.0040576a
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454950
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040576a
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x4549ea
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x4549d3
cmp eax, 0x400
ja 0x4549d3
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
call fcn.00405454
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8

Function at 0x454aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454ab7
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x455d20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x455d72
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x455da0
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x455da0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x455de3
cmp esi, eax
jne 0x455d94
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x455dcd
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x455e19
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x455e3b
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.0043ff00
push edi
call fcn.00492cb0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x455e21
mov dword [ecx], edi
jmp 0x455e3b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x455e3b
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00456340
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x457680
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.0045dac0
test al, al
jne 0x4576a0
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x34], 0
mov ecx, 0x1000002
push ebx
push 0
push 0
mov eax, 2
cmovne eax, ecx
mov ecx, esi
push 0
push eax
push 0
call fcn.004700f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
lea ecx, [esi + 0x30]
call fcn.00414471
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4577cd
cmp eax, 0xffffffff
je 0x4577cd
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push edi
xor edi, edi
movq qword [ebp - 0xc], xmm0
push 0x4c4e20
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.004574d0
test al, al
je 0x457733
mov ecx, esi
call fcn.0045da40
mov ecx, eax
add eax, 0xffffffff
adc edx, 0xffffffff
test edx, edx
ja 0x4577c2
jb 0x45772b
cmp eax, 0x7ffffffe
ja 0x4577c2
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
jmp 0x457795
lea eax, [ebp - 4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0xc], xmm0
push eax
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x14], xmm0
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.00457500
mov eax, dword [ebp - 4]
add esp, 0x1c
cdq
mov edi, eax
add edi, dword [ebx + 8]
adc edx, dword [ebx + 0xc]
cmp dword [ebp - 8], 0
jl 0x4577c2
mov ecx, dword [ebp - 0xc]
jg 0x45777a
test ecx, ecx
jb 0x4577c2
test edx, edx
jl 0x4577c2
jg 0x457786
test edi, edi
jb 0x4577c2
test edx, edx
ja 0x4577c2
jb 0x45778f
cmp edi, 0xffffffff
ja 0x4577c2
mov eax, dword [ebx + 8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
push edi
push ecx
push eax
push 4
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [esi + 0x28], ecx
test ecx, ecx
je 0x4577c2
mov eax, dword [ebp - 4]
pop edi
add eax, ecx
mov dword [esi + 0x28], eax
mov al, 1
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45c8d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
test esi, esi
je 0x45c8f8
call fcn.00455d10
cmp eax, 1
jl 0x45c8f8
mov dword [ebp - 4], 0x10000
jmp 0x45c8fa
xor esi, esi
push 0xc
call fcn.00492cd0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov ebx, dword [ebp + 0x10]
mov edi, eax
test ebx, ebx
push 0
push dword [ebp - 4]
mov dword [edi], ecx
setne cl
push edi
push 0x45cc40
push esi
mov byte [edi + 4], cl
mov ecx, dword [ebp + 0x14]
push 0
mov dword [edi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x45c946
push edi
call fcn.00492cb0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x45c955
pop edi
mov dword [ebx], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d8b0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
test bl, 1
push esi
mov esi, ecx
mov ecx, 3
cmovne eax, ecx
test bl, 2
mov ecx, 1
cmovne eax, ecx
mov ecx, ebx
and ecx, 4
mov dword [ebp - 4], ecx
mov ecx, 4
cmovne eax, ecx
test bl, 8
mov ecx, 2
cmovne eax, ecx
mov dword [ebp + 0xc], eax
test bl, 0x10
je 0x45d906
mov dword [ebp + 0xc], 5
jmp 0x45d90e
test eax, eax
je 0x45da2d
xor edx, edx
mov eax, 4
test bl, 0x40
push edi
mov edi, 0x40000000
cmovne edx, edi
test bl, 0x80
cmovne edx, eax
test bl, 0x20
je 0x45d932
or edx, 0x80000000
test ebx, 0x4000
je 0x45d940
or edx, 0x100
test ebx, 0x40000
je 0x45d94e
or edx, 0x20000000
mov ecx, ebx
shr ecx, 8
not ecx
and ecx, 1
test ebx, 0x200
jne 0x45d963
or ecx, 2
test ebx, 0x8000
je 0x45d96d
or ecx, eax
xor eax, eax
test ebx, 0x400
cmovne eax, edi
test ebx, 0x800
je 0x45d985
or eax, 0x100
test ebx, 0x1000
je 0x45d990
or eax, 2
test ebx, 0x2000
je 0x45d99d
or eax, 0x4000000
test ebx, 0x20000
je 0x45d9aa
or eax, 0x2000000
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x45d9b5
mov edi, dword [edi]
push 0
push eax
push dword [ebp + 0xc]
push 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
mov ecx, esi
call fcn.00414471
mov eax, dword [esi]
pop edi
test eax, eax
je 0x45da1b
cmp eax, 0xffffffff
je 0x45da1b
mov eax, ebx
mov dword [esi + 0x20], 0
shr eax, 0xa
and al, 1
cmp dword [ebp - 4], 0
mov byte [esi + 0x25], al
je 0x45da0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
mov byte [esi + 0x24], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test bl, 0xa
je 0x45da2d
mov byte [esi + 0x24], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045dae0
add esp, 4
mov dword [esi + 0x20], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x466700
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x466763
call fcn.0043d250
cmp eax, 3
jg 0x466753
push 3
push 0x23
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
mov ebx, 1
call fcn.0043c8d0
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00405c42
add esp, 8
test bl, 1
je 0x466763
lea ecx, [ebp - 0xb4]
call fcn.0043c9e0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466960
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x4669b0
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x4669de
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4669de
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x466a21
cmp esi, eax
jne 0x4669d2
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x466a0b
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x466a3b
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x466a5d
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0046a3b0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x466a43
mov dword [ecx], edi
jmp 0x466a5d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x466a5d
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0046a230
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x466a80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x466ad0
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x466afe
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x466afe
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x466b41
cmp esi, eax
jne 0x466af2
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x466b2b
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x466b5b
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x466b7d
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0046a400
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x466b63
mov dword [ecx], edi
jmp 0x466b7d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x466b7d
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0046a2f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc