joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [0x565fa8]
lea esi, [esp + 0x38]
xor eax, ebp
mov dword [esp + 0x240], eax
push 0x376
push str..._.._base_files_file_util_win.cc
push 0x51595f
push esi
call fcn.00426b50
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0
push esi
call fcn.004307d0
mov word [esp + 0x38], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x425057
xor ebx, ebx
jmp 0x425143
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
push esi
call fcn.004ff384
add esp, 4
cmp eax, 0x7ffffff0
jae 0x425164
mov ebx, eax
cmp eax, 5
jae 0x42509c
lea esi, [esp + 0x20]
test ebx, ebx
mov byte [esp + 0x2b], bl
mov edi, esi
mov eax, esi
jne 0x4250cc
jmp 0x4250e1
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x42516d
lea eax, [esi + esi]
push eax
call fcn.004e6826
add esp, 4
or esi, 0x80000000
mov dword [esp + 0x20], eax
mov edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
lea esi, [esp + 0x20]
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.004ea200
add esp, 0xc
mov eax, esi
mov word [edi + ebx*2], 0
mov dword [esp + 4], eax
movzx eax, byte [eax + 0xb]
test al, al
jns 0x4250fb
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea edi, [esp + 8]
mov ecx, edi
push eax
push esi
call fcn.00422d90
lea ebx, [esp + 0x14]
mov ecx, edi
push ebx
call fcn.00423f80
mov ecx, dword [ebp + 8]
push ebx
call fcn.00422e40
mov ecx, ebx
call fcn.00422e00
mov ecx, edi
call fcn.00422e00
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x425141
push dword [esp + 0x20]
call fcn.004e6856
add esp, 4
mov bl, 1
lea ecx, [esp + 0x2c]
call fcn.004308d0
mov ecx, dword [esp + 0x240]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.0041ca1c
call fcn.004f9723
int3

Function at 0x425180
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x386
push str..._.._base_files_file_util_win.cc
push 0x515974
push ebx
call fcn.00426b50
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.004307d0
cmp byte [edi + 0xb], 0
jns 0x4251c6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
mov ecx, esi
setne bl
call fcn.004308d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x425320
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4f0
mov eax, ecx
mov ecx, dword [0x565fa8]
lea esi, [ebp - 0x29c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, esi
mov dword [ebp - 0x4fc], edx
push edx
push 3
push 0
push eax
call fcn.00443930
lea eax, [ebp - 0x4f8]
mov ecx, esi
push eax
call fcn.00443af0
movzx eax, byte [ebp - 0x4ed]
test al, al
jns 0x425371
mov eax, dword [ebp - 0x4f4]
test eax, eax
je 0x4254cd
lea ebx, [ebp - 0x4ec]
xor edi, edi
jmp 0x42539a
test eax, eax
mov edi, esi
je 0x4254cf
lea ecx, [ebp - 0x29c]
push ebx
call fcn.00443a70
mov eax, dword [ebp - 0x4ec]
test al, 1
je 0x4253e7
cmp byte [ebp + 8], 0
jne 0x4253c7
mov ecx, ebx
call fcn.00443820
test al, al
jne 0x4253e7
mov eax, dword [ebp - 0x4ec]
and eax, 0xfffffffe
cmp byte [ebp - 0x4ed], 0
lea ecx, [ebp - 0x4f8]
jns 0x4253df
mov ecx, dword [ebp - 0x4f8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, ebx
call fcn.00443820
test al, al
je 0x425450
xor esi, esi
cmp byte [ebp + 8], 0
je 0x425488
mov edx, dword [ebp - 0x4fc]
lea ecx, [ebp - 0x4f8]
push 1
call fcn.00425320
add esp, 4
mov esi, eax
test eax, eax
jne 0x425488
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x42542f
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov esi, 0
jne 0x425488
jmp 0x425472
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x425465
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x425488
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or eax, 1
mov ecx, 0
cmp eax, 3
cmove esi, ecx
test edi, edi
mov ecx, ebx
cmovne esi, edi
call fcn.00406cc0
lea ecx, [ebp - 0x29c]
push ebx
call fcn.00443af0
lea ecx, [ebp - 0x4f8]
push ebx
call fcn.00422e40
mov ecx, ebx
call fcn.00422e00
movzx eax, byte [ebp - 0x4ed]
test al, al
jns 0x425390
mov eax, dword [ebp - 0x4f4]
jmp 0x425390
xor esi, esi
lea ecx, [ebp - 0x4f8]
call fcn.00422e00
lea ecx, [ebp - 0x29c]
call fcn.00443a00
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0x4f0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4256c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 0x14]
mov esi, ecx
lea ebx, [esp + 0x10]
xor eax, ebp
mov dword [esp + 0x38], eax
push 0x3d
push str..._.._base_files_file_win.cc
push str.Read
push ebx
call fcn.00426b50
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0
push ebx
call fcn.004307d0
test edi, edi
js 0x425767
lea ecx, [esp + 0x24]
call fcn.00430030
call fcn.00443760
test al, al
je 0x42572d
mov eax, edi
lea ecx, [esp + 0x24]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::Read
call fcn.004437e0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push ebx
push eax
push edi
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42576e
mov ebx, dword [esp + 0xc]
jmp 0x42577e
mov ebx, 0xffffffff
jmp 0x425787
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [esp + 0x24]
call fcn.004437c0
lea ecx, [esp + 0x2c]
call fcn.004308d0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x4257b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x56
push str..._.._base_files_file_win.cc
push str.ReadAtCurrentPos
push ebx
call fcn.00426b50
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push ebx
call fcn.004307d0
test edi, edi
js 0x425831
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00430030
call fcn.00443760
test al, al
je 0x425818
mov eax, edi
lea ecx, [ebp - 0x2c]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::ReadAtCurrentPos
call fcn.004437e0
lea eax, [ebp - 0x30]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425838
mov ebx, dword [ebp - 0x30]
jmp 0x425848
mov ebx, 0xffffffff
jmp 0x425850
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [ebp - 0x2c]
call fcn.004437c0
lea ecx, [ebp - 0x1c]
call fcn.004308d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x425870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 0x14]
mov esi, ecx
lea ebx, [esp + 0x10]
xor eax, ebp
mov dword [esp + 0x38], eax
push 0x72
push str..._.._base_files_file_win.cc
push str.Write
push ebx
call fcn.00426b50
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0
push ebx
call fcn.004307d0
lea ecx, [esp + 0x24]
call fcn.00430030
call fcn.00443760
test al, al
je 0x4258d9
mov eax, edi
lea ecx, [esp + 0x24]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::Write
call fcn.004437e0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push ebx
push eax
push edi
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
lea ecx, [esp + 0x24]
sbb esi, esi
or esi, dword [esp + 0xc]
call fcn.004437c0
lea ecx, [esp + 0x2c]
call fcn.004308d0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x425940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x87
push str..._.._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.00426b50
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push ebx
call fcn.004307d0
test edi, edi
js 0x4259cf
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00430030
call fcn.00443760
test al, al
je 0x4259ab
mov eax, edi
lea ecx, [ebp - 0x2c]
sar eax, 0x1f
push eax
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.004437e0
lea eax, [ebp - 0x30]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
lea ecx, [ebp - 0x2c]
sbb esi, esi
or esi, dword [ebp - 0x30]
call fcn.004437c0
jmp 0x4259d4
mov esi, 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004308d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x425a00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x565fa8]
mov esi, ecx
lea edi, [esp + 8]
xor eax, ebp
mov dword [esp + 0x24], eax
push 0x9b
push str..._.._base_files_file_win.cc
push str.GetLength
push edi
call fcn.00426b50
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push edi
call fcn.004307d0
lea ecx, [esp + 8]
call fcn.00430030
call fcn.00443760
test al, al
je 0x425a65
lea ecx, [esp + 8]
push 0
push 0
push esi
push str.File::GetLength
call fcn.004437e0
mov eax, esp
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, dword [esp + 4]
xor esi, esi
cmp eax, 1
lea ecx, [esp + 8]
sbb esi, esi
or edi, esi
or esi, dword [esp]
call fcn.004437c0
lea ecx, [esp + 0x18]
call fcn.004308d0
mov ecx, dword [esp + 0x24]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret

Function at 0x425d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00401c30

Function at 0x425f60
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x565fa8]
mov esi, ecx
lea edi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1a
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.00426b50
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push edi
call fcn.004307d0
mov ecx, esi
call fcn.00425500
test al, al
je 0x425fd4
mov ecx, esi
lea edi, [esi + 0x24]
call fcn.00425510
push 0
push 0
push 0
push 0x11000002
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00401c30
mov eax, dword [esi + 0x24]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x425ff4
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.004308d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x425fd4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x515d44
mov dword [ebp - 0x28], eax
call fcn.00444b30
mov eax, dword [eax + 0x50]
mov bl, 1
mov dword [esi + 0x20], eax
jmp 0x425fd6
Function at 0x427670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x565fa8]
mov bl, 1
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x567908], 0
jne 0x427884
mov esi, dword [0x5678f8]
test esi, esi
je 0x42773c
test byte [0x565150], 1
je 0x427884
cmp byte [esi + 0xb], 0
jns 0x4276b8
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x567908], eax
inc eax
cmp eax, 1
ja 0x427884
lea esi, [ebp - 0x218]
mov word [ebp - 0x218], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x427882
cmp eax, 0x104
ja 0x427882
mov ecx, dword [0x5678f8]
push esi
call fcn.0041dc5e
mov ecx, dword [0x5678f8]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x427823
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
jne 0x427830
jmp 0x427840
push 0xc
call fcn.004e6826
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.004ff384
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42789b
mov ebx, eax
cmp eax, 5
jae 0x427796
mov eax, esi
test ebx, ebx
mov byte [esi + 0xb], bl
jne 0x4277c2
jmp 0x4277d5
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x4278a2
lea eax, [edi + edi]
push eax
call fcn.004e6826
add esp, 4
or edi, 0x80000000
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
lea edi, [ebp - 0x218]
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.004ea200
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4277e6
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.0041e0b2
cmp eax, 0xffffffff
mov bl, 1
je 0x427802
inc eax
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.0041dd9c
mov ecx, esi
push 0x515e78
call fcn.0041dae2
mov dword [0x5678f8], esi
test byte [0x565150], 1
jne 0x4276b0
jmp 0x427884
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x427840
push 0x515e74
call fcn.0041dae2
mov ecx, dword [0x5678f8]
push 0x515e78
call fcn.0041dae2
mov eax, dword [0x5678f8]
cmp byte [eax + 0xb], 0
jns 0x427857
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x567908], eax
inc eax
cmp eax, 1
ja 0x427884
mov dword [0x567908], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.0041ca1c
call fcn.004f9723
int3
Function at 0x42c730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x42c756
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c758
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x42c778
cmp byte [ebp + 0xc], 0
je 0x42c7c1
cmp byte [esi + 4], 0
je 0x42c7b3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c7b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x42c78c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c78e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42c7a5
xor ebx, ebx
jmp 0x42c82f
cmp byte [esi + 4], 0
je 0x42c7ef
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c7f1
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x42c7cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c7d1
mov eax, dword [esi]
push eax
call fcn.00444a80
add esp, 4
mov ecx, dword [0x569cf8]
mov bl, 1
test ecx, ecx
je 0x42c82f
push edi
push eax
call fcn.00446d40
jmp 0x42c82f
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42c803
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x42c811
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42c813
mov eax, dword [esi]
push eax
call fcn.00444a80
add esp, 4
mov ecx, dword [0x569cf8]
test ecx, ecx
je 0x42c82d
push edi
push eax
call fcn.00446d40
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x437de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x565fa8]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x437e48
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x437e48
cmp dword [ebp - 0x14], 4
jne 0x437e48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004e6ca0
mov edx, dword [0x565fa8]
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1014]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x1018]
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x437f0b
mov eax, dword [ebp - 0x1014]
mov edi, dword [ebp + 0xc]
cmp eax, 2
je 0x437ed5
mov esi, 0x3f4
cmp eax, 1
jne 0x437f0b
mov ecx, edi
push ebx
jmp 0x437f04
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov esi, 0xea
cmp eax, 0x3ff
ja 0x437f0b
mov ecx, edi
lea eax, [ebp - 0x1010]
push eax
call fcn.0041dc5e
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x437f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
push ebx
call fcn.004ff384
add esp, 4
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x439bac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 5
pop ebp
jmp fcn.00439bbd
Function at 0x439bbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x565fa8]
mov edi, edx
lea esi, [ebp - 0x218]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [esi], 0
push esi
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x439c35
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x228], edi
je 0x439c11
xor ebx, ebx
cmp word [ebp + ebx*2 - 0x216], 0
lea ebx, [ebx + 1]
jne 0x439c03
lea edi, [ebp - 0x224]
mov ecx, edi
push ebx
push esi
call fcn.00422d90
mov ecx, dword [ebp - 0x228]
push edi
call fcn.00422e40
mov ecx, edi
call fcn.00422e00
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x439e0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0xd
pop ebp
jmp fcn.00439bbd

Function at 0x439e1d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x27
pop ebp
jmp fcn.00439bbd

Function at 0x439e2e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0xe
pop ebp
jmp fcn.00439bbd

Function at 0x43dcc0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d9e0
Function at 0x43dfd4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dccc

Function at 0x440930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x44093f
test eax, eax
jne 0x44096f
cmp byte [0x567c68], 1
jne 0x44096f
push dword [0x567c6c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44096f
push eax
call fcn.00404fe0
add esp, 4
push 0
push dword [0x567c6c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 0xc
Function at 0x440d4f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x565fa8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x20], eax
push str.Chrome
call fcn.0041dc5e
mov ecx, edi
push str.0.0.0.0_devel
call fcn.0041dc5e
cmp byte [esi + 0xb], 0
js 0x440d99
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x440da7
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [esp + 0x1c], 0
mov eax, ebx
cmp byte [ebx + 0xb], 0
jns 0x440db9
mov eax, dword [ebx]
mov edi, dword [ebp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x440f1f
mov esi, eax
push eax
call fcn.004e6883
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp byte [ebx + 0xb], 0
jns 0x440de8
mov ebx, dword [ebx]
push edi
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x440f13
lea esi, [esp + 0x10]
mov ecx, esi
push 0x51a822
call fcn.00402768
mov ecx, edi
mov edx, esi
push dword [ebp + 0x10]
call fcn.00440f86
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x440e2a
push dword [esp + 0x10]
call fcn.004e6856
add esp, 4
xor eax, eax
lea ebx, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov ecx, ebx
push 0x51a840
call fcn.00402768
mov ecx, edi
mov edx, ebx
push esi
call fcn.00440f86
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x440e67
push dword [esp + 4]
call fcn.004e6856
add esp, 4
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x440e74
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x440e91
lea ecx, [esp + 0x10]
push 1
push 0x517f42
push 0xffffffffffffffff
push 0
call fcn.0041e1ca
test eax, eax
je 0x440e9e
mov ecx, dword [ebp + 0x10]
push str._devel
call fcn.0041dae2
lea esi, [esp + 4]
mov ecx, esi
push 0x51a86c
call fcn.00402768
mov ecx, edi
mov edx, esi
push dword [ebp + 0xc]
call fcn.00440f86
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x440ecf
push dword [esp + 4]
call fcn.004e6856
add esp, 4
lea esi, [esp + 4]
mov ecx, esi
push str.SpecialBuild
call fcn.00402768
mov ecx, edi
mov edx, esi
push dword [ebp + 0x14]
call fcn.00440f86
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x440f00
push dword [esp + 4]
call fcn.004e6856
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x440f13
push dword [esp + 0x10]
call fcn.004e6856
add esp, 4
push edi
call fcn.004e688c
add esp, 4
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.004410cb
add esp, 4
cmp byte [edi + 0xb], 0
js 0x440f3d
mov word [edi], 0
mov byte [edi + 0xb], 0
jmp 0x440f62
mov eax, dword [edi]
mov word [eax], 0
mov dword [edi + 4], 0
cmp byte [edi + 0xb], 0
jns 0x440f62
push dword [edi]
call fcn.004e6856
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [esp + 0x18]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [edi], xmm0
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.004e6891
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret