joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4231a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
je 0x423262
cmp dword [ebp + 0x10], 0x20
jb 0x423262
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x423259
push 0x52b8f0
push edi
call fcn.0049004c
mov esi, eax
add esp, 8
test esi, esi
je 0x423259
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x423250
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x4fe058
push esi
mov dword [ebp - 4], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x423250
mov eax, dword [ebp - 8]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0x4fe934
push ecx
push edx
call fcn.00422e10
push esi
call fcn.0048ee52
add esp, 0x20
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0048ee52
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4234a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x4234d3
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4234f2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push edi
push 0x208
xor edi, edi
lea ecx, [ebp - 0x20e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x210], ax
call fcn.0048d9d0
lea eax, [ebp - 0x210]
mov ecx, eax
add esp, 0xc
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x423542
movzx ecx, word [esi + eax]
cmp cx, di
je 0x423542
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x423522
jmp 0x423546
cmp edx, edi
jne 0x423549
sub eax, 2
xor edx, edx
mov word [eax], dx
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x214], ax
lea edx, [ebp - 0x230]
mov eax, 0x214
lea ecx, [ebp - 0x210]
push edx
mov word [ebp - 0x220], ax
mov dword [ebp - 0x21a], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x216], edi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x4278a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x427952
push ebx
push edi
push 0x5c
push 0x2f
mov ecx, esi
call fcn.00424590
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x427942
mov eax, dword [esi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push eax
call ebx
test eax, eax
je 0x427942
mov edi, edi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x427916
push 0x4fe9f8
push eax
call fcn.0048f0fb
add esp, 8
test eax, eax
je 0x427916
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x427916
push 0x4fe058
push 0x4fe9f8
mov ecx, esi
call fcn.00413f50
jmp 0x4278e0
push 0x5c
mov ecx, esi
call fcn.0040dfa0
mov eax, dword [esi]
push eax
call edi
test eax, eax
je 0x427931
mov eax, dword [esi]
push eax
call ebx
test eax, eax
jne 0x427950
push 0x5124f8
mov ecx, esi
call fcn.0040e410
pop edi
pop ebx
pop esi
pop ebp
ret
push 0
push 0x5124f8
mov ecx, esi
call fcn.0040c210
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4289d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0fd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0xc], esi
je 0x428b83
cmp dword [ebp + 0x10], esi
je 0x428b83
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
je 0x428b83
push 0x5124f8
lea ecx, [ebp - 0x14]
call fcn.0040e6b0
xor ecx, ecx
mov eax, 0x105
mov edx, 2
mul edx
seto cl
push 0x52b8f0
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.0049004c
mov esi, eax
add esp, 8
test esi, esi
je 0x428b32
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.0048d9d0
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
cmp eax, 0xea
jne 0x428b00
push esi
call fcn.0048ee52
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push 0x52b8f0
neg ecx
or ecx, eax
push ecx
call fcn.0049004c
mov esi, eax
add esp, 0xc
test esi, esi
je 0x428b32
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.0048d9d0
mov edx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
test eax, eax
jne 0x428b29
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428b10
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040c210
push esi
call fcn.0048ee52
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040b880
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428b92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push 0x5124f8
mov ecx, esi
call fcn.0040e6b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1158
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._safemon360realpro.exe
call fcn.00428bb0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e000
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x429328
mov esi, dword [ebp - 0x10]
call fcn.0040bc50
test eax, eax
je 0x429328
lea edx, [ebp - 0x14]
push edx
push esi
mov ecx, 0x527c18
mov dword [ebp - 0x14], edi
call fcn.004867e0
test eax, eax
je 0x429328
mov eax, dword [ebp - 0x14]
cmp eax, 3
je 0x429328
cmp eax, edi
je 0x429328
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00428480
mov eax, dword [eax]
push str.9.2.0.1861
push eax
call fcn.00423420
add esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x14]
setl bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4292f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test bl, bl
jne 0x429339
test edi, edi
jg 0x429314
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x429347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42add0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1496
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42aec3
push 1
push 0x40
push 0x20
push edi
lea ecx, [ebp - 0x128]
call fcn.0042aaf0
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
call fcn.004198c0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.00429580
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], vtable.std::ios_base.0
call fcn.00488698
add esp, 4
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00418e50
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], 1
jb 0x42ae82
mov edx, dword [eax + 4]
jmp 0x42ae85
lea edx, [eax + 4]
mov eax, edx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42ae97
sub eax, edi
push eax
push edx
mov ecx, esi
call fcn.00414740
cmp dword [ebp - 0x84], 0x10
jb 0x42aedd
mov edx, dword [ebp - 0x98]
push edx
call fcn.0048d108
add esp, 4
jmp 0x42aedd
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x512bb9
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00414740
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret

Function at 0x42e030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x42e061
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0048d9d0
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push esi
push edi
call fcn.0042d3d0
add esp, 0x1c
test eax, eax
je 0x42e04f
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x42f550
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [ebp - 0x210]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c]
mov esi, eax
cmp esi, edi
jne 0x42f5d1
xor eax, eax
cmp ecx, edi
je 0x42f5b9
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x208], edi
mov esi, eax
mov dword [ebp - 0x20c], ecx
cmp eax, edi
je 0x42f5df
cmp ecx, edi
je 0x42f6a0
push ecx
jmp 0x42f69a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x220]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x204]
push eax
push edi
push ecx
mov dword [ebp - 0x214], pe_nt_image_headers32
call esi
test eax, eax
jne 0x42f660
nop
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.0042f550
mov dword [ebp - 0x210], eax
cmp eax, edi
jne 0x42f6b5
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x20c]
push edi
push edi
push edi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], pe_nt_image_headers32
call esi
test eax, eax
je 0x42f610
mov eax, dword [ebp - 0x20c]
cmp eax, edi
je 0x42f677
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20c], edi
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [ebp - 0x208], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x20c]
cmp eax, edi
je 0x42f6a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x20c]
cmp ecx, edi
je 0x42f6a2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d9be
mov esp, ebp
pop ebp
ret 4
Function at 0x431740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x431773
push esi
call fcn.0040bd40
add esp, 4
push esi
test eax, eax
jne 0x431776
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431773
push 1
push section..data
push esi
call fcn.0040c010
add esp, 0xc
pop esi
pop ebp
ret
call fcn.0040b690
test eax, eax
je 0x431773
push str.Initialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431773
pop esi
pop ebp
jmp eax

Function at 0x4317a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4317d3
push esi
call fcn.0040bd40
add esp, 4
push esi
test eax, eax
jne 0x4317d6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4317d3
push 1
push section..data
push esi
call fcn.0040c010
add esp, 0xc
pop esi
pop ebp
ret
call fcn.0040b690
test eax, eax
je 0x4317d3
push str.OnExiting
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4317d3
pop esi
pop ebp
jmp eax

Function at 0x431850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52ae38]
test eax, eax
je 0x431879
cmp dword [0x52ae34], 0
jne 0x431969
mov ecx, dword [0x52ae30]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x52ae2c], esi
jle 0x4318c2
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x52ae2c]
jl 0x4318b0
push str.MiniUI.dll
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040bd40
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x431917
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431913
push 1
lea edx, [ebp - 0x804]
push section..data
push edx
call fcn.0040c010
add esp, 0xc
xor eax, eax
jmp 0x431924
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x52ae34], eax
test eax, eax
je 0x431959
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52ae38], eax
test eax, eax
jne 0x431969
mov ecx, dword [0x52ae34]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x52ae34], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x4329e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x432a5d
call fcn.0042e8e0
mov edi, eax
jmp 0x432b66
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x432a76
call fcn.0042e8e0
jmp 0x432b5d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x432a94
call fcn.0042e8e0
jmp 0x432b5d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x432ad9
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x432ac4
lea ecx, [ebp - 0x418]
call fcn.0042f440
lea ecx, [ebp - 0x428]
call fcn.0042f260
mov eax, 0x8007000e
jmp 0x432b82
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00430210
mov dword [ebp - 4], 1
jmp 0x432b11
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x432b22
mov edi, 0x8007000e
jmp 0x432b5f
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x432b3b
call fcn.0042e8e0
jmp 0x432b5d
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x430]
call fcn.00432610
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x432b80
lea ecx, [ebp - 0x418]
call fcn.0042f440
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x39c], ebx
test esi, esi
je 0x435e9f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435eeb
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435eeb
neg esi
sbb esi, esi
and esi, 0xfffffffd
lea ecx, [ebp - 0x398]
add esi, 4
mov dword [ebp - 4], 0
call fcn.004d18b0
push 0
push esi
push edi
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 1
call fcn.004c8340
test al, al
jne 0x435f09
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], al
call fcn.004d1030
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0048d9d0
add esp, 0xc
mov edx, ebx
mov edi, SysReAllocString
mov esi, 0x104
lea eax, [ebp - 0x21c]
xor ebx, ebx
test esi, esi
je 0x435f51
test edi, edi
je 0x435f54
movzx ecx, word [edx]
test cx, cx
je 0x435f54
mov word [eax], cx
add eax, 2
add edx, 2
dec esi
dec edi
inc ebx
jmp 0x435f33
sub eax, 2
lea edx, [ebp - 0x21c]
xor ecx, ecx
push edx
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov ecx, dword [ebp - 0x39c]
push 0x10000
push 7
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x398]
call fcn.004d2920
push 0
push 0
lea edx, [ebp - 0x3bc]
push edx
lea ecx, [ebp - 0x398]
movzx esi, al
call fcn.004d1230
cmp dword [ebp - 0x3a4], 8
jb 0x435fb9
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.0048d108
add esp, 4
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0
call fcn.004d1030
mov eax, esi
jmp 0x435eed
Function at 0x436830
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2160
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e6b0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jge 0x436878
or eax, 0xffffffff
jmp 0x436894
push 0x4fe058
push ecx
call fcn.0048f0fb
add esp, 8
cmp eax, ebx
jne 0x43688f
or eax, 0xffffffff
jmp 0x436894
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040db70
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c3d0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4368d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
je 0x43693e
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436928
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43695a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret