joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438250
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x68a9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
cmp dword [esi + 0x14], 8
jb 0x438295
mov eax, dword [esi]
jmp 0x438297
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x4382ac
mov al, 1
jmp 0x438336
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.00439400
test al, al
je 0x438300
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push edi
cmovae eax, dword [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x438300
mov bl, 1
jmp 0x438302
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x43831d
push dword [esp + 0x14]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005472b9
add esp, 0x2c
ret

Function at 0x438360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x68aa18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x43839c
mov eax, dword [esi]
jmp 0x43839e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438433
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00439400
test al, al
je 0x438401
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x43841c
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret
Function at 0x438460
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x68aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x43849e
mov eax, dword [edi]
jmp 0x4384a0
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x4384a8
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4384bb
mov al, 1
jmp 0x438629
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], eax
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.00439400
movzx ecx, byte [esp + 0xf]
test al, al
mov edx, 1
mov dword [esp + 0x24], 0
cmovne ecx, edx
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0x50], dl
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00439400
test al, al
jne 0x438549
cmp byte [esp + 0x10], al
je 0x4385c6
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
cmovae ecx, dword [esp + 0x14]
cmp dword [esp + 0x40], 8
push ecx
cmovae eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4385c6
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x438589
push dword [esp + 0x14]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4385bb
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
mov al, 1
jmp 0x438619
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x4385de
push dword [esp + 0x14]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x438610
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
xor al, al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005472b9
add esp, 0x48
ret
Function at 0x438650
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x68aa98
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x43868f
mov eax, dword [esi]
jmp 0x438691
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x438699
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push eax
push ecx
call ebx
test eax, eax
je 0x4386b0
mov al, 1
jmp 0x438893
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x70], eax
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.00439400
movzx ecx, byte [esp + 0x17]
test al, al
mov edx, 1
mov dword [esp + 0x44], 0
cmovne ecx, edx
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x70], dl
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00439400
test al, al
jne 0x43873e
cmp byte [esp + 0x18], al
je 0x43876b
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
push 0xb
cmovae ecx, dword [esp + 0x38]
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call ebx
test eax, eax
je 0x43876b
mov bl, 1
jmp 0x438830
mov ecx, esi
call fcn.00438360
cmp eax, 0xffffffff
je 0x43882e
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00409040
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x1c]
call fcn.004390d0
test al, al
je 0x4387ff
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.00438460
test al, al
je 0x4387ff
mov edx, esi
mov ecx, edi
call fcn.00438460
lea ecx, [esp + 0x1c]
test al, al
je 0x4387f8
call fcn.00438ac0
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x1c]
call fcn.00408cc0
mov bl, 1
jmp 0x438830
mov edx, esi
call fcn.00438460
mov byte [esp + 0x70], 1
cmp dword [esp + 0x30], 8
jb 0x438817
push dword [esp + 0x1c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
xor bl, bl
mov byte [esp + 0x70], 0
cmp dword [esp + 0x48], 8
jb 0x438848
push dword [esp + 0x34]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x43887a
push dword [esp + 0x4c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
mov al, bl
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005472b9
add esp, 0x64
ret
Function at 0x4388c0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x68aa18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4388fc
mov eax, dword [esi]
jmp 0x4388fe
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x438910
mov al, 1
jmp 0x43899d
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00439400
test al, al
je 0x438967
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x438967
mov bl, 1
jmp 0x438969
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x438984
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret

Function at 0x4389c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x68aa18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4389fc
mov eax, dword [esi]
jmp 0x4389fe
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x438a12
mov al, 1
jmp 0x438aa1
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00439400
test al, al
je 0x438a6b
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x438a6b
mov bl, 1
jmp 0x438a6d
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x438a88
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret
Function at 0x438ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68aae0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x438b03
mov eax, dword [esi]
jmp 0x438b05
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x438b19
mov al, 1
jmp 0x438c91
cmp dword [esi + 0x14], 8
jb 0x438b23
mov eax, dword [esi]
jmp 0x438b25
mov eax, esi
push eax
lea ecx, [esp + 0x34]
call fcn.00408c20
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x30]
call fcn.00438360
mov ebx, eax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x438b5d
push dword [esp + 0x30]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp ebx, 0xffffffff
jne 0x438b80
xor al, al
jmp 0x438c91
cmp dword [esi + 0x14], 8
jb 0x438b8a
mov eax, dword [esi]
jmp 0x438b8c
mov eax, esi
push eax
lea ecx, [esp + 0x34]
call fcn.00408c20
mov dword [esp + 0x58], 1
xor edx, edx
lea ecx, [esp + 0x30]
call fcn.00438250
test al, al
sete al
mov byte [esp + 0x17], al
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x438bd1
push dword [esp + 0x30]
call fcn.005472b4
mov al, byte [esp + 0x1b]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
test al, al
jne 0x438b79
cmp dword [esi + 0x14], 8
jb 0x438bf6
mov eax, dword [esi]
jmp 0x438bf8
mov eax, esi
push eax
call edi
test eax, eax
jne 0x438b12
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x58], 2
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.00439400
test al, al
je 0x438c4c
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
call edi
test eax, eax
je 0x438c4c
mov bl, 1
jmp 0x438c7e
cmp dword [esi + 0x14], 8
jb 0x438c54
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.00408c20
mov byte [esp + 0x58], 3
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.00438250
mov byte [esp + 0x58], 2
lea ecx, [esp + 0x18]
call fcn.00408cc0
xor bl, bl
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00408cc0
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
Function at 0x438cb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x68ab1b
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x74f38c]
mov dword [esp + 8], 0x74f38c
test eax, eax
je 0x438d02
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x73fd54], 0
je 0x438d50
cmp esi, 0x73fd44
je 0x438d2e
push 0xffffffffffffffff
push 0
push 0x73fd44
mov ecx, esi
call fcn.00409040
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x74f38c]
test eax, eax
je 0x438d49
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x438e2b
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x438e0e
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x438dfd
test eax, eax
je 0x438dfd
add eax, eax
cmp eax, 0x412
jae 0x438df8
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.00408cf0
jmp 0x438d2e
call fcn.00548193
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00408cf0
jmp 0x438d2e
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x74f38c]
test eax, eax
je 0x438e29
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.005472b9
add esp, 0x634
ret

Function at 0x439020
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x439048
mov eax, dword [esi]
jmp 0x43904a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 0x410
push eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x439095
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.005472b9
add esp, 0x418
ret
cmp eax, 0x208
jae 0x43907d
xor eax, eax
mov ecx, esi
mov word [esp + 0x414], ax
lea eax, [esp + 4]
push eax
call fcn.00408cf0
mov ecx, dword [esp + 0x418]
mov al, 1
pop esi
xor ecx, esp
call fcn.005472b9
add esp, 0x418
ret
Function at 0x4390d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x68abb0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x3c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x34]
push edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00409040
mov dword [esp + 0x80], 0
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.00426670
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4391f2
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041ceb0
add esp, 0xc
mov esi, eax
mov byte [esp + 0x80], 2
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x4391c0
cmp dword [esp + 0x40], 8
jb 0x43919f
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00408e30
mov byte [esp + 0x80], 1
cmp dword [esp + 0x28], 8
jb 0x4391db
push dword [esp + 0x14]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x80], 3
lea esi, [eax + 1]
lea eax, [esp + 0x44]
push eax
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x34]
call fcn.00439340
add esp, 8
test al, al
jne 0x439267
mov edi, edi
inc esi
cmp esi, 0x100000
jg 0x439335
lea eax, [esp + 0x44]
push eax
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x34]
call fcn.00439340
add esp, 8
test al, al
je 0x439240
lea eax, [esp + 0x44]
cmp edi, eax
je 0x43927b
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409040
mov bl, 1
mov byte [esp + 0x80], 1
cmp dword [esp + 0x58], 8
jb 0x439298
push dword [esp + 0x44]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x80], al
cmp dword [esp + 0x70], 8
jb 0x4392c9
push dword [esp + 0x5c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4392fe
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov al, bl
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005472b9
add esp, 0x74
ret
xor bl, bl
jmp 0x43927d
Function at 0x439da0
Capabilities:
Read file on windows

Disassembly:
mov edx, ecx
mov eax, dword [edx]
test eax, eax
jne 0x439dad
xor al, al
ret 0xc
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x439da8
cmp dword [eax], 0xffffffff
je 0x439da8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [edx]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x439e10
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x439e3d
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 4
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x439e29
push esi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439e77
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x439e77
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, esi
mov dword [edi], eax
mov al, 1
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 4
Function at 0x43ac50
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x68af01
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x8c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
xor eax, eax
push 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push str.UUID
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00409260
mov dword [esp + 0x84], 1
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0043b2f0
mov byte [esp + 0x84], 3
cmp dword [esp + 0x20], 8
jb 0x43ad01
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [esp + 0x54], eax
je 0x43ad3f
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.0040ee30
mov dword [esp + 0x24], 1
mov byte [esp + 0x84], 0
jmp 0x43ae81
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0043d170
mov byte [esp + 0x84], 4
cmp dword [esp + 0x6c], 0
je 0x43ae34
push str.UUID
lea ecx, [esp + 0x10]
call fcn.00408c20
mov byte [esp + 0x84], 5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0043aed0
mov edi, eax
mov byte [esp + 0x84], 6
lea eax, [esp + 0x44]
cmp eax, edi
je 0x43add0
cmp dword [esp + 0x58], 8
jb 0x43adaf
push dword [esp + 0x44]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00408e30
mov byte [esp + 0x84], 5
cmp dword [esp + 0x40], 8
jb 0x43adeb
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x84], 4
cmp dword [esp + 0x20], 8
jb 0x43ae1d
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.0040ee30
mov dword [esp + 0x24], 1
mov byte [esp + 0x84], 3
cmp dword [esp + 0x70], 8
jb 0x43ae63
push dword [esp + 0x5c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov byte [esp + 0x84], al
cmp dword [esp + 0x58], 8
jb 0x43ae94
push dword [esp + 0x44]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005472b9
add esp, 0x7c
ret 4