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

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x433a07
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x433a07
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x4339fb
push eax
call fcn.0045f695
mov esi, eax
add esp, 4
test esi, esi
jne 0x43399a
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4339f2
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x4c4e7c
push esi
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4339f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4339f2
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.0045f690
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 8
push esi
call fcn.0045f690
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
pop ecx
ret 8
pop edi
mov eax, 0x80070057
pop ebx
pop ecx
ret 8

Function at 0x434cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a50da
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push 6
push eax
call fcn.0044f950
mov edi, dword [eax]
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add eax, ebx
push 0x1c0
add ebp, edi
mov dword [esp + 0x30], eax
call fcn.0045f665
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x40], 0
je 0x434d20
push 0
mov ecx, eax
call fcn.00443f10
jmp 0x434d22
xor eax, eax
mov dword [esi + 0x514], eax
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0x134]
push 0x9c
mov dword [esp + 0x48], 0xffffffff
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x514]
push 0
sub eax, ebx
push eax
sub ebp, edi
push ebp
push ebx
push edi
mov dword [esi + 0x510], ecx
call fcn.0045f800
mov ecx, dword [esi + 0x514]
push 0
call fcn.0045f83e
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x436980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x33c
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x338], eax
push esi
push 0x104
lea eax, [esp + 0x38]
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0047e92f
push 0
push 0
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.0047e721
lea eax, [esp + 0x5c]
add esp, 0x28
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4369f0
sub eax, edx
cmp byte [esp + eax + 0x33], 0x5c
lea eax, [esp + eax + 0x33]
jne 0x436a08
mov byte [eax], cl
lea eax, [esp + 0x34]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x436a10
sub eax, edx
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x788]
call fcn.00432860
lea edx, [esp + 0x18]
push edx
call fcn.004368f0
push 0x100
lea eax, [esp + 0x140]
push 0
push eax
call fcn.0047ec20
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp dword [esp + 0x30], 0x10
jae 0x436a5c
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x436b2e
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x436a8d
lea eax, [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x436ae6
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x436ace
mov edx, dword [esp + 0x1c]
add eax, 1
push eax
push edx
call fcn.00406140
add esp, 8
xor al, al
pop esi
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x33c
ret
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x436af5
lea eax, [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x436b2e
lea ecx, [esp + 0x18]
call fcn.00406db0
xor al, al
pop esi
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x33c
ret
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Division
push edx
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x436b6f
mov byte [0x4e31fd], 0xff
jmp 0x436b7b
mov al, byte [esp + 0x138]
mov byte [0x4e31fd], al
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x436ba0
mov edx, dword [esp + 0x1c]
add eax, 1
push eax
push edx
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x33c]
pop esi
xor ecx, esp
mov al, 1
call fcn.0047e4dd
add esp, 0x33c
ret
Function at 0x43a880
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4a58d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x788]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.004391c0
call fcn.00466e93
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43a8d7
push 0x80004005
call fcn.00432500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ebp, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
push 0
push ebp
mov al, 0xff
mov byte [esi + 0x79c], al
mov ecx, dword [0x4f7274]
mov byte [esp + 0x1f], al
mov eax, dword [esi + 0x788]
push eax
movzx eax, word [esi + 0x79e]
mov ebx, dword [ecx]
push eax
lea eax, [esp + 0x27]
push eax
lea eax, [esi + 0x790]
push eax
mov eax, dword [esi + 0x7a0]
push eax
movzx eax, byte [0x4e31fc]
push str.SR_Client
push eax
push edx
mov edx, dword [ebx]
push 1
mov dword [esp + 0x50], 0
call edx
mov bl, al
test bl, bl
jne 0x43a953
mov al, byte [esp + 0x17]
mov byte [esi + 0x79c], al
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a977
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x43c2e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.0047ec20
mov esi, dword [esp + 0x120]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
cmp byte [esi], 0
je 0x43c353
push edi
lea edi, [esp + 0xc]
sub edi, esi
mov al, byte [esi]
cmp al, 0x5c
je 0x43c332
cmp al, 0x2f
jne 0x43c341
cmp byte [esi - 1], 0x3a
je 0x43c341
push 0
lea ecx, [esp + 0x10]
push ecx
call ebp
mov dl, byte [esi]
mov byte [edi + esi], dl
add esi, 1
cmp byte [esi], 0
mov byte [edi + esi], 0
jne 0x43c328
pop edi
push 0
lea eax, [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebp
xor ecx, esp
call fcn.0047e4dd
add esp, 0x108
ret 4
Function at 0x43c520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5c1a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push 2
push eax
call fcn.0044f950
mov edi, dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add eax, ebx
push 0xb4
lea ebp, [ecx + edi]
mov dword [esp + 0x30], eax
call fcn.0045f665
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x40], 0
je 0x43c591
push 0
mov ecx, eax
call fcn.00445d80
jmp 0x43c593
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x134]
push ecx
push 0xb0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push 1
sub eax, ebx
push eax
sub ebp, edi
push ebp
push ebx
push edi
call fcn.0045f800
mov ecx, dword [esi + 8]
call fcn.00446440
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x43d0b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a5d56
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp ebp, ebx
mov dword [esp + 0x2a4], ebx
jne 0x43d12f
mov eax, dword [ecx + 0x18]
lea esi, [ecx + 0x18]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x43d12d
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004325d0
mov ebp, dword [esi]
push 0x103
lea ecx, [esp + 0x199]
push ebx
push ecx
mov byte [esp + 0x1a0], bl
call fcn.0047ec20
push ebp
lea edx, [esp + 0x1a4]
push str._s.
push edx
call fcn.0047eb6a
add esp, 0x18
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x198]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
mov edi, 0x4b6384
lea esi, [esp + 0x80]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x43d277
mov edi, 0x4b6380
lea esi, [esp + 0x80]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x43d277
test byte [esp + 0x54], 0x10
je 0x43d277
mov eax, ebp
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43d1d0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00406230
push 1
push 0x4c4e7c
lea ecx, [esp + 0x24]
mov byte [esp + 0x2ac], 1
call fcn.00408480
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43d208
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x24]
call fcn.00408480
mov eax, dword [esp + 0x20]
mov esi, 0x10
cmp dword [esp + 0x34], esi
jae 0x43d238
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0043ceb0
cmp dword [esp + 0x34], esi
mov eax, dword [esp + 0x20]
jae 0x43d250
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x34]
cmp eax, esi
mov byte [esp + 0x2a4], bl
jb 0x43d277
mov edx, dword [esp + 0x20]
add eax, 1
push eax
push edx
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43d176
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x50]
cmp eax, 0x10
jb 0x43d2b4
add eax, 1
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x294
ret 4
Function at 0x43e010
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0x128
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
or ecx, dword [eax + 8]
jge 0x43e047
push 0
mov ecx, esi
call fcn.00432780
mov edx, dword [esi]
push 0
push str.TempPath
push edx
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0047e721
push 0x4b6390
push str.Replace
lea ecx, [esp + 0x44]
push ecx
mov edx, ecx
push 0
push edx
call fcn.0047e721
add esp, 0x28
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
push 0x4c5254
push ecx
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 2
mov byte [esp + 0x13], 3
call fcn.00480412
mov esi, eax
add esp, 8
test esi, esi
je 0x43e222
push ebx
push ebp
push 0
push 0
push esi
call fcn.004802c9
push esi
push 1
lea edx, [esp + 0x26]
push 1
push edx
call fcn.004801c0
mov eax, dword [edi + 0x80]
mov ecx, dword [eax]
mov edx, dword [edi + 0x80]
lea ebp, [edi + 0x7c]
mov eax, ebp
add esp, 0x1c
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
jmp 0x43e0f4
mov ecx, dword [esp + 0x20]
cmp eax, ebp
jne 0x43e1fe
cmp ecx, dword [esp + 0x28]
je 0x43e208
test eax, eax
je 0x43e1fe
cmp ecx, dword [eax + 4]
je 0x43e203
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x43e1e9
cmp byte [ebx + 0x210], 0
jne 0x43e1e9
lea edi, [ebx + 0x108]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43e140
sub eax, edx
jne 0x43e1e9
push esi
push 1
lea eax, [esp + 0x19]
push 1
push eax
call fcn.004801c0
mov eax, edi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43e168
push esi
push 1
lea ecx, [esp + 0x20]
sub eax, edx
push 4
push ecx
mov dword [esp + 0x28], eax
call fcn.004801c0
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jle 0x43e1a1
push esi
push 1
add eax, 1
push eax
push edi
call fcn.004801c0
add esp, 0x10
lea edi, [ebx + 4]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43e1b0
push esi
sub eax, edx
push 1
lea edx, [esp + 0x1c]
push 4
push edx
mov dword [esp + 0x24], eax
call fcn.004801c0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jle 0x43e1e9
push esi
push 1
add eax, 1
push eax
push edi
call fcn.004801c0
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.0043d460
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x43e0f0
jmp fcn.0043d3e0
jmp fcn.0043d360
push esi
push 1
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.004801c0
push esi
call fcn.0047ffe5
add esp, 0x14
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0047e4dd
add esp, 0x128
ret
Function at 0x43e2f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4a5f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x330], eax
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00444b60
mov eax, dword [edi + 0x84]
cmp eax, dword [edi + 0x78]
jae 0x43e4fd
xor eax, eax
push 0xff
push eax
mov dword [esp + 0x141], eax
mov word [esp + 0x145], ax
mov byte [esp + 0x147], al
mov byte [esp + 0x148], al
lea eax, [esp + 0x149]
push eax
mov byte [esp + 0x144], 0
call fcn.0047ec20
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esp, 0xc
or eax, ecx
jge 0x43e39e
push 0
mov ecx, esi
call fcn.00432780
mov eax, dword [esi]
push 0
push 0
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x144]
push edx
push eax
call fcn.0047e92f
push 0
push 0
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x264]
push edx
call fcn.0047e721
add esp, 0x28
push 0
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
call fcn.00411db0
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [esp + 0x34c], 0
jge 0x43e41f
push 0
mov ecx, esi
call fcn.00432780
mov esi, dword [esi]
push 1
push esi
lea ecx, [esp + 0x24]
call fcn.00411e60
cmp eax, 1
jne 0x43e4e9
mov ecx, dword [edi + 0x1c]
push 4
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00411fc0
mov eax, dword [edi + 0x80]
mov eax, dword [eax]
mov ebp, dword [edi + 0x80]
add edi, 0x7c
mov edx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jmp 0x43e474
mov eax, dword [esp + 0x18]
cmp edx, edi
jne 0x43e4ca
cmp eax, ebp
sete cl
test cl, cl
sete cl
test cl, cl
je 0x43e4d4
test edx, edx
je 0x43e4ca
cmp eax, dword [edx + 4]
je 0x43e4cf
mov esi, dword [eax + 0x10]
test esi, esi
je 0x43e4b9
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
call fcn.00411fc0
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0043c400
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0043d460
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x43e470
jmp fcn.0043d3e0
jmp fcn.0043d360
push 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 3
call fcn.00411fc0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34c], 0xffffffff
call fcn.00411e00
mov eax, 1
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x340
ret
Function at 0x43f820
Capabilities:
Get disk size

Disassembly:
sub esp, 0x64
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push 0x3f
lea eax, [esp + 0x2d]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x34], 0
call fcn.0047ec20
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
add esp, 0xc
or ecx, dword [eax + 8]
jge 0x43f867
push 0
mov ecx, esi
call fcn.00432780
mov eax, dword [esi]
push edi
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
push eax
call fcn.0047e92f
lea edi, [esp + 0x40]
add esp, 0x14
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x43f885
mov cx, word [0x4c4e7c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
mov word [edi], cx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
pop edi
jne 0x43f8cb
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x64
ret
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0043e530
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x14]
ja 0x43f8ed
jb 0x43f8b8
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x10]
jb 0x43f8b8
mov ecx, dword [esp + 0x68]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0047e4dd
add esp, 0x64
ret
Function at 0x440ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x440f09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x440f44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x440f40
lea ebx, [ebx]
cmp esi, eax
jae 0x440f44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x440f30
cmp esi, eax
jb 0x440f4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x444980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a67ba
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x28]
push 2
push eax
call fcn.0044f950
mov edi, dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add eax, ebx
push 0xb4
lea ebp, [ecx + edi]
mov dword [esp + 0x30], eax
call fcn.0045f665
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x40], 0
je 0x4449f1
push 0
mov ecx, eax
call fcn.00445d80
jmp 0x4449f3
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x134]
push ecx
push 0xb0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push 1
sub eax, ebx
push eax
sub ebp, edi
push ebp
push ebx
push edi
call fcn.0045f800
mov ecx, dword [esi + 8]
call fcn.00446440
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x444b60
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0x10]
cmp dword [eax - 0xc], 0
push esi
lea esi, [ecx + 0x10]
jg 0x444b71
xor eax, eax
pop esi
ret
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
or ecx, dword [eax + 8]
jge 0x444b8a
push 0
mov ecx, esi
call fcn.00432780
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x444ee0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a686b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x444f3e
push 0
mov ecx, esi
call fcn.00432780
mov esi, dword [esi]
push 0
push str.TempPath
push esi
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.0047e721
push 0x4b6390
push str.Replace
lea ecx, [esp + 0x16c]
push ecx
mov edx, ecx
push 0
push edx
call fcn.0047e721
add esp, 0x28
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
call fcn.00411db0
push 1
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x268], 0
call fcn.00411e60
test eax, eax
lea ecx, [esp + 0x34]
je 0x44511d
push 1
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 1
call fcn.00411fc0
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ecx, dword [edi + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [edi + 0x1c]
mov edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
jmp 0x444ff4
mov eax, dword [esp + 0x24]
cmp edx, ebx
jne 0x4450da
cmp eax, dword [esp + 0x30]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x4450e4
test edx, edx
je 0x4450da
cmp eax, dword [edx + 4]
je 0x4450df
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4450c5
cmp byte [edi + 0x210], 0
jne 0x4450c5
lea esi, [edi + 0x108]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x445044
sub eax, edx
jne 0x4450c5
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.00411fc0
push esi
call ebp
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00411fc0
mov eax, dword [esp + 0x18]
cmp eax, 1
jl 0x445094
add eax, 1
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00411fc0
lea esi, [edi + 4]
push esi
call ebp
push 4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], eax
call fcn.00411fc0
mov eax, dword [esp + 0x1c]
cmp eax, 1
jl 0x4450c5
add eax, 1
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00411fc0
lea ecx, [esp + 0x20]
call fcn.0043d460
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x444ff0
jmp fcn.0043d3e0
jmp fcn.0043d360
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 3
call fcn.00411fc0
lea ecx, [esp + 0x34]
call fcn.00411e10
lea ecx, [esp + 0x34]
mov dword [esp + 0x260], 0xffffffff
call fcn.00411e00
mov eax, 1
jmp 0x44512f
mov dword [esp + 0x260], 0xffffffff
call fcn.00411e00
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x250
ret