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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x48428c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x484276
call fcn.00472f20
push dword [esi]
call fcn.00485d50
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x484285
mov dword [esi], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4842d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x48], eax
mov edi, esp
push 0x1b
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
test al, al
je 0x484393
mov ecx, esi
call fcn.00483a00
sub esp, 0x18
movaps xmm0, xmmword [0x652760]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x48438b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x48436f
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
mov eax, edi
add eax, 1
cmp eax, 2
jb 0x484381
mov dword [esi + 0x24], edi
call fcn.00472f20
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jae 0x4843b5
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.0047d5c0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
sub esp, 0x14
movaps xmm0, xmmword [0x64eb80]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x484393
mov dword [esp], method.ATL::CAtlStringMgr.virtual_20
mov dword [esp + 4], eax
mov ecx, esp
call fcn.004ba840
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x484395
Function at 0x4843f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 0x10]
push 0x40
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
xor ebx, ebx
test al, al
je 0x4844f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 4
ja case.default.0x48444a
jmp dword [eax*4 + 0x6527cc]
mov edi, 2
jmp 0x484480
xor edi, edi
jmp 0x484480
mov edi, 4
jmp 0x484480
mov ebx, dword [ecx + 8]
mov edi, 4
jmp 0x484480
sub esp, 4
mov ecx, esi
call fcn.004842d0
mov ebx, eax
jmp 0x4844f5
mov edi, 0x1000002
mov ecx, esi
call fcn.00483a00
push 0
push ebx
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4844eb
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4844cd
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4844dd
mov dword [esi + 0x24], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 4]
add eax, 1
cmp eax, 2
jae 0x484515
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x651ad0
call fcn.00472060
test al, al
je 0x484552
mov ecx, esi
call fcn.00483c70
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x4844f5
test edx, edx
jne 0x4844f5
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4845ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.004721c0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x4844f3
mov dword [esp + 4], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 4]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4844f3
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x4844f5
Function at 0x484451
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 0x10]
push 0x40
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
xor ebx, ebx
test al, al
je 0x4844f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 4
ja case.default.0x48444a
jmp dword [eax*4 + 0x6527cc]
mov edi, 2
jmp 0x484480
xor edi, edi
jmp 0x484480
mov edi, 4
jmp 0x484480
mov ebx, dword [ecx + 8]
mov edi, 4
jmp 0x484480
sub esp, 4
mov ecx, esi
call fcn.004842d0
mov ebx, eax
jmp 0x4844f5
mov edi, 0x1000002
mov ecx, esi
call fcn.00483a00
push 0
push ebx
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4844eb
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4844cd
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4844dd
mov dword [esi + 0x24], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 4]
add eax, 1
cmp eax, 2
jae 0x484515
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x651ad0
call fcn.00472060
test al, al
je 0x484552
mov ecx, esi
call fcn.00483c70
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x4844f5
test edx, edx
jne 0x4844f5
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4845ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.004721c0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x4844f3
mov dword [esp + 4], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 4]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4844f3
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x4844f5
Function at 0x48445c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 0x10]
push 0x40
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
xor ebx, ebx
test al, al
je 0x4844f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 4
ja case.default.0x48444a
jmp dword [eax*4 + 0x6527cc]
mov edi, 2
jmp 0x484480
xor edi, edi
jmp 0x484480
mov edi, 4
jmp 0x484480
mov ebx, dword [ecx + 8]
mov edi, 4
jmp 0x484480
sub esp, 4
mov ecx, esi
call fcn.004842d0
mov ebx, eax
jmp 0x4844f5
mov edi, 0x1000002
mov ecx, esi
call fcn.00483a00
push 0
push ebx
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4844eb
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4844cd
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4844dd
mov dword [esi + 0x24], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 4]
add eax, 1
cmp eax, 2
jae 0x484515
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x651ad0
call fcn.00472060
test al, al
je 0x484552
mov ecx, esi
call fcn.00483c70
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x4844f5
test edx, edx
jne 0x4844f5
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4845ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.004721c0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x4844f3
mov dword [esp + 4], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 4]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4844f3
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x4844f5
Function at 0x484463
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 0x10]
push 0x40
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
xor ebx, ebx
test al, al
je 0x4844f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 4
ja case.default.0x48444a
jmp dword [eax*4 + 0x6527cc]
mov edi, 2
jmp 0x484480
xor edi, edi
jmp 0x484480
mov edi, 4
jmp 0x484480
mov ebx, dword [ecx + 8]
mov edi, 4
jmp 0x484480
sub esp, 4
mov ecx, esi
call fcn.004842d0
mov ebx, eax
jmp 0x4844f5
mov edi, 0x1000002
mov ecx, esi
call fcn.00483a00
push 0
push ebx
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4844eb
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4844cd
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4844dd
mov dword [esi + 0x24], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 4]
add eax, 1
cmp eax, 2
jae 0x484515
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x651ad0
call fcn.00472060
test al, al
je 0x484552
mov ecx, esi
call fcn.00483c70
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x4844f5
test edx, edx
jne 0x4844f5
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4845ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.004721c0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x4844f3
mov dword [esp + 4], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 4]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4844f3
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x4844f5
Function at 0x48447b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x58], eax
lea edi, [esp + 0x10]
push 0x40
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push edi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0047d4a0
mov ecx, esi
call fcn.004839f0
xor ebx, ebx
test al, al
je 0x4844f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 4
ja case.default.0x48444a
jmp dword [eax*4 + 0x6527cc]
mov edi, 2
jmp 0x484480
xor edi, edi
jmp 0x484480
mov edi, 4
jmp 0x484480
mov ebx, dword [ecx + 8]
mov edi, 4
jmp 0x484480
sub esp, 4
mov ecx, esi
call fcn.004842d0
mov ebx, eax
jmp 0x4844f5
mov edi, 0x1000002
mov ecx, esi
call fcn.00483a00
push 0
push ebx
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4844eb
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4844cd
call fcn.00472f20
push dword [esi + 0x24]
call fcn.00485d50
add esp, 4
mov dword [esi + 0x24], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4844dd
mov dword [esi + 0x24], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
mov edi, dword [esp + 4]
add eax, 1
cmp eax, 2
jae 0x484515
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.0047d5c0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x651ad0
call fcn.00472060
test al, al
je 0x484552
mov ecx, esi
call fcn.00483c70
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x4844f5
test edx, edx
jne 0x4844f5
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4845ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.004721c0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x4844f3
mov dword [esp + 4], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, edi
mov dword [esi + 0x20], edi
mov edi, dword [esp + 4]
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4844f3
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x4844f5
Function at 0x4847c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x484812
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x4847fc
call fcn.00472f20
push dword [esi]
call fcn.00485d50
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x48480b
mov dword [esi], ebx
call fcn.00472f20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x484829
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3

Function at 0x484a10
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 [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x484a36
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484a38
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x484a58
cmp byte [ebp + 0xc], 0
je 0x484aa1
cmp byte [esi + 4], 0
je 0x484a93
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484a95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x484a6c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484a6e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x484a85
xor ebx, ebx
jmp 0x484b0f
cmp byte [esi + 4], 0
je 0x484acf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484ad1
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x484aaf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484ab1
mov eax, dword [esi]
push eax
call fcn.004b2100
add esp, 4
mov ecx, dword [0x9001bc]
mov bl, 1
test ecx, ecx
je 0x484b0f
push edi
push eax
call fcn.004b0c30
jmp 0x484b0f
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x484ae3
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x484af1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x484af3
mov eax, dword [esi]
push eax
call fcn.004b2100
add esp, 4
mov ecx, dword [0x9001bc]
test ecx, ecx
je 0x484b0d
push edi
push eax
call fcn.004b0c30
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x4854d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x485880
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov eax, 0x20019
or eax, dword [ecx + 4]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x485948
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
sub esp, 0x30
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
lea ecx, [ebp - 0x18]
mov dword [esp + 0x1c], ecx
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x485948
mov edi, 0x91
cmp dword [ebp - 0x18], 0
jne 0x485948
mov edi, dword [esi]
mov esi, dword [esi + 4]
push 0x652898
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48593e
push 0
push esi
push ebx
push edi
call eax
jmp 0x485946
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x485980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x6f4e3c]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
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 0x4859e8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4859e8
cmp dword [ebp - 0x14], 4
jne 0x4859e8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8
Function at 0x485a20
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.00517f10
mov eax, dword [ebp + 8]
mov edx, dword [0x6f4e3c]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea edx, [ebp - 0x1018]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1014]
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 0x485acd
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x485a95
mov esi, 0x3f4
cmp eax, 1
jne 0x485acd
mov ecx, edi
push ebx
jmp 0x485ac6
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xffffffff
mov esi, 0xea
cmp eax, 0x3ff
ja 0x485acd
mov ecx, edi
lea eax, [ebp - 0x1010]
push eax
call fcn.0046930c
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x485af0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x6f4e3c]
xor edx, ebp
mov dword [ebp - 8], edx
lea edx, [ebp + 0xc]
push 4
push edx
push 4
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8

Function at 0x485b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.006208d5
add esp, 4
add eax, eax
add 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