joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430f60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
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
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x430fdc
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x430fdc
mov ecx, dword [edi]
nop word [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x431024
cmp esi, eax
jne 0x430fd0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43100a
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 [esp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x431083
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x4310a5
mov edx, dword [ebp + 0x10]
lea edi, [edx + 0xc]
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x431057
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00405260
mov edx, dword [esp + 0xc]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push edx
mov byte [edi], 0
call fcn.0044786d
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x43108b
mov dword [ecx], edi
jmp 0x4310a5
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4310a5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00431320
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4310c0
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
mov esi, dword [ebx + 4]
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
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x431131
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x431131
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x431175
cmp esi, eax
jne 0x431125
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43115e
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 + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4311a3
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x4311c5
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0044786d
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 0x4311ab
mov dword [ecx], edi
jmp 0x4311c5
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4311c5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00430b60
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 0x431ba0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esi], eax
test eax, eax
je 0x431bcd
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
call fcn.00431ce0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x431c1c
cmp dword [0x47ad44], 3
jg 0x431c0e
push 3
push 0x23
push str.d:webapps_b_build_slave_repo_build_src_base_threading_thread_local_win.cc
lea ecx, [esp + 0x1c]
lea ebx, [eax + 4]
call fcn.00402360
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00406ff0
add esp, 8
test bl, 4
je 0x431c1c
lea ecx, [esp + 0x10]
call fcn.00402420
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431c30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0xc], ebx
call fcn.00431ce0
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x431c95
cmp dword [0x47ad44], 3
jg 0x431c87
push 3
push 0x23
push str.d:webapps_b_build_slave_repo_build_src_base_threading_thread_local_win.cc
lea ecx, [esp + 0x1c]
lea ebx, [eax + 2]
call fcn.00402360
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00406ff0
add esp, 8
test bl, 2
je 0x431c95
lea ecx, [esp + 0x10]
call fcn.00402420
mov ecx, dword [esi]
test ecx, ecx
je 0x431cd1
add ecx, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
sub eax, 1
setne al
test al, al
jne 0x431cd1
test ecx, ecx
je 0x431cb8
add ecx, 0xfffffffc
jmp 0x431cba
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x4731e8
jne 0x431cd7
push 1
call dword [eax + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edx
jmp 0x431cd1

Function at 0x432fb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
call fcn.00429420
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [esp + 0x28]
je 0x433012
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0xf
push 0xf
push 0
push eax
call esi
test eax, eax
jne 0x43300e
push 1
push 0x113
push 0x113
push eax
lea eax, [esp + 0x34]
push eax
call esi
test eax, eax
jne 0x43300e
xor bl, bl
jmp 0x433024
mov bl, 1
jmp 0x433024
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
mov esi, dword [0x47be20]
test esi, esi
jne 0x433052
call fcn.0042f910
test eax, eax
jne 0x43303e
mov esi, 0x47bd91
jmp 0x43304c
push 0x4735bc
mov ecx, eax
call fcn.0042dbf0
mov esi, eax
mov dword [0x47be20], esi
mov dword [esp + 0x10], 0
test byte [esi], 0xd
je 0x433097
lea eax, [esp + 0x28]
mov edx, esi
push eax
push 0x473614
sub esp, 0x18
push str.origin_base::MessagePumpForUI::ProcessPumpReplacementMessage
call fcn.00433a50
mov dword [esp + 0x40], eax
add esp, 0x24
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], str.origin_base::MessagePumpForUI::ProcessPumpReplacementMessage
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
xor ecx, ecx
lea eax, [edi + 0x28]
xchg dword [eax], ecx
test bl, bl
je 0x4330b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00432ca0
mov bl, al
cmp dword [esp + 0x10], 0
je 0x4330e3
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x4330e3
call fcn.0042f910
push dword [esp + 0x20]
mov ecx, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.0042eda0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437ca0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x478bd4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x437cba
call fcn.0042a2e0
mov ecx, eax
mov eax, dword [0x47be54]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x437d06
push 0xc
call fcn.0044783a
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x478bd4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x437cfb
call fcn.0042a2e0
mov ecx, dword [0x47be54]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret
Function at 0x4390d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
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
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x43913e
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43913e
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x43915e
cmp esi, eax
jne 0x439132
mov eax, dword [ebx + 4]
push 0x18
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
call fcn.0044783a
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x439170
jmp 0x43922d
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ecx + 4]
mov dword [ecx], edi
test edx, edx
je 0x43917e
mov eax, dword [ebp - 4]
mov dword [edx], eax
lea eax, [ecx + 8]
test eax, eax
je 0x439191
mov edx, dword [ebp + 0xc]
movups xmm0, xmmword [edx]
lea edx, [ecx + 4]
movups xmmword [eax], xmm0
mov eax, 0xaaaaaa9
sub eax, dword [ebx + 8]
cmp eax, 1
jb 0x439232
inc dword [ebx + 8]
mov dword [edi + 4], ecx
mov eax, dword [edx]
mov dword [eax], ecx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x4391d8
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 ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4391f2
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x439214
cmp eax, esi
jne 0x4391fa
mov dword [ecx], edi
jmp 0x439214
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x439214
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00430b60
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0044e681
push str.list_T__too_long
call fcn.0044886f
int3
Function at 0x43e3a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x43e3cd
mov ebx, 1
mov dword [ebp - 8], eax
mov ecx, ebx
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 8]
jmp 0x43e404
mov ebx, 2
call fcn.00431ce0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43e3fa
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x43e401
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
jmp 0x43e401
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi], eax
test bl, 2
je 0x43e452
mov eax, dword [ebp - 4]
and ebx, 0xfffffffd
test eax, eax
je 0x43e452
lea ecx, [eax + 4]
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
setne al
test al, al
jne 0x43e452
test ecx, ecx
je 0x43e43f
add ecx, 0xfffffffc
jmp 0x43e441
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x4731e8
jne 0x43e4a1
push 1
call dword [eax + 8]
test bl, 1
je 0x43e496
mov eax, dword [ebp - 8]
test eax, eax
je 0x43e496
lea ecx, [eax + 4]
lock xadd dword [ecx], edi
sub edi, 1
setne al
test al, al
jne 0x43e496
test ecx, ecx
je 0x43e478
add ecx, 0xfffffffc
jmp 0x43e47a
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x4731e8
jne 0x43e4a5
push 1
call dword [eax + 8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call edx
jmp 0x43e452
call edx
jmp 0x43e496
Function at 0x43e970
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x40], ebx
call fcn.0043ee80
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43e9e9
cmp dword [0x47ad44], 3
jg 0x43e9d8
push 3
push 0x23
push str.d:webapps_b_build_slave_repo_build_src_base_threading_thread_local_win.cc
lea ecx, [esp + 0x2c]
lea ebx, [eax + 0x10]
call fcn.00402360
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00406ff0
add esp, 8
test bl, 0x10
je 0x43e9e9
lea ecx, [esp + 0x20]
and ebx, 0xffffffef
call fcn.00402420
mov edx, dword [ebp + 8]
mov eax, 2
cmp dword [edx + 8], 0
mov esi, dword [edx]
cmovne esi, eax
mov eax, dword [edx + 4]
mov dword [edi + 0x4c], eax
sub esp, 0x20
mov ecx, dword [edx + 8]
mov eax, esp
mov dword [esp + 0x30], eax
mov dword [eax], ecx
test ecx, ecx
je 0x43ea1b
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
mov dword [ecx + 4], eax
add ecx, 8
lea eax, [edx + 0x10]
push eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404c70
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.00427bb0
mov esi, dword [esp + 0x30]
add esp, 0x20
mov dword [edi + 0x48], esi
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
add edi, 0x28
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
lea edx, [eax + 0x24]
mov dword [esp + 0x10], edx
test bl, 0x20
je 0x43eaa7
lea ecx, [esp + 0x20]
and ebx, 0xffffffdf
call fcn.00402420
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x18]
push edx
mov edx, eax
call fcn.00412f30
add esp, 8
test al, al
jne 0x43eade
test bl, 4
je 0x43eac8
lea ecx, [esp + 0x20]
call fcn.00402420
mov eax, dword [esp + 0x14]
push edi
mov dword [eax + 0x48], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
jmp 0x43eaf7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
test bl, 8
je 0x43eaf5
lea ecx, [esp + 0x20]
call fcn.00402420
mov bl, 1
test esi, esi
je 0x43eb03
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43f820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov edx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea esi, [edi + 4]
mov ecx, esi
call fcn.0040fca0
add esp, 4
test al, al
jne 0x43f8a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x43f894
cmp eax, 0x21
je 0x43f894
cmp eax, 5
jne 0x43f86d
mov eax, 0x3e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
jb 0x43f875
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
lea eax, [ecx*2 + 0x3e9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3ea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x20], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43fac0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x478050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x43fb6f
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x43fb6f
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004047d0
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x43fb27
mov eax, dword [esi]
jmp 0x43fb29
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x43fb5c
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x43fb5c
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004047d0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447880
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447880
mov esp, ebp
pop ebp
ret
Function at 0x440030
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x44004e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4400d9
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4400d9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x440090
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x440098
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4400a0
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4400f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x44010e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x440199
mov edi, dword [esp + 0x10]
test edi, edi
je 0x440199
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x440150
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x440158
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440160
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441312
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x478050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
push esi
push eax
call fcn.0044a860
add esp, 0xc
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x441362
or eax, 0xffffffff
jmp 0x44154a
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00449fb4
pop ecx
pop ecx
test eax, eax
je 0x44135a
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push dword [0x478048]
push edi
push eax
call fcn.0044e6d1
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441548
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x441548
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], esi
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x441548
push esi
call fcn.00447872
pop ecx
mov edi, eax
lea eax, [ebp - 0x20c]
push edi
push esi
push dword [ebp - 0x418]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441541
lea eax, [ebp - 0x420]
xor esi, esi
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], esi
push eax
push 0x472f38
push edi
mov dword [ebp - 0x41c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441541
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x441541
cmp word [eax + 0xa], 1
jb 0x441541
push 0x40
lea eax, [ebp - 0x470]
push esi
push eax
call fcn.0044a860
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x474], 0x44
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x430], xmm0
call fcn.0044a860
add esp, 0x18
lea eax, [ebp - 0x20c]
cmp word [ebp - 0x20c], 0x22
push eax
lea eax, [ebp - 0x414]
jne 0x4414a2
push str._s___typewow_updater__CEnumUpdateMode:UpdateMode_Task
jmp 0x4414a7
push str.__s____typewow_updater__CEnumUpdateMode:UpdateMode_Task
push 0x104
push eax
call fcn.00441ad5
xor ecx, ecx
add esp, 0x10
cmp dword [ebp + 8], ecx
jle 0x441505
push str._update
push dword [ebx + esi*4]
call fcn.0044a055
pop ecx
pop ecx
cmp eax, dword [ebx + esi*4]
je 0x4414fd
push 0x471ec4
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0044e6d1
push dword [ebx + esi*4]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0044e6d1
add esp, 0x18
inc esi
cmp esi, dword [ebp + 8]
jl 0x4414bc
xor ecx, ecx
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x474]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x441541
push dword [ebp - 0x42c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x430]
call esi
push edi
call fcn.0044787b
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447880
mov esp, ebp
pop ebp
ret