joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436070
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x4360b9
mov ebx, eax
add eax, 8
push 0x22c
push dword [ebp - 0x10]
push eax
call fcn.00569390
add esp, 0xc
mov dword [ebx + 4], esi
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [eax + 4], ebx
mov dword [esi], ebx
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
push 0x228
push 0
push dword [ebp - 0x18]
call fcn.00569910
add esp, 0xc
mov dword [edi + 0xc], 0x22c
cmp byte [edi + 8], 0
je 0x436114
push dword [ebp - 0x10]
push dword [edi + 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x436125
mov ebx, dword [edi + 0x238]
test ebx, ebx
jne 0x436131
push 0x234
call fcn.00564ea5
add esp, 4
test eax, eax
jne 0x436093
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624173
call fcn.00591ed0
mov byte [edi + 8], 1
push dword [ebp - 0x10]
push dword [edi + 4]
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4360e6
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
call dword [0x63e63c]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [ebp - 0x14]
test al, al
je 0x4360bc
jmp 0x4360f4
Function at 0x43a2a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov byte [ecx + 4], 0
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx], 0x6220a0
mov dword [ecx + 0xc], eax
sub esp, 0x10
movaps xmm0, xmmword [0x62ee30]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp dword [esi + 0xc], eax
je 0x43a300
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 2
jae 0x43a30a
lea eax, [edi + 1]
cmp eax, 2
jb 0x43a2f9
mov dword [esi + 0xc], edi
call fcn.004ef4b0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004ef4b0
mov eax, dword [esi + 0xc]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x43a345
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi + 0xc], 0
jmp 0x43a2e9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43a381
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x43a37b
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x43a31e
push 1
push 0
jmp 0x43a371
xor eax, eax
push eax
jmp 0x43a370
Function at 0x43b8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x22c
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00569910
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x43b9de
push ebx
call fcn.005666c2
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.0054e8c0
xor eax, eax
dec eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
movsx eax, byte [edi + 0xb]
test eax, eax
mov dword [ebp - 0x238], esi
jns 0x43b973
mov eax, dword [ebp - 0x230]
test eax, eax
js 0x43b9fe
mov edi, dword [ebp - 0x234]
je 0x43b973
test edi, edi
je 0x43ba01
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x228]
mov ecx, ebx
push eax
push edi
call fcn.0054e8c0
mov ecx, ebx
call fcn.00436ae0
cmp byte [esi + 0xb], 0
jns 0x43b99c
push dword [esi]
call fcn.00564ea0
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [esi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
jns 0x43b9d8
push dword [ebp - 0x234]
call fcn.00564ea0
add esp, 4
mov esi, dword [ebp - 0x238]
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0x22c
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3

Function at 0x43ca20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00569910
sub esp, 8
mov dword [esp + 0x10], edi
movsd xmm0, qword [0x62f1a0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43ca9d
cmp word [ebp - 0x214], 0
je 0x43ca9d
push edi
call fcn.005666c2
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0054e8c0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
movsd qword [eax], xmm0
mov dword [eax + 8], 0
push eax
call fcn.0043b8d0
add esp, 4
test al, al
jne 0x43cae5
mov ecx, esi
push 3
push 0x62f204
call fcn.0054e8c0
cmp byte [ebp - 0x215], 0
jns 0x43ca87
push dword [ebp - 0x220]
call fcn.00564ea0
add esp, 4
jmp 0x43ca87
mov eax, dword [ebp - 0x218]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x220]
movsd qword [esi], xmm0
jmp 0x43ca87
Function at 0x441910
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
je 0x441a4b
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x441956
mov ecx, edi
call fcn.00441a90
push edi
call fcn.00564ea0
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], 0
test eax, eax
je 0x441974
push 0
push eax
push 0x635c90
call fcn.005087f0
add esp, 0xc
mov eax, dword [esi + 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jb 0x441a3d
xor eax, eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], eax
test edi, edi
jne 0x441a6c
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 2
jae 0x4419cb
lea ecx, [esi + 0x14]
call fcn.00420240
lea ecx, [esi + 0x10]
call fcn.00420240
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00417d70
call fcn.004ef4b0
mov edi, dword [esi + 0x18]
cmp dword [0x655034], 0
je 0x441a01
mov dword [ebp - 0x10], edi
mov edi, dword [0x655034]
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x63e63c]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov dword [esi + 0x18], 0
jmp 0x4419ad
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x441a81
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x441a37
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x4419dc
push 1
push 0
jmp 0x441a2d
push eax
call fcn.004f0f10
add esp, 4
jmp 0x441991
test eax, eax
jne 0x441925
cmp dword [esi + 0xc], 0
jne 0x441925
cmp dword [esi + 4], 0
jne 0x441925
jmp 0x441938
mov ecx, edi
call fcn.00441a90
push edi
call fcn.00564ea0
add esp, 4
jmp 0x4419a4
xor eax, eax
push eax
jmp 0x441a2c
Function at 0x444400
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x50a
push str.file_util_win.cc
push 0x62f297
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x4c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x444498
cmp byte [edi + 0xb], 0
jns 0x44446e
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
lea ecx, [esp + 0x10]
call fcn.0053b480
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, al
lea eax, [esp + 0x54]
mov dword [eax], ebx
lea esi, [esp + 0x50]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x4c]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x444466
Function at 0x4444c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x60]
push 0x4fa
push str.file_util_win.cc
push 0x62f282
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x5c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x44463d
lea esi, [esp + 0x62]
push 0x206
push 0xff
push esi
call fcn.00569910
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
dec esi
cmp esi, 0x103
ja 0x44460d
push ebx
call fcn.005666c2
add esp, 4
lea edi, [esp + 8]
mov ecx, edi
push eax
push ebx
call fcn.0054e8c0
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
movsx eax, byte [edi + 0xb]
test eax, eax
mov dword [esp + 4], esi
jns 0x4445b2
mov eax, dword [esp + 0xc]
test eax, eax
js 0x444637
mov edi, dword [esp + 8]
je 0x4445b2
test edi, edi
je 0x44463a
mov esi, dword [ebp + 8]
lea ebx, [esp + 0x14]
mov ecx, ebx
push eax
push edi
call fcn.0054e8c0
mov ecx, ebx
call fcn.00436ae0
cmp byte [esi + 0xb], 0
jns 0x4445d9
push dword [esi]
call fcn.00564ea0
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x14]
movq qword [esi], xmm0
mov byte [esp + 0x1f], 0
mov word [esp + 0x14], 0
cmp byte [esp + 0x13], 0
jns 0x444609
push dword [esp + 8]
call fcn.00564ea0
add esp, 4
mov esi, dword [esp + 4]
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x20]
call fcn.0053b480
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
movzx ecx, al
lea eax, [esp + 0x14]
mov dword [eax], ebx
lea esi, [esp + 8]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x5c]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x44452f
Function at 0x445af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, 0x7fffffff
lea esi, [ebp - 0xb8]
mov edi, eax
test eax, eax
je 0x445b75
cmp edi, ecx
mov eax, 0x7fffffff
cmovb eax, edi
mov dword [ebp - 0xb8], 0xffffffff
push 0
push esi
push eax
push ebx
mov esi, edx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x445b94
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xffffffff
je 0x445b91
test ecx, ecx
mov edx, 0
cmovns edx, ecx
mov eax, edi
sub eax, edx
add ebx, edx
test ecx, ecx
mov edx, esi
mov ecx, 0x7fffffff
lea esi, [ebp - 0xb8]
jns 0x445b1b
jmp 0x445b94
test edi, edi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
int3
cmp dword [0x64a78c], 2
jg 0x445b75
call fcn.004ed0f0
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x8c
push str.file_io.cc
call fcn.00592570
lea eax, [ebp - 0xb0]
push 9
push 0x639a8b
push eax
call fcn.005320d0
add esp, 0xc
mov ecx, esi
call fcn.00592350
jmp 0x445b75
Function at 0x44b070
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov dword [ebp - 0x240], edx
mov edi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov word [ebp - 0x28], ax
movzx eax, word [ecx + 0x16]
mov word [ebp - 0x26], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x24], ax
movzx eax, word [edi + 0x16]
mov word [ebp - 0x22], ax
movzx eax, word [edi + 0x14]
mov word [ebp - 0x20], ax
mov bx, 0x4e4
mov word [ebp - 0x1e], bx
call esi
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], 0x40904e4
mov dword [ebp - 0x16], 0x40904b0
mov word [ebp - 0x12], bx
mov ebx, 2
lea esi, [ebp - 0x230]
push 0x208
push 0xff
push esi
call fcn.00569910
add esp, 0xc
movzx eax, word [ebp + ebx - 0x28]
mov dword [ebp - 0x23c], ebx
movzx ecx, word [ebp + ebx - 0x2a]
push dword [ebp - 0x240]
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push esi
call fcn.00449330
add esp, 0x1c
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0xffffffff
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x234]
push eax
push esi
push dword [edi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44b1a0
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x44b1a0
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x44b1a0
dec ecx
push ecx
push eax
call fcn.00566f25
add esp, 8
mov edx, dword [ebp - 0x234]
test eax, eax
je 0x44b181
test edx, edx
je 0x44b1ba
mov ecx, dword [ebp + 8]
push eax
push edx
call fcn.00552060
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x23c]
add ebx, 4
cmp ebx, 0x1a
lea esi, [ebp - 0x230]
jne 0x44b0e5
jmp 0x44b18b
int3
Function at 0x44f9c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ecx + 0x10], 1
push 0x20
call fcn.00564ea5
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax], 0x622f6c
sub esp, 0x10
movaps xmm0, xmmword [0x639aa0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [edi + 8], eax
test eax, eax
je 0x44faac
movsd xmm0, qword [ebp + 8]
movsd qword [edi + 0x10], xmm0
mov dword [edi + 0x18], esi
mov ebx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
test ebx, ebx
je 0x44fa45
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44faec
push ebx
call fcn.00564ea0
add esp, 4
mov edi, dword [esi + 0xc]
xor eax, eax
push eax
push eax
push edi
push 0x4eefe0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
test eax, eax
je 0x44fa72
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea edi, [ebp - 0x24]
push 0x1b
push str.thread_win.cc
push str.Start
push edi
call fcn.005068d0
add esp, 0x10
lea esi, [ebp - 0x14]
push edi
push esi
call fcn.005bdac0
add esp, 8
mov ecx, esi
push 0x637c60
call fcn.005d9840
mov ecx, esi
call fcn.00592840
jmp 0x44fa5e
lea eax, [ebp - 0x24]
push 0x1e
push str.semaphore_win.cc
push 0x63b4df
push eax
call fcn.005068d0
add esp, 0x10
lea ebx, [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.005bdac0
add esp, 8
mov ecx, ebx
push str.CreateSemaphore
call fcn.005d9840
mov ecx, ebx
call fcn.00592840
jmp 0x44fa11
lea eax, [ebp - 0x24]
push 0x22
push str.semaphore_win.cc
push str.Semaphore
push eax
call fcn.005068d0
add esp, 0x10
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.005bdac0
add esp, 8
mov ecx, edi
call fcn.00592840
jmp 0x44fa39
Function at 0x453490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
jne 0x4534e3
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x45350d
cmp byte [ebp + 0xc], 0
jne 0x4534ef
mov ecx, esi
mov edx, edi
call fcn.0043f2a0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4534b0
mov eax, dword [esi]
jmp 0x4534fb
cmp byte [esi + 4], 0
je 0x4534eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4534c2
mov eax, dword [esi]
jmp 0x45351f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x453509
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x453537
xor ebx, ebx
jmp 0x4534cd
mov eax, dword [esi]
jmp 0x45354a
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x453533
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4534c2
mov edi, dword [ebp - 0x14]
jmp 0x4534c2

Function at 0x453900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov ebx, esp
push 0x97
push str.file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x4c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x4539b2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
js 0x4539ad
mov eax, dword [ebp + 8]
mov dword [esp], 0xffffffff
push 0
push ebx
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp]
lea ecx, [esp + 0x10]
call fcn.0053b480
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00568175
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x45398d
movzx ecx, al
lea eax, [esp + 0x54]
mov dword [eax], ebx
lea edi, [esp + 0x50]
mov dword [edi], str.ScopedBlockingCall
lea edx, [esp + 0x4c]
push eax
push edi
call fcn.005b8bd0
add esp, 8
jmp 0x453965
Function at 0x4539e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x230
push str.file_util_win.cc
push str.PathHasAccess
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x5c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x453b51
cmp byte [esi + 0xb], 0
jns 0x453a53
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x453b47
test al, 0x10
mov ecx, 0x40000000
mov eax, 2
cmove eax, ecx
mov ecx, 0x80
mov edx, 0x2000000
cmove edx, ecx
push ebx
push edx
push 3
push ebx
push 7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x453ab1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x453b07
call fcn.004ef4b0
mov ebx, esi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
setne al
mov dword [esp + 0xc], eax
lea eax, [ebx + 1]
cmp eax, 2
jb 0x453ae7
call fcn.004ef4b0
cmp dword [0x655034], 0
je 0x453b0b
mov esi, dword [0x655034]
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x63e63c]
mov ecx, esi
push ebx
call edi
lea ecx, [esp + 0x20]
call fcn.0053b480
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00568175
mov eax, dword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x453aaa
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453b77
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x453b41
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x453ad0
push 1
push 0
jmp 0x453b37
mov dword [esp + 0xc], 0
jmp 0x453ae7
movzx ecx, al
lea eax, [esp + 0x64]
mov dword [eax], ebx
lea edi, [esp + 0x60]
mov dword [edi], str.ScopedBlockingCall
lea edx, [esp + 0x5c]
push eax
push edi
call fcn.005b8bd0
add esp, 8
jmp 0x453a4b
xor eax, eax
push eax
jmp 0x453b36
Function at 0x453b80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x24f
push str.file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00520200
mov dword [esp + 0x4c], 0xa
mov al, byte [0x649446]
test al, al
jne 0x453c23
cmp byte [edi + 0xb], 0
jns 0x453bee
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
lea ecx, [esp + 0x10]
call fcn.0053b480
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, al
lea eax, [esp + 0x54]
mov dword [eax], ebx
lea esi, [esp + 0x50]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x4c]
push eax
push esi
call fcn.005b8bd0
add esp, 8
jmp 0x453be6

Function at 0x456e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov byte [esi], cl
mov byte [esi + 4], cl
cmp byte [eax + 4], cl
je 0x456ea5
test esi, esi
je 0x456f26
xor ecx, ecx
mov dword [esi], ecx
mov ebx, dword [eax]
mov dword [eax], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x456e77
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x456ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x456eb1
cmp edi, 2
jb 0x456e98
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x456eea
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x456e8c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x456f29
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x456f20
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x456ec4
push 1
push 0
jmp 0x456f16
int3
xor eax, eax
push eax
jmp 0x456f15