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

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.00433940

Function at 0x42b460
Capabilities:
Delete file

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.00433bf0

Function at 0x42b930
Capabilities:
Get common file path

Disassembly:
sub esp, 0x41c
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
mov esi, ecx
call fcn.00404df0
mov dword [esp + 4], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x42b963
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0040e9b0
push 0x412
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004fb1f0
add esp, 0x14
lea eax, [esp + 8]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x42b9ae
xor al, al
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004f8545
add esp, 0x41c
ret
cmp eax, 0x208
jae 0x42b996
xor eax, eax
mov word [esp + 0x418], ax
lea eax, [esp + 8]
push eax
call fcn.0040e740
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0040e470
mov ecx, dword [esp + 0x41c]
mov al, 1
pop esi
xor ecx, esp
call fcn.004f8545
add esp, 0x41c
ret

Function at 0x42cbb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.004f8556
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.004fb1f0
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x42cc0c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.004f8545
add esp, 0x120
ret
Function at 0x42fae0
Capabilities:
Read file on windows

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

Function at 0x42fb20
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x42fb5a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42fb5a
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fb5a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42fb5a
cmp edi, dword [esi]
jne 0x42fb5a
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x42fbd0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x42fc33
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fc33
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fc0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42fc33
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004f8545
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004f8545
add esp, 8
ret 4

Function at 0x42fd30
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x42fdde
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
movlpd qword [esp + 0x28], xmm0
call fcn.0042fc50
test al, al
je 0x42fdde
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.0042fc50
test al, al
je 0x42fdde
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [esp + 0x10], eax
jne 0x42fdb4
cmp dword [esp + 0x14], edi
jne 0x42fdb4
mov eax, dword [esi]
test eax, eax
jne 0x42fda1
xor bl, bl
jmp 0x42fdb4
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fd9d
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne bl
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0
push dword [esp + 0x24]
mov ecx, esi
movlpd qword [esp + 0x1c], xmm0
push dword [esp + 0x24]
call fcn.0042fc50
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x432130
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531a58
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5938b4]
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.0040e030
test al, al
jne 0x43218a
cmp byte [ebp + 8], al
jne 0x432191
mov eax, dword [ebx]
test eax, eax
je 0x4322f1
cmp byte [eax + 0xa5], 0
je 0x4322f1
xor al, al
jmp 0x432307
mov ecx, esi
call fcn.0040e030
test al, al
jne 0x4322f1
push esi
call fcn.00415500
add esp, 4
test al, al
je 0x4321b9
push esi
push edi
call fcn.00431d60
jmp 0x4322ed
push 0xb
mov ecx, esi
call fcn.0040e040
push eax
mov ecx, edi
call fcn.0040e040
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x4321de
mov al, 1
jmp 0x4322ed
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.0040e160
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.004340a0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.0040e160
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004340a0
test al, al
jne 0x43222b
cmp byte [ebp - 0x60], al
je 0x432267
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040e040
push eax
lea ecx, [ebp - 0x58]
call fcn.0040e040
push eax
call ebx
test eax, eax
je 0x432267
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040ac80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040ac80
mov al, 1
jmp 0x4322ed
mov ecx, esi
call fcn.00433940
cmp eax, 0xffffffff
je 0x4322d0
push esi
lea ecx, [ebp - 0x28]
call fcn.0040e180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00433e60
test al, al
je 0x4322c4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004339e0
test al, al
je 0x4322c4
mov edx, esi
mov ecx, edi
call fcn.004339e0
lea ecx, [ebp - 0x28]
test al, al
je 0x4322bd
call fcn.00433bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040ac80
jmp 0x432245
mov edx, esi
call fcn.004339e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040ac80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040ac80
xor al, al
test al, al
jne 0x432305
push edi
call fcn.00415500
add esp, 4
test al, al
je 0x432305
mov ecx, edi
call fcn.00433bf0
mov al, 1
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.004f8545
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433890
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
and esi, 0xffffb1af
push esi
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4338d9
mov al, 1
jmp 0x433921
lea ecx, [ebp - 0x28]
call fcn.0040e160
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.004340a0
test al, al
je 0x43390e
push esi
lea ecx, [ebp - 0x28]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43390e
mov bl, 1
jmp 0x433910
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4339be
lea ecx, [ebp - 0x28]
call fcn.0040e160
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.004340a0
test al, al
je 0x4339ad
lea ecx, [ebp - 0x28]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x433bf0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531e18
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5938b4]
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 esi, ecx
call fcn.0040e040
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x433c36
mov al, 1
jmp 0x433d88
mov ecx, esi
call fcn.0040e040
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00433940
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
cmp ebx, 0xffffffff
jne 0x433c75
xor al, al
jmp 0x433d88
mov ecx, esi
call fcn.0040e040
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e120
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.0040e040
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x433ca7
xor bl, bl
jmp 0x433cf1
lea ecx, [ebp - 0x40]
call fcn.0040e160
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004340a0
test al, al
je 0x433ce3
push 0
lea ecx, [ebp - 0x40]
call fcn.0040e040
push eax
call ebx
test eax, eax
je 0x433ce3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040ac80
xor bl, bl
jmp 0x433cf1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040ac80
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
test bl, bl
jne 0x433c6e
mov ecx, esi
call fcn.0040e040
push eax
call edi
test eax, eax
jne 0x433c2f
lea ecx, [ebp - 0x28]
call fcn.0040e160
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004340a0
test al, al
je 0x433d4a
lea ecx, [ebp - 0x28]
call fcn.0040e040
push eax
call edi
test eax, eax
je 0x433d4a
mov bl, 1
jmp 0x433d77
mov ecx, esi
call fcn.0040e040
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e120
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.00433890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040ac80
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov al, bl
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.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x433db0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004fb1f0
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.0040e040
push eax
mov ecx, edi
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x433e45
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.0040e740
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0040e470
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004f8545
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f8545
add esp, 0x210
ret
Function at 0x435f60
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x532340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x436027
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x43604c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f8dad
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x436013
cmp eax, ebx
ja 0x436013
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x436070
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x436027
push edi
call fcn.004f8da8
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x804]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x4360e3
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x4360e3
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x4360c8
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x4360bd
cmp ecx, edi
je 0x4360bd
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e120
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00411bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040ac80
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x436083
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4360dc
push esi
call fcn.004f8da8
add esp, 4
mov al, 1
jmp 0x436029
call fcn.004f8cce
int3
Function at 0x43e410
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533827
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5938b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004f8556
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004400d0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004400d0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.0040e160
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.0043e370
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040e160
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xf0]
call fcn.0040e160
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.00410700
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.00410700
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4475f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x5990c0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x598dc0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x598fc0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x598ec0], al
inc esi
cmp esi, 0x100
jl 0x447700
pop esi
add esp, 0x80
ret
Function at 0x449c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5938b4]
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, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e180
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00413140
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040e460
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x449d8b
call fcn.00404df0
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x449cd0
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x449cea
mov ecx, esi
cmp eax, 8
jb 0x449cdf
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x449e06
mov ecx, esi
cmp eax, 8
jb 0x449cf3
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x449d09
mov ecx, esi
cmp eax, 8
jb 0x449d02
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x449d5c
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00412f60
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x449d25
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x449d5c
mov ecx, esi
cmp eax, 8
jb 0x449d35
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x449d5c
mov ecx, esi
cmp eax, 8
jb 0x449d45
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x449d5c
cmp eax, 8
jb 0x449d52
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x449de7
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov al, bl
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.004f8545
mov esp, ebp
pop ebp
ret
call fcn.0040e460
cmp eax, 2
jne 0x449d5c
lea ecx, [ebp - 0x28]
call fcn.00404df0
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x449da9
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x449d5c
mov edx, eax
cmp ecx, 8
jb 0x449db9
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x449d5c
cmp ecx, 8
jb 0x449dc6
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x449d5c
push 0x565940
call fcn.0040e740
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x565940
call fcn.0040e8a0
lea ecx, [ebp - 0x28]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449d5c
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x449d5e
Function at 0x44c4c0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x5356e6
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
mov edi, dword [esi]
test edi, edi
jne 0x44c503
xor al, al
jmp 0x44c6ca
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0044c6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040e030
test al, al
jne 0x44c68d
lea ecx, [ebp - 0x44]
call fcn.0040e030
test al, al
jne 0x44c68d
cmp dword [ebp - 0x2c], 0
jne 0x44c65f
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x44c5f8
lea eax, [ebp]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp + 0x24], xmm0
call fcn.0043fd00
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.0040e030
test al, al
jne 0x44c5dc
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44c5dc
test edi, edi
je 0x44c5dc
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push 8
lea eax, [ebp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c5d5
xorps xmm0, xmm0
movlpd qword [ebp + 0x24], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x28]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040ac80
mov dword [esi + 8], edi
mov edx, edi
mov dword [esi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x44c686
lea eax, [ebp + 0x1c]
push eax
call fcn.004b0700
mov ecx, dword [esi + 8]
add esp, 4
mov esi, dword [esi + 0xc]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
cmp edx, esi
ja 0x44c622
jb 0x44c686
cmp eax, ecx
jb 0x44c686
push esi
push ecx
push edx
push eax
call fcn.0044c990
test al, al
je 0x44c68d
lea ecx, [ebp + 0x1c]
call fcn.004b08e0
test eax, eax
js 0x44c686
lea ecx, [ebp + 0x1c]
call fcn.004b08e0
cmp eax, 3
jg 0x44c686
call fcn.005011dc
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x44c68d
mov bl, dl
jmp 0x44c68f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44c68a
cmp ecx, eax
jbe 0x44c68a
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x2c]
jb 0x44c68d
mov bl, 1
jmp 0x44c68f
mov dword [esi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040ac80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040ac80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.0040ac80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040ac80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x30]
pop ebp
ret 4