joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e93bc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004090bc
xor eax, eax
push ebp
push 0x5e94c5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5e94a7
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 1
jne 0x5e9492
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5e9492
cmp dword [ebp - 8], 0
je 0x5e9492
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00409d9c
mov eax, dword [ebp - 0x24]
mov edx, 0x40
call fcn.00422f48
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
shl eax, 0x20
add eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x14], 0
jne 0x5e9463
cmp dword [ebp - 0x18], 0x800
je 0x5e9492
cmp dword [ebp - 0x14], 0
jne 0x5e9472
cmp dword [ebp - 0x18], 0x12c000
je 0x5e9492
cmp dword [ebp - 0x14], 0
jne 0x5e9481
cmp dword [ebp - 0x18], 0x168000
je 0x5e9492
cmp dword [ebp - 0x14], 0
jne 0x5e9490
cmp dword [ebp - 0x18], 0x2d0000
jne 0x5e94a7
lea eax, [ebp - 8]
call fcn.0040957c
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.005da4f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e94cc
lea eax, [ebp - 0x24]
call fcn.00408fc8
lea eax, [ebp - 8]
call fcn.00408fec
ret
Function at 0x5fee9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 1], al
xor eax, eax
mov al, byte [ebp - 1]
cmp dword [eax*4 + 0x695f64], 0
je 0x5feed9
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 1]
mov eax, dword [eax*4 + 0x695f64]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
not eax
test eax, eax
jne 0x5fef1d
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x5fef1d
mov eax, dword [0x6976f8]
cmp dword [eax], 0
je 0x5fef18
lea eax, [ebp - 8]
push eax
push 0
push 0
xor eax, eax
mov al, byte [ebp - 1]
add eax, eax
lea eax, [eax*8 + 0x696048]
push eax
mov eax, dword [0x6976f8]
mov eax, dword [eax]
call eax
mov dword [ebp - 0xc], eax
test byte [ebp - 9], 0x80
sete al
test al, al
jne 0x5fef1d
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x5fef1d
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x616604
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
cmp dword [ebp - 8], 0
je 0x616770
mov eax, dword [ebp - 8]
cmp byte [eax + 0x40], 0
je 0x61664c
call sub.kernel32.dll_GetCurrentThreadId
mov edx, dword [0x697be8]
cmp eax, dword [edx]
jne 0x616770
xor eax, eax
call fcn.004aadcc
jmp 0x616770
mov eax, dword [ebp - 8]
call fcn.004abaf8
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf], 0
je 0x616665
mov eax, dword [ebp - 8]
call fcn.00616204
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00616c8c
test al, al
je 0x616770
push 0xa
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetCurrentThreadId
mov edx, dword [0x697be8]
cmp eax, dword [edx]
jne 0x61669f
xor eax, eax
call fcn.004aadcc
test al, al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
add edx, dword [ebp - 0xc]
cmp eax, edx
jb 0x61666d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x616769
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00616ce8
test al, al
je 0x6166e6
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, ecx
call fcn.00498f40
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x61673d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [0x615644]
call fcn.00407598
test al, al
je 0x61672b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x50], 0
je 0x61672b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 8]
call fcn.0040735c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x616747
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x616770
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x616768
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 4]
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x617654
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x617686
cmp eax, 0x190
jae 0x61769a
jmp 0x617688
jge 0x61769a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
jg 0x617794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
push ebp
push 0x61778d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x28]
jge 0x6176d5
mov eax, dword [ebp - 4]
call fcn.006178a4
test eax, eax
je 0x6176d5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x6176df
call fcn.00408784
jmp 0x617794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
jl 0x6176ff
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.006179f0
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x74]
jge 0x617762
xor eax, eax
push ebp
push 0x617730
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x615644]
call fcn.00616fb4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x617762
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 4]
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6177c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00616218
test al, al
je 0x6177f0
mov eax, dword [ebp - 0xc]
call fcn.0040c804
jmp 0x61789e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c], 0
je 0x617809
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00617e50
jmp 0x617817
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00617d9c
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
jmp 0x61788e
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebp - 0x10]
jb 0x61783b
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x5c]
jbe 0x617845
mov eax, dword [ebp - 8]
call fcn.00617398
jmp 0x61789e
mov edx, 0x1f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call dword [ecx + 8]
add al, 0xfe
sub al, 2
jb 0x61789e
mov eax, dword [ebp - 8]
call fcn.00616218
test al, al
jne 0x61789e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c], 0
je 0x617880
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00617e50
jmp 0x61788e
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00617d9c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x617821
mov eax, dword [ebp - 4]
call fcn.00617654
mov esp, ebp
pop ebp
ret
Function at 0x62131c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x62134a
mov eax, ebx
call fcn.00621dd8
cmp dword [ebx + 0x40], 0
je 0x621343
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6213bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6213ad
cmp dword [ebx + 8], 0
je 0x62136c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x62137e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6213ad
cmp dword [ebx + 8], 0
je 0x62135f
cmp eax, 3
je 0x621391
dec eax
jne 0x62135f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x62135f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x62135f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6213d9
cmp dword [ebx + 0x14], 0xcc
je 0x6213d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006213e4
pop ebx
ret
Function at 0x635dd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x635f5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00409cc4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x635e4a
cmp dword [ebp - 4], 0
je 0x635e4a
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 8]
call fcn.00409e58
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00409cc4
push eax
mov eax, dword [ebp - 4]
call fcn.00409cc4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
jmp 0x635e55
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004093a8
call fcn.00425d08
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov edx, dword [0x697a04]
mov eax, 0x635f74
call fcn.00426cc4
mov al, byte [0x635f8c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x635f9c
call fcn.0042a03c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004093a8
call fcn.00425d08
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov edx, dword [0x697a04]
mov eax, 0x635fb8
call fcn.00426cc4
mov al, byte [0x635f8c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x635fd8
call fcn.0042a03c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.004093a8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x635ff4
call fcn.00436064
mov byte [ebp - 0x2d], al
cmp byte [ebp - 0x2d], 0
je 0x635f30
mov al, byte [0x635f8c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov al, 9
call fcn.00636010
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x635ff4
call fcn.0042a03c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.004093a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x635f62
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00409028
lea eax, [ebp - 0x2c]
call fcn.00408fc8
lea eax, [ebp - 0x1c]
call fcn.00408fc8
ret

Function at 0x63626c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20e]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
je 0x6362a2
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00409d80
jmp 0x6362af
mov eax, dword [ebp - 4]
mov edx, 0x6362c0
call fcn.004093a8
mov esp, ebp
pop ebp
ret
Function at 0x636314
Capabilities:
Get session integrity level

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6364bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [0x618714]
call fcn.0061aea0
test al, al
je 0x636353
mov byte [ebp - 5], 1
jmp 0x6364a1
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x63649a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0042365c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00429dc4
mov eax, dword [ebp - 0x2c]
call fcn.00409cc4
push eax
mov eax, dword [0x697728]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x636483
call sub.kernel32.dll_GetLastError
cmp eax, 0x52e
je 0x6363fd
cmp byte [0x8b3c98], 0
je 0x636483
call sub.shell32.dll_IsUserAnAdmin
test eax, eax
je 0x636483
mov edx, dword [ebp - 4]
mov eax, dword [0x618714]
call fcn.0061aaf8
test al, al
je 0x636483
mov eax, dword [ebp - 4]
call fcn.00636604
test al, al
je 0x636483
mov eax, dword [0x697bac]
mov eax, dword [eax]
cmp dword [eax + 0x70], 0
je 0x636475
call sub.kernel32.dll_GetCurrentThreadId
mov edx, dword [0x697be8]
cmp eax, dword [edx]
jne 0x636475
mov edx, dword [ebp - 4]
mov eax, dword [0x6353fc]
call fcn.00639570
test eax, eax
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x63646a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042365c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00429dc4
mov eax, dword [ebp - 0x34]
call fcn.00409cc4
push eax
mov eax, dword [0x697728]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x63646e
xor eax, eax
jmp 0x636470
mov al, 1
mov byte [ebp - 5], al
jmp 0x636483
call sub.kernel32.dll_GetLastError
cmp eax, 0x52e
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6364a1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6364c3
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00409028
ret
Function at 0x636604
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x63667f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [0x618714]
call fcn.0061ad40
test al, al
jne 0x636664
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0042365c
mov eax, dword [ebp - 0xc]
call fcn.00409cc4
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
je 0x636664
mov edx, dword [ebp - 4]
mov eax, dword [0x618714]
call fcn.0061aea0
test al, al
jne 0x636664
xor eax, eax
jmp 0x636666
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x636686
lea eax, [ebp - 0xc]
call fcn.00408fc8
ret

Function at 0x639174
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd34
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040c878
xor eax, eax
push ebp
push 0x639284
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 8], 0
je 0x63926e
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
test al, al
jne 0x63926e
mov dword [ebp - 0x14], 0x4008
cmp byte [ebp - 9], 1
jne 0x6391d3
or dword [ebp - 0x14], 0
jmp 0x6391d7
or dword [ebp - 0x14], 1
cmp byte [ebp + 8], 0
je 0x6391e1
or dword [ebp - 0x14], 2
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x639267
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x639231
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
call sub.shell32.dll_SHGetFileInfoW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x639247
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63926e
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63928b
lea eax, [ebp - 8]
call fcn.0040c804
ret
Function at 0x6393c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
mov dword [ebp - 4], eax
mov eax, dword [0x69750c]
cmp dword [eax], 0
je 0x63943f
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x88]
sub al, 1
jb 0x6393ef
je 0x6393f8
dec al
je 0x6393ff
dec al
je 0x639408
jmp 0x639421
mov dword [ebp - 0x10], 1
jmp 0x639426
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x639426
mov dword [ebp - 0x10], 2
jmp 0x639426
cmp byte [0x696f10], 0
je 0x63941a
mov dword [ebp - 0x10], 4
jmp 0x639426
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x639426
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x69776c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x69750c]
mov eax, dword [eax]
call eax
jmp 0x639499
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
jne 0x639473
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
mov eax, dword [0x8b3ca0]
call fcn.00409cc4
push eax
call sub.shell32.dll_SHGetFileInfoW
mov dword [ebp - 0xc], eax
jmp 0x639499
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
mov eax, dword [0x8b3ca0]
call fcn.00409cc4
push eax
call sub.shell32.dll_SHGetFileInfoW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0063951c
test al, al
jne 0x6394ae
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x6394bb
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0059bbc0
jmp 0x639518
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4f9ae0]
call fcn.0059b820
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x639511
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0059bb2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0059bbc0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0059cf9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639518
mov eax, dword [ebp - 8]
call fcn.0040735c
ret
mov esp, ebp
pop ebp
ret
Function at 0x402a00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, ecx
mov dword [ebx], 0
mov dword [eax], 0
mov eax, dword [esi + 0x14]
push edi
cmp eax, 1
jne 0x402a37
mov edx, dword [esi]
push 0
push 2
call dword [edx + 0x58]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret 8
mov eax, dword [esi]
mov ecx, esi
xor ebp, ebp
mov byte [esp + 0x14], 0
call dword [eax + 0x38]
test al, al
jne 0x402a65
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x2c]
push eax
mov ecx, esi
call dword [edi + 0x40]
mov ebp, eax
test ebp, ebp
jne 0x402b07
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x18]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402a89
mov edx, dword [esi]
mov ebp, 8
push 0
push ebp
mov ecx, esi
call dword [edx + 0x58]
jmp 0x402af9
push edi
call fcn.00406f69
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax], edi
mov eax, dword [ebx]
test eax, eax
je 0x402aea
test edi, edi
jbe 0x402af9
mov edx, dword [ebx]
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x18]
push 0
push ecx
push edi
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402ada
mov edx, dword [esi]
mov ebp, 4
push 1
push ebp
mov ecx, esi
call dword [edx + 0x58]
test al, al
je 0x402af9
xor ebp, ebp
mov eax, dword [esp + 0x18]
sub edi, eax
test eax, eax
je 0x402af9
test edi, edi
ja 0x402aa4
jmp 0x402af9
mov eax, dword [esi]
mov ebp, 7
push 0
push ebp
mov ecx, esi
call dword [eax + 0x58]
cmp byte [esp + 0x14], 1
jne 0x402b07
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 8
Function at 0x402eb0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ecx
mov eax, ecx
push ebx
push ebp
push esi
lea edx, [eax + 4]
push edi
mov ebp, dword [esp + 0x18]
mov ecx, 0x12
mov esi, 0x4102e0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x4c]
mov ecx, 0x12
mov esi, 0x4102e0
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x400
mov esi, 0x410328
lea edi, [eax + 0x94]
test ebp, ebp
rep movsd dword es:[edi], dword [esi]
je 0x403002
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x403002
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x12
mov eax, ecx
cdq
idiv ebx
xor eax, eax
inc ecx
mov al, byte [edx + ebp]
mov edi, eax
mov eax, ecx
cdq
idiv ebx
xor eax, eax
shl edi, 8
mov al, byte [edx + ebp]
mov esi, eax
or esi, edi
inc ecx
mov eax, ecx
cdq
idiv ebx
xor eax, eax
shl esi, 8
mov al, byte [edx + ebp]
mov edi, eax
or edi, esi
inc ecx
mov eax, ecx
cdq
idiv ebx
xor eax, eax
shl edi, 8
mov al, byte [edx + ebp]
mov edx, dword [esp + 0x18]
or eax, edi
inc ecx
mov edi, dword [edx]
add edx, 4
xor edi, eax
mov eax, dword [esp + 0x1c]
mov dword [edx - 4], edi
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jne 0x402f13
mov ecx, dword [esp + 0x10]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea esi, [ecx + 4]
lea edi, [ebx + 0x90]
mov ebp, 9
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebx
call fcn.00403200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi], eax
add esi, 4
sub edi, 4
mov dword [esi], ecx
mov dword [edi + 4], eax
mov dword [edi], ecx
add esi, 4
sub edi, 4
dec ebp
jne 0x402f8f
lea esi, [ebx + 0x98]
mov ebp, 4
mov edi, 0x80
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.00403200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x402fd0
dec ebp
jne 0x402fcb
pop edi
pop esi
mov byte [ebx], 1
pop ebp
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
mov byte [eax], 0
pop ebx
pop ecx
ret 8