joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], edx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x430fcf
mov edi, ecx
xor esi, esi
lea eax, [ebp - 0x14]
mov dword [eax], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
mov ecx, ebx
mov ebx, eax
call ecx
push 2
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne byte [ebp - 0x15]
je 0x430fd8
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp dword [esi], ebx
je 0x430f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x430f57
lea eax, [ebx + 1]
cmp eax, 2
jb 0x430f3b
mov dword [esi], ebx
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov al, byte [ebp - 0x15]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x24], eax
je 0x430f90
mov eax, dword [0x655034]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
call dword [0x63e64c]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [ebp - 0x20]
mov dword [esi], 0
jmp 0x430f2c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430fe5
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x430fc9
call dword [0x63e64c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
mov esi, dword [ebp - 0x1c]
jmp 0x430f6a
push 1
push 0
jmp 0x430fbc
mov byte [ebp - 0x15], 1
jmp 0x430f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x430f3b
xor eax, eax
push eax
jmp 0x430fbb

Function at 0x431250
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00431b40
mov eax, dword [esi]
test eax, eax
je 0x4312a3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x4312aa
lea ecx, [ebp - 0x14]
call fcn.00431310
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x431285
cmp dword [ebx + 0x50], 0
jne 0x4312c9
cmp byte [ebx + 0x1b], 0
js 0x4312bb
lea eax, [ebx + 0x10]
jmp 0x4312be
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4312ce
add ebx, 0x58
jmp 0x431281
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x4312f4
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.005d5bd0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4312c9
mov ecx, dword [ebp + 8]
push ebx
call fcn.005d5ac0
mov ecx, eax
jmp 0x4312ec
Function at 0x433690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x43383b
cmp dword [esi], 0
jne 0x43383b
cmp dword [esi + 0xc], 0
jne 0x43383b
xor eax, eax
cmp dword [esi + 4], 0
jne 0x43383b
mov ebx, dword [edi]
cmp eax, ebx
je 0x4336f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x43373f
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4336ec
mov dword [esi], ebx
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x433729
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x43377b
lea eax, [ebx + 1]
cmp eax, 2
jb 0x43371f
mov dword [esi + 4], ebx
call fcn.004ef4b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
add esp, 0xc
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 0x4337b9
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e64c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4336dd
call fcn.004ef4b0
mov eax, dword [esi + 4]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x4337fc
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e64c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi + 4], 0
jmp 0x43370f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433859
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x4337f6
call dword [0x63e64c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x433752
push 1
push 0
jmp 0x4337e9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43385e
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x433835
call dword [0x63e64c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x43378f
push 1
push 0
jmp 0x433828
mov ecx, esi
call fcn.00553f00
lea ecx, [esi + 4]
call fcn.00553f00
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
jmp 0x4336c7
xor eax, eax
push eax
jmp 0x4337e8
xor eax, eax
push eax
jmp 0x433827
Function at 0x435220
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]
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x435243
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x43526d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x435279
cmp edi, 2
jb 0x435264
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
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 0x4352b2
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e64c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x435258
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4352ee
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x4352e8
call dword [0x63e64c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x43528c
push 1
push 0
jmp 0x4352de
xor eax, eax
push eax
jmp 0x4352dd
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 [0x63e64c]
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 [0x63e64c]
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 [0x63e64c]
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 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 [0x63e64c]
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 [0x63e64c]
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 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 [0x63e64c]
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 [0x63e64c]
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 [0x63e64c]
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 [0x63e64c]
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
Function at 0x458000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x458030
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x420490
push 0
push eax
push 0x420470
push 0x656730
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x458132
cmp dword [0x656734], 0
jne 0x45801c
push dword [0x656738]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45801c
mov esi, eax
mov eax, 0x65673c
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x656740]
mov ebx, dword [0x656744]
mov eax, dword [0x656748]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x65674c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x656750]
mov dword [ebp - 0x24], eax
mov eax, 0x65673c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4580c4
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [0x63e64c]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x4580d9
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x63e64c]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4580ef
mov edi, dword [esi + 8]
call dword [0x63e64c]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x458108
mov edi, dword [esi + 0xc]
call dword [0x63e64c]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x45811d
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [0x63e64c]
push edi
call ebx
add esp, 4
push 0
push esi
push 0x635c90
call fcn.005087f0
add esp, 0xc
jmp 0x45801c
call fcn.005796d6
int3

Function at 0x458cf0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00431b40
mov eax, dword [esi]
test eax, eax
je 0x458d43
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x458d4a
lea ecx, [ebp - 0x14]
call fcn.00431310
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x458d25
cmp dword [ebx + 0x50], 2
jne 0x458d69
cmp byte [ebx + 0x1b], 0
js 0x458d5b
lea eax, [ebx + 0x10]
jmp 0x458d5e
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x458d6e
add ebx, 0x58
jmp 0x458d21
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x458d94
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.005d5bd0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x458d69
mov ecx, dword [ebp + 8]
push ebx
call fcn.005d5ac0
mov ecx, eax
jmp 0x458d8c
Function at 0x4ec800
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, 0x20019
or ecx, dword [ebp + 0xc]
push esi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ec8b6
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ecx, dword [esi]
sub esp, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4ec8d4
mov eax, dword [ebp - 0x1c]
sub eax, 1
setb dl
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4ec8bc
test dl, dl
jne 0x4ec8bc
lea ebx, [esi + 8]
lea edx, [ebp - 0x14]
mov dword [edx], 0x104
xor edx, edx
dec edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
xor edx, edx
push edi
push edx
push edx
push edx
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4ec8c2
jmp 0x4ec8bc
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ec8b6

Function at 0x4eea20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4eea37
test eax, eax
je 0x4eea37
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x4eea45
mov ecx, dword [0x656854]
test ecx, ecx
jne 0x4eea81
cmp dword [0x65684c], 0
je 0x4eea31
mov esi, dword [0x656850]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x4eea8b
test esi, esi
je 0x4eea31
mov ecx, dword [0x65684c]
call dword [0x63e64c]
push esi
call ecx
add esp, 4
jmp 0x4eea31
call dword [0x63e64c]
call ecx
jmp 0x4eea45
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4eea69
Function at 0x4ef3d0
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]
mov dword [ecx], 0
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x4ef3f9
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x4ef423
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4ef42f
cmp edi, 2
jb 0x4ef41a
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
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 0x4ef468
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e64c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4ef40e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ef4a4
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x4ef49e
call dword [0x63e64c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x4ef442
push 1
push 0
jmp 0x4ef494
xor eax, eax
push eax
jmp 0x4ef493