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

Disassembly:
push 0xffffffffffffffff
push 0x4d3e5b
mov eax, dword fs:[0]
push eax
mov eax, 0x5028
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x5024], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb0b4]
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 0x43b102
cmp eax, 0x800
jae 0x43b102
push 0x800
lea ecx, [esp + 0x3038]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x43b102
cmp eax, 0x800
jae 0x43b102
lea edx, [esp + 0x2034]
push edx
call fcn.00460620
mov ebx, eax
lea eax, [esp + 0x3034]
push eax
call fcn.00460620
mov esi, eax
cmp word [esi], 0
je 0x43b102
push esi
push ebx
call fcn.00486fc0
test eax, eax
je 0x43b102
push esi
push edi
call fcn.00460620
push eax
call fcn.00486fc0
test eax, eax
jne 0x43b102
mov word [esp + 0x1034], ax
xor esi, esi
lea esp, [esp]
test ax, ax
jne 0x43b052
push 0x800
push edi
lea ecx, [esp + 0x103c]
push ecx
call fcn.0047f480
push esi
push str.rtmp_d
lea edx, [esp + 0x103c]
push edx
call fcn.00460620
push eax
mov edx, 0x800
call fcn.0041cb70
add esp, 0xc
lea eax, [esp + 0x1034]
push eax
call fcn.0043ccc0
test al, al
je 0x43b036
xor eax, eax
mov word [esp + 0x1034], ax
jmp 0x43b03e
mov ax, word [esp + 0x1034]
add esi, 0x7b
cmp esi, 0x2710
jl 0x43afe0
test ax, ax
je 0x43b102
push 0x800
push edi
lea ecx, [esp + 0x403c]
push ecx
call fcn.0047f480
push 0x800
push ebx
lea edx, [esp + 0x403c]
push edx
call fcn.004607f0
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 0x43b102
lea ecx, [esp + 0x10]
call fcn.0043b3a0
mov dword [esp + 0x5040], 0
push edi
xor bl, bl
call fcn.0043ccc0
test al, al
jne 0x43b0c2
push 9
push edi
lea ecx, [esp + 0x18]
call fcn.0043b560
mov bl, al
lea edx, [esp + 0x4034]
push edx
lea eax, [esp + 0x1038]
push eax
call esi
test bl, bl
je 0x43b0ea
lea ecx, [esp + 0x10]
call fcn.0043b690
lea ecx, [esp + 0x10]
call fcn.0043b6f0
mov dword [esp + 0x5040], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0043bab0
mov al, 1
jmp 0x43b104
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.004c1302
add esp, 0x5034
ret 4
Function at 0x43b790
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 0x43b955
mov eax, dword [esi + 0xc]
test eax, eax
je 0x43b7ce
sub eax, 1
je 0x43b7c3
sub eax, 1
jne 0x43b7ce
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebp
mov dword [esi + 4], eax
push edi
jmp 0x43b7f0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push ebp
push edi
jmp 0x43b7f0
mov ebx, dword [esp + 0x34]
jmp 0x43b7f0
cmp dword [esi + 0xc], 0
mov dword [esp + 0x10], 0
je 0x43b844
xor edi, edi
test ebx, ebx
jbe 0x43b869
mov eax, ebx
sub eax, edi
cmp eax, 0x4000
jb 0x43b814
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 0x43b869
add edi, 0x4000
cmp edi, ebx
jb 0x43b804
jmp 0x43b861
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 0x43b94f
cmp byte [esi + 0x14], 0
je 0x43b94f
cmp dword [esi + 0xc], 0
jne 0x43b94f
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.0043c390
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 0x43b8f4
ja 0x43b8bc
cmp dword [esp + 0x14], ebp
jbe 0x43b8f4
mov edi, dword [esp + 0x20]
mov edx, ebx
sub edx, ebp
mov ecx, edi
sbb ecx, eax
test ecx, ecx
jg 0x43b8f4
jl 0x43b8d3
cmp edx, 0xffffffff
ja 0x43b8f4
mov ecx, ebp
add ecx, ebx
adc eax, edi
mov dword [esp + 0x28], eax
js 0x43b8f4
jg 0x43b8e6
cmp ecx, 0xffffffff
jbe 0x43b8f4
lea eax, [esi + 0x1e]
push eax
mov ecx, 0x51ef08
call fcn.00433c30
push 0
lea eax, [esi + 0x1e]
push eax
mov ecx, 0x51ef08
call fcn.00433c80
test al, al
je 0x43b93f
mov eax, dword [esp + 0x10]
cmp eax, ebp
jae 0x43b7e0
test eax, eax
jbe 0x43b7e0
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 0x43b7e0
lea eax, [esi + 0x1e]
push eax
push 0
mov ecx, 0x51ef08
call fcn.00433ef0
pop edi
mov byte [esi + 8], 1
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x43bb60
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 0x43bb8c
cmp edi, 0x4e20
jbe 0x43bb81
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 0x43bc2e
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x43bbe0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x43bbc4
cmp eax, 3
jne 0x43bbe0
cmp edi, 0x4e20
jbe 0x43bbe0
push 0x4e20
push ebx
mov ecx, esi
call fcn.0043bb60
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp dword [esi + 0xc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x43bbfb
call ebp
cmp eax, 0x6d
jne 0x43bbfb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
cmp dword [esi + 0xc], 0
jne 0x43bc24
cmp edi, 0x8000
jbe 0x43bc24
call ebp
cmp eax, 0x21
jne 0x43bc24
push 0x8000
push ebx
mov ecx, esi
call fcn.0043bb60
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 0x43c300
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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.00460f70
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 0x43c366
cmp eax, 5
je 0x43c366
xor eax, eax
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 4
mov ecx, dword [esp + 0x1000]
xor ecx, esp
mov eax, 1
call fcn.004c1302
add esp, 0x1004
ret 4

Function at 0x43c390
Capabilities:
Get disk size

Disassembly:
mov eax, 0x101c
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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.004608c0
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 0x43c427
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
ja 0x43c427
push 1
push esi
push esi
push eax
call fcn.004c1a70
mov ecx, dword [esp + 4]
add eax, ecx
adc edx, esi
pop esi
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.004c1302
add esp, 0x101c
ret 4
mov ecx, dword [esp + 0x101c]
pop esi
xor ecx, esp
xor eax, eax
xor edx, edx
call fcn.004c1302
add esp, 0x101c
ret 4
Function at 0x43c450
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1210
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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.00460f70
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 0x43c554
mov ecx, 0x4d93c4
lea eax, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c4da
test dx, dx
je 0x43c4d6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c4da
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c4b4
xor eax, eax
jmp 0x43c4df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43c538
mov ecx, 0x4d93b8
lea eax, [esp]
jmp 0x43c4f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c516
test dx, dx
je 0x43c512
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c516
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c4f0
xor eax, eax
jmp 0x43c51b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43c538
xor eax, eax
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c1302
add esp, 0x1210
ret 4
mov eax, 1
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c1302
add esp, 0x1210
ret 4
mov ecx, dword [esp + 0x120c]
xor ecx, esp
xor al, al
call fcn.004c1302
add esp, 0x1210
ret 4

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

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43c621
push 0x800
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004618a0
test al, al
je 0x43c61f
lea ecx, [esp + 0xc]
push ecx
call ebx
jmp 0x43c621
mov eax, esi
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 4

Function at 0x43c640
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43c6a0
push 0x800
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004618a0
test al, al
je 0x43c6a0
push edi
lea ecx, [esp + 0x14]
push ecx
call ebp
test eax, eax
setne al
jmp 0x43c6a2
mov al, bl
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 8
Function at 0x43c6c0
Capabilities:
Move file

Disassembly:
mov eax, 0x2004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43c73e
push 0x800
lea eax, [esp + 0x1014]
push eax
push esi
call fcn.004618a0
test al, al
je 0x43c73e
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004618a0
test al, al
je 0x43c73e
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1014]
push eax
call ebp
test eax, eax
setne al
jmp 0x43c740
mov al, bl
mov ecx, dword [esp + 0x2010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x2004
ret 8

Function at 0x43c760
Capabilities:
Delete file

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43c7b6
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004618a0
test al, al
je 0x43c7b6
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43c7b8
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 4

Function at 0x43c7e0
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43c836
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004618a0
test al, al
je 0x43c836
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43c838
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 4

Function at 0x43cf30
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0x10], eax
jbe 0x43cf88
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 0x43d2f0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x43d34c
push esi
call fcn.0043c5d0
cmp eax, 0xffffffff
jne 0x43d368
push 0x800
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004618a0
test al, al
je 0x43d368
push 0
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x43d368
cmp byte [esp + 0x1014], 0
je 0x43d364
mov edx, dword [esp + 0x1018]
push edx
push esi
call fcn.0043c640
xor eax, eax
jmp 0x43d382
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43d37d
cmp eax, 3
mov eax, 1
jne 0x43d382
mov eax, 2
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 0xc
Function at 0x43ec40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004c23a7
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x43ec62
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 0x43ec91
cmp esi, ebp
ja 0x43ed52
jb 0x43ec91
cmp ebx, edi
jae 0x43ed52
call fcn.00453710
cmp byte [0x51ef10], 0
je 0x43eca8
cmp byte [0x534c20], 0
jne 0x43ed16
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x43eccd
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x43eccd
jb 0x43ecc7
cmp ecx, 0x4000
jae 0x43eccd
mov eax, edi
sub eax, ebx
jmp 0x43ecd2
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004c4965
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ed25
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004c3ee0
add esp, 0x10
cmp eax, esi
jne 0x43ed6b
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x43ec76
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.004c4691
add esp, 4
test eax, eax
je 0x43ed52
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c1aa4
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.004c1aa4
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.004c1aa4
mov eax, dword [0x5203e8]
add esp, 4
test eax, eax
je 0x43ed8e
push eax
push 0
mov ecx, 0x51ef08
call fcn.00433ec0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x43f480
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d40fb
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb0b4]
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 0x43f4fb
test dx, dx
je 0x43f4f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f4fb
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f4d5
xor eax, eax
jmp 0x43f500
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43f6a3
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.004c4184
add esp, 4
cmp word [esp + 0x103c], 0x5c
mov edi, eax
je 0x43f584
movzx eax, word [esi]
cmp ax, 0x5c
je 0x43f584
cmp word [ebp], 0x5c
je 0x43f584
movzx edx, ax
push edx
call fcn.004c4184
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004c4184
mov edx, dword [esp + 0x1c]
mov ecx, 0x3a
add esp, 8
cmp word [edx + 2], cx
je 0x43f574
mov esi, edi
cmp word [ebp + 2], cx
je 0x43f57c
mov eax, edi
cmp esi, eax
mov esi, edx
je 0x43f584
mov bl, 1
push ebp
call fcn.0043ccc0
test al, al
je 0x43f5dd
lea ecx, [esp + 0x18]
call fcn.0043b3a0
mov dword [esp + 0x2048], 0
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.0043b3e0
test al, al
je 0x43f61d
lea ecx, [esp + 0x18]
call fcn.0043b690
test al, al
je 0x43f61d
push ebp
call fcn.0043c760
test al, al
je 0x43f61d
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043bab0
test bl, bl
jne 0x43f5f5
push ebp
push esi
call fcn.0043c6c0
test al, al
sete al
test al, al
je 0x43f6a3
push 0x4d9470
push esi
call fcn.004c4548
mov edi, eax
add esp, 8
test edi, edi
jne 0x43f638
push esi
push eax
mov ecx, 0x51ef08
call fcn.00433e20
lea eax, [edi + 0xa]
jmp 0x43f6a5
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043bab0
mov eax, 0xf
jmp 0x43f6a5
push 0x4d9468
push ebp
call fcn.004c4548
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f65a
push edi
call fcn.004c3d02
add esp, 4
lea eax, [esi + 0xf]
jmp 0x43f6a5
push 0
mov ecx, 0x51ef08
call fcn.00433980
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.0043ec40
push edi
mov ebx, eax
call fcn.004c3d02
add esp, 4
push 1
mov ecx, 0x51ef08
call fcn.00433980
push esi
call fcn.004c3d02
add esp, 4
test eax, eax
jne 0x43f6cf
test ebx, ebx
jne 0x43f6cf
mov eax, dword [esp + 0x14]
push eax
call fcn.0043c760
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.004c1302
add esp, 0x2038
ret 8
push ebp
call fcn.0043c760
test ebx, ebx
je 0x43f6e0
mov eax, ebx
cmp ebx, 0xa
jne 0x43f6a5
mov eax, 0xe
jmp 0x43f6a5
Function at 0x441480
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, 0x1254
call fcn.004c1320
mov eax, dword [0x4eb0b4]
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 0x44152f
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 0x441563
push 0x800
lea ecx, [esp + 0x264]
push ecx
push ebx
call fcn.004618a0
test al, al
je 0x4414fc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x441563
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x441518
cmp eax, 3
je 0x441518
cmp eax, 0x12
je 0x441518
mov eax, 1
jmp 0x44151a
xor eax, eax
mov byte [esi + 0x1044], al
mov dword [esi + 0x1040], 0
jmp 0x441642
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441563
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 0x441642
push 0x800
push ebx
push esi
call fcn.0047f480
push 0x800
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004607f0
mov ecx, dword [esp + 0x2c]
push 1
push 0
push 0
push ecx
call fcn.004c1a70
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.004826e0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x1018]
call fcn.004826e0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x1020]
call fcn.004826e0
test dword [esp + 0x10], 0x400
je 0x441634
cmp dword [esp + 0x34], 0xa0000003
jne 0x441634
lea eax, [ebx + 1]
jmp 0x441636
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.004c1302
add esp, 0x1254
ret 0xc
Function at 0x444050
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x4440cb
cmp eax, 0x40
jbe 0x444079
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0047e300
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.004c1d50
add esp, 0xc
xor eax, eax
jmp 0x4440a0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4440a0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.0047e240
push edi
push 0x40
push esi
call fcn.0047e280
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4440e2
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.0047e280
pop esi
ret 0xc

Function at 0x4440f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4eb0b4]
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 0x44411b
push esi
push 0
push 0
call fcn.00444050
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0047e300
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x444130
push edi
call fcn.0047e240
push edi
push 0x40
push esi
call fcn.0047e280
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.0047e280
push edi
lea edx, [esp + 0x10]
push edx
call fcn.0047e300
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x44417c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004c2480
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x18
ret 0xc