joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ac90
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4d350b
mov eax, dword fs:[0]
push eax
mov eax, 0x5028
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x5024], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x5038]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5048]
push 0x800
lea eax, [esp + 0x2038]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x43aea2
cmp eax, 0x800
jae 0x43aea2
push 0x800
lea ecx, [esp + 0x3038]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x43aea2
cmp eax, 0x800
jae 0x43aea2
lea edx, [esp + 0x2034]
push edx
call fcn.00460330
mov ebx, eax
lea eax, [esp + 0x3034]
push eax
call fcn.00460330
mov esi, eax
cmp word [esi], 0
je 0x43aea2
push esi
push ebx
call fcn.00486990
test eax, eax
je 0x43aea2
push esi
push edi
call fcn.00460330
push eax
call fcn.00486990
test eax, eax
jne 0x43aea2
mov word [esp + 0x1034], ax
xor esi, esi
lea esp, [esp]
test ax, ax
jne 0x43adf2
push 0x800
push edi
lea ecx, [esp + 0x103c]
push ecx
call fcn.0047ef70
push esi
push str.rtmp_d
lea edx, [esp + 0x103c]
push edx
call fcn.00460330
push eax
mov edx, 0x800
call fcn.00495190
add esp, 0xc
lea eax, [esp + 0x1034]
push eax
call fcn.0043ca60
test al, al
je 0x43add6
xor eax, eax
mov word [esp + 0x1034], ax
jmp 0x43adde
mov ax, word [esp + 0x1034]
add esi, 0x7b
cmp esi, 0x2710
jl 0x43ad80
test ax, ax
je 0x43aea2
push 0x800
push edi
lea ecx, [esp + 0x403c]
push ecx
call fcn.0047ef70
push 0x800
push ebx
lea edx, [esp + 0x403c]
push edx
call fcn.00460500
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x4038]
push ecx
call esi
test eax, eax
je 0x43aea2
lea ecx, [esp + 0x10]
call fcn.0043b140
mov dword [esp + 0x5040], 0
push edi
xor bl, bl
call fcn.0043ca60
test al, al
jne 0x43ae62
push 9
push edi
lea ecx, [esp + 0x18]
call fcn.0043b300
mov bl, al
lea edx, [esp + 0x4034]
push edx
lea eax, [esp + 0x1038]
push eax
call esi
test bl, bl
je 0x43ae8a
lea ecx, [esp + 0x10]
call fcn.0043b430
lea ecx, [esp + 0x10]
call fcn.0043b490
mov dword [esp + 0x5040], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0043b850
mov al, 1
jmp 0x43aea4
xor al, al
mov ecx, dword [esp + 0x5038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5024]
xor ecx, esp
call fcn.004c0c62
add esp, 0x5034
ret 4
Function at 0x43b530
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
test ebx, ebx
je 0x43b6f5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x43b56e
sub eax, 1
je 0x43b563
sub eax, 1
jne 0x43b56e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebp
mov dword [esi + 4], eax
push edi
jmp 0x43b590
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push ebp
push edi
jmp 0x43b590
mov ebx, dword [esp + 0x34]
jmp 0x43b590
cmp dword [esi + 0xc], 0
mov dword [esp + 0x10], 0
je 0x43b5e4
xor edi, edi
test ebx, ebx
jbe 0x43b609
mov eax, ebx
sub eax, edi
cmp eax, 0x4000
jb 0x43b5b4
mov eax, 0x4000
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push eax
lea eax, [edi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
je 0x43b609
add edi, 0x4000
cmp edi, ebx
jb 0x43b5a4
jmp 0x43b601
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
jne 0x43b6ef
cmp byte [esi + 0x14], 0
je 0x43b6ef
cmp dword [esi + 0xc], 0
jne 0x43b6ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov ebx, eax
lea eax, [esi + 0x1e]
push eax
mov dword [esp + 0x24], edx
call fcn.0043c130
push edi
mov dword [esp + 0x18], eax
mov ebp, edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp ebp, eax
mov ebp, dword [esp + 0x34]
jb 0x43b694
ja 0x43b65c
cmp dword [esp + 0x14], ebp
jbe 0x43b694
mov edi, dword [esp + 0x20]
mov edx, ebx
sub edx, ebp
mov ecx, edi
sbb ecx, eax
test ecx, ecx
jg 0x43b694
jl 0x43b673
cmp edx, 0xffffffff
ja 0x43b694
mov ecx, ebp
add ecx, ebx
adc eax, edi
mov dword [esp + 0x28], eax
js 0x43b694
jg 0x43b686
cmp ecx, 0xffffffff
jbe 0x43b694
lea eax, [esi + 0x1e]
push eax
mov ecx, 0x51f7e8
call fcn.00433910
push 0
lea eax, [esi + 0x1e]
push eax
mov ecx, 0x51f7e8
call fcn.00433960
test al, al
je 0x43b6df
mov eax, dword [esp + 0x10]
cmp eax, ebp
jae 0x43b580
test eax, eax
jbe 0x43b580
mov edi, dword [esi]
mov edx, dword [edi + 0xc]
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
xor ebx, ebx
sub eax, ecx
sbb edx, ebx
push edx
mov edx, dword [edi + 8]
push eax
mov ecx, esi
call edx
jmp 0x43b580
lea eax, [esi + 0x1e]
push eax
push 0
mov ecx, 0x51f7e8
call fcn.00433bd0
pop edi
mov byte [esi + 8], 1
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x43b900
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 1
push edi
mov edi, dword [esp + 0x18]
cmp dword [esi + 0xc], ebp
jne 0x43b92c
cmp edi, 0x4e20
jbe 0x43b921
mov edi, 0x4e20
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43b9ce
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x43b980
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x43b964
cmp eax, 3
jne 0x43b980
cmp edi, 0x4e20
jbe 0x43b980
push 0x4e20
push ebx
mov ecx, esi
call fcn.0043b900
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp dword [esi + 0xc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x43b99b
call ebp
cmp eax, 0x6d
jne 0x43b99b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
cmp dword [esi + 0xc], 0
jne 0x43b9c4
cmp edi, 0x8000
jbe 0x43b9c4
call ebp
cmp eax, 0x21
jne 0x43b9c4
push 0x8000
push ebx
mov ecx, esi
call fcn.0043b900
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x43c0a0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push 0x800
lea ecx, [esp + 4]
push ecx
push eax
call fcn.00460c70
movzx edx, word [esp]
neg edx
sbb edx, edx
lea eax, [esp]
and edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x43c106
cmp eax, 5
je 0x43c106
xor eax, eax
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 4
mov ecx, dword [esp + 0x1000]
xor ecx, esp
mov eax, 1
call fcn.004c0c62
add esp, 0x1004
ret 4

Function at 0x43c130
Capabilities:
Get disk size

Disassembly:
mov eax, 0x101c
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1018], eax
mov eax, dword [esp + 0x1020]
push esi
push 0x800
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004605d0
lea edx, [esp + 0xc]
push edx
movzx edx, word [esp + 0x20]
xor esi, esi
lea eax, [esp + 0x18]
push eax
neg edx
lea ecx, [esp + 0xc]
sbb edx, edx
lea eax, [esp + 0x24]
push ecx
and edx, eax
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43c1c7
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
ja 0x43c1c7
push 1
push esi
push esi
push eax
call fcn.004c13d0
mov ecx, dword [esp + 4]
add eax, ecx
adc edx, esi
pop esi
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.004c0c62
add esp, 0x101c
ret 4
mov ecx, dword [esp + 0x101c]
pop esi
xor ecx, esp
xor eax, eax
xor edx, edx
call fcn.004c0c62
add esp, 0x101c
ret 4
Function at 0x43c1f0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1210
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x120c], eax
mov eax, dword [esp + 0x1214]
push 0x800
lea ecx, [esp + 0x210]
push ecx
push eax
call fcn.00460c70
push 0x105
lea edx, [esp + 4]
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43c2f4
mov ecx, 0x4d940c
lea eax, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c27a
test dx, dx
je 0x43c276
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c27a
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c254
xor eax, eax
jmp 0x43c27f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43c2d8
mov ecx, 0x4d9400
lea eax, [esp]
jmp 0x43c290
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c2b6
test dx, dx
je 0x43c2b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c2b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c290
xor eax, eax
jmp 0x43c2bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43c2d8
xor eax, eax
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1210
ret 4
mov eax, 1
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1210
ret 4
mov ecx, dword [esp + 0x120c]
xor ecx, esp
xor al, al
call fcn.004c0c62
add esp, 0x1210
ret 4

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

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push edi
mov edi, dword [esp + 0x1014]
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c3c1
push 0x800
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004615a0
test al, al
je 0x43c3bf
lea ecx, [esp + 0xc]
push ecx
call ebx
jmp 0x43c3c1
mov eax, esi
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 4

Function at 0x43c3e0
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
mov esi, dword [esp + 0x1014]
push edi
mov edi, dword [esp + 0x101c]
push edi
push esi
call ebp
test eax, eax
setne bl
test bl, bl
jne 0x43c440
push 0x800
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004615a0
test al, al
je 0x43c440
push edi
lea ecx, [esp + 0x14]
push ecx
call ebp
test eax, eax
setne al
jmp 0x43c442
mov al, bl
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 8
Function at 0x43c460
Capabilities:
Move file

Disassembly:
mov eax, 0x2004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2000], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
mov esi, dword [esp + 0x2014]
push edi
mov edi, dword [esp + 0x201c]
push edi
push esi
call ebp
test eax, eax
setne bl
test bl, bl
jne 0x43c4de
push 0x800
lea eax, [esp + 0x1014]
push eax
push esi
call fcn.004615a0
test al, al
je 0x43c4de
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004615a0
test al, al
je 0x43c4de
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1014]
push eax
call ebp
test eax, eax
setne al
jmp 0x43c4e0
mov al, bl
mov ecx, dword [esp + 0x2010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x2004
ret 8

Function at 0x43c500
Capabilities:
Delete file

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
setne bl
test bl, bl
jne 0x43c556
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004615a0
test al, al
je 0x43c556
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43c558
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 4

Function at 0x43c580
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call edi
test eax, eax
setne bl
test bl, bl
jne 0x43c5d6
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004615a0
test al, al
je 0x43c5d6
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43c5d8
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 4

Function at 0x43ccd0
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0x10], eax
jbe 0x43cd28
mov dword [ecx + 0x10], eax
mov ecx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
mov eax, 0x54
push edx
mov dword [esp + 8], 3
mov word [esp + 0x14], ax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
mov al, 1
add esp, 0x20
ret
Function at 0x43d090
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x43d0ec
push esi
call fcn.0043c370
cmp eax, 0xffffffff
jne 0x43d108
push 0x800
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004615a0
test al, al
je 0x43d108
push 0
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x43d108
cmp byte [esp + 0x1014], 0
je 0x43d104
mov edx, dword [esp + 0x1018]
push edx
push esi
call fcn.0043c3e0
xor eax, eax
jmp 0x43d122
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43d11d
cmp eax, 3
mov eax, 1
jne 0x43d122
mov eax, 2
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 0xc
Function at 0x43e9f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004c1d07
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x43ea12
mov eax, 4
add esp, 0xc
ret 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov eax, edi
and eax, ebp
cmp eax, 0xffffffff
je 0x43ea41
cmp esi, ebp
ja 0x43eb02
jb 0x43ea41
cmp ebx, edi
jae 0x43eb02
call fcn.00453460
cmp byte [0x51f7f0], 0
je 0x43ea58
cmp byte [0x535500], 0
jne 0x43eac6
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x43ea7d
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x43ea7d
jb 0x43ea77
cmp ecx, 0x4000
jae 0x43ea7d
mov eax, edi
sub eax, ebx
jmp 0x43ea82
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004c4096
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ead5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004c3690
add esp, 0x10
cmp eax, esi
jne 0x43eb1b
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x43ea26
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x20]
push eax
call fcn.004c3dc2
add esp, 4
test eax, eax
je 0x43eb02
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c1404
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x10]
push edx
call fcn.004c1404
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x10]
push eax
call fcn.004c1404
mov eax, dword [0x520cc8]
add esp, 4
test eax, eax
je 0x43eb3e
push eax
push 0
mov ecx, 0x51f7e8
call fcn.00433ba0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x43f230
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d37ab
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2054]
mov ebp, dword [esp + 0x2050]
mov dword [esp + 0x14], esi
mov ecx, esi
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f2ab
test dx, dx
je 0x43f2a7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f2ab
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f285
xor eax, eax
jmp 0x43f2b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43f453
lea eax, [esp + 0x103c]
push eax
push 0x800
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0x103c]
push ecx
call fcn.004c3934
add esp, 4
cmp word [esp + 0x103c], 0x5c
mov edi, eax
je 0x43f334
movzx eax, word [esi]
cmp ax, 0x5c
je 0x43f334
cmp word [ebp], 0x5c
je 0x43f334
movzx edx, ax
push edx
call fcn.004c3934
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004c3934
mov edx, dword [esp + 0x1c]
mov ecx, 0x3a
add esp, 8
cmp word [edx + 2], cx
je 0x43f324
mov esi, edi
cmp word [ebp + 2], cx
je 0x43f32c
mov eax, edi
cmp esi, eax
mov esi, edx
je 0x43f334
mov bl, 1
push ebp
call fcn.0043ca60
test al, al
je 0x43f38d
lea ecx, [esp + 0x18]
call fcn.0043b140
mov dword [esp + 0x2048], 0
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.0043b180
test al, al
je 0x43f3cd
lea ecx, [esp + 0x18]
call fcn.0043b430
test al, al
je 0x43f3cd
push ebp
call fcn.0043c500
test al, al
je 0x43f3cd
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043b850
test bl, bl
jne 0x43f3a5
push ebp
push esi
call fcn.0043c460
test al, al
sete al
test al, al
je 0x43f453
push 0x4d94b8
push esi
call fcn.004c3cf8
mov edi, eax
add esp, 8
test edi, edi
jne 0x43f3e8
push esi
push eax
mov ecx, 0x51f7e8
call fcn.00433b00
lea eax, [edi + 0xa]
jmp 0x43f455
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043b850
mov eax, 0xf
jmp 0x43f455
push 0x4d94b0
push ebp
call fcn.004c3cf8
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f40a
push edi
call fcn.004c34b2
add esp, 4
lea eax, [esi + 0xf]
jmp 0x43f455
push 0
mov ecx, 0x51f7e8
call fcn.00433660
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.0043e9f0
push edi
mov ebx, eax
call fcn.004c34b2
add esp, 4
push 1
mov ecx, 0x51f7e8
call fcn.00433660
push esi
call fcn.004c34b2
add esp, 4
test eax, eax
jne 0x43f47f
test ebx, ebx
jne 0x43f47f
mov eax, dword [esp + 0x14]
push eax
call fcn.0043c500
xor eax, eax
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004c0c62
add esp, 0x2038
ret 8
push ebp
call fcn.0043c500
test ebx, ebx
je 0x43f490
mov eax, ebx
cmp ebx, 0xa
jne 0x43f455
mov eax, 0xe
jmp 0x43f455
Function at 0x441230
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, 0x1254
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1250], eax
push ebx
mov ebx, dword [esp + 0x1260]
push ebp
push esi
mov esi, dword [esp + 0x126c]
push edi
mov edi, dword [esp + 0x1268]
cmp edi, 0xffffffff
jne 0x4412df
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x441313
push 0x800
lea ecx, [esp + 0x264]
push ecx
push ebx
call fcn.004615a0
test al, al
je 0x4412ac
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x441313
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4412c8
cmp eax, 3
je 0x4412c8
cmp eax, 0x12
je 0x4412c8
mov eax, 1
jmp 0x4412ca
xor eax, eax
mov byte [esi + 0x1044], al
mov dword [esi + 0x1040], 0
jmp 0x4413f2
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441313
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne dl
mov byte [esi + 0x1044], dl
mov dword [esi + 0x1040], 0
jmp 0x4413f2
push 0x800
push ebx
push esi
call fcn.0047ef70
push 0x800
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00460500
mov ecx, dword [esp + 0x2c]
push 1
push 0
push 0
push ecx
call fcn.004c13d0
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x18]
adc edx, ebx
mov dword [esi + 0x1000], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1004], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1028], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1008], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x102c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1034], eax
mov dword [esi + 0x1030], edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x24]
mov dword [esi + 0x1038], ecx
push eax
lea ecx, [esi + 0x1010]
mov dword [esi + 0x103c], edx
call fcn.004820b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x1018]
call fcn.004820b0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x1020]
call fcn.004820b0
test dword [esp + 0x10], 0x400
je 0x4413e4
cmp dword [esp + 0x34], 0xa0000003
jne 0x4413e4
lea eax, [ebx + 1]
jmp 0x4413e6
xor eax, eax
mov byte [esi + 0x100e], al
mov dword [esi + 0x1040], ebx
mov ecx, dword [esp + 0x1260]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1254
ret 0xc
Function at 0x443ce0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x443d5b
cmp eax, 0x40
jbe 0x443d09
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0047ddf0
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.004c16b0
add esp, 0xc
xor eax, eax
jmp 0x443d30
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x443d30
push edi
lea edi, [esi + 0x40]
push edi
call fcn.0047dd30
push edi
push 0x40
push esi
call fcn.0047dd70
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x443d72
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.0047dd70
pop esi
ret 0xc

Function at 0x443d80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x443dab
push esi
push 0
push 0
call fcn.00443ce0
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0047ddf0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x443dc0
push edi
call fcn.0047dd30
push edi
push 0x40
push esi
call fcn.0047dd70
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.0047dd70
push edi
lea edx, [esp + 0x10]
push edx
call fcn.0047ddf0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x443e0c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004c1de0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x18
ret 0xc