joyce8/EMBER2024-capa huggingface dataset:
Function at 0x611f18
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov edx, ebx
mov eax, dword [0x755ba4]
call fcn.0041fbf8
inc eax
je 0x611fc9
mov edx, ebx
mov eax, dword [0x755ba4]
call fcn.0041fd3c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x120]
mov byte [0x7517b4], 1
mov dword [0x755b98], ebx
xor eax, eax
push ebp
push 0x611fc2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, ebx
call fcn.0045bf3c
call fcn.0060dbd8
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.00473994
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x11c]
mov eax, ebx
call fcn.0045c240
test al, al
je 0x611fad
call sub.user32.dll_GetCapture
mov edx, eax
mov cl, 1
mov eax, ebx
call fcn.0060d690
test al, al
je 0x611fad
xor eax, eax
call fcn.004526e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x611fc9
mov byte [0x7517b4], 0
ret
pop ebx
pop ebp
ret
Function at 0x680d74
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, dword [ebp + 8]
mov esi, dword [esi - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x34]
mov eax, dword [ebp + 8]
mov al, byte [eax - 1]
call fcn.00681558
mov ebx, eax
mov dl, 1
mov eax, dword [0x42ba1c]
call fcn.004327a4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x680ec4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esi + 8]
sub edx, dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
cdq
idiv ecx
imul ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub ebx, eax
sar ebx, 1
jns 0x680e2d
adc ebx, 0
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041e41c
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
call fcn.00432d6c
push eax
mov eax, dword [ebp - 4]
call fcn.00432d6c
pop ecx
pop edx
call fcn.0042d75c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x34], 3
setne al
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
call fcn.0042c508
push eax
push 0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0061abc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x680ecb
mov eax, dword [ebp - 4]
call fcn.00403d90
ret

Function at 0x695e68
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
je 0x695ec4
xor eax, eax
push ebp
push 0x695ebd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x695ec4
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0045bf3c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
call fcn.00695f24
ret
pop ecx
pop ebp
ret
Function at 0x6c30a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6c3111
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x751e64]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x6c30fb
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.006c3098
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6c18c0]
call fcn.006c3f60
mov dword [0x751ecc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c3118
lea eax, [ebp - 8]
call fcn.00406f9c
ret

Function at 0x6c31b0
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x6c31c3
or esi, 2
test dl, dl
je 0x6c31cc
or esi, 0
jmp 0x6c31cf
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x6c3dec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405110
xor eax, eax
push ebp
push 0x6c3f44
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x6c16a8]
call fcn.0041b408
test eax, eax
jl 0x6c3e53
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.006c3194
and eax, 0x7f
mov eax, dword [eax*4 + 0x751e64]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x6c3eb6
mov eax, dword [ebx]
call fcn.00404f28
test eax, eax
jle 0x6c3eb6
mov eax, dword [ebx]
call fcn.00404f28
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x6c3e7a
mov eax, ebx
mov edx, 0x6c3f5c
call fcn.00404f30
mov eax, dword [ebx]
call fcn.00404f28
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405e78
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.006c3098
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x6c3f01
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x752ba0]
call fcn.00407484
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040b84c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404cb4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x408f44]
call fcn.0040eb50
call fcn.00404620
mov eax, dword [ebp - 8]
call fcn.006c3d64
mov ebx, eax
test edi, edi
je 0x6c3f16
mov eax, edi
call fcn.00403d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c3f4b
lea eax, [ebp - 0x1c]
call fcn.00404c60
lea eax, [ebp - 0x18]
call fcn.00406f9c
lea eax, [ebp - 0x14]
call fcn.00404c60
lea eax, [ebp - 4]
call fcn.00404c60
ret
Function at 0x6c5644
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6c57ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00474fdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004a06c4
xor edx, edx
push ebp
push 0x6c5791
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6c5701
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406f9c
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.006c37ac
push eax
mov eax, dword [0x7534c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x6c56f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004046cc
jmp 0x6c5798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c573d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004a02a4
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.006c54d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x6c5719
push 0
mov edx, 0x6c546c
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0049fe4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c5798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004a0710
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.00474fdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c57b5
lea eax, [ebp - 0x10]
call fcn.00406f9c
ret
Function at 0x6ce6d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6ce815
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x479624]
call fcn.00479790
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6ce7f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0047986c
call fcn.0053aeac
test al, al
je 0x6ce734
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x20106
jmp 0x6ce73e
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x20206
mov cl, 1
mov edx, 0x6ce82c
mov eax, dword [ebp - 4]
call fcn.004799b0
test al, al
je 0x6ce763
mov ecx, 0x6ce860
mov edx, 0x6ce874
mov eax, dword [ebp - 4]
call fcn.00479b4c
mov eax, dword [ebp - 4]
call fcn.0047983c
mov cl, 1
mov edx, 0x6ce884
mov eax, dword [ebp - 4]
call fcn.004799b0
test al, al
je 0x6ce7e2
mov eax, 0xff
call fcn.00402868
mov esi, eax
push 0xff
push esi
call sub.kernel32.dll_GetSystemDirectoryA
mov ecx, dword [ebx + 0x350]
mov edx, 0x6ce8ac
mov eax, dword [ebp - 4]
call fcn.00479b4c
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040b2d0
lea eax, [ebp - 8]
mov edx, 0x6ce8c0
call fcn.00404f30
mov ecx, dword [ebp - 8]
mov edx, 0x6ce8d8
mov eax, dword [ebp - 4]
call fcn.00479b4c
mov ecx, dword [ebx + 0x354]
mov edx, 0x6ce8e8
mov eax, dword [ebp - 4]
call fcn.00479b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ce7ff
mov eax, dword [ebp - 4]
call fcn.00403d90
ret
Function at 0x6ec83c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6ec9ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
add eax, dword [edx + 0xc8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call fcn.0042cba8
mov ebx, eax
neg ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fild dword [eax + 0x124]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fmul qword [eax + 0x80]
call fcn.00402e18
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
xor edx, edx
mov dword [eax + 0x108], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0xc], eax
cmp byte [0x756788], 0
jne 0x6ec946
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x6ec946
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call fcn.0042dd0c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x10]
cmp eax, edx
jle 0x6ec946
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x5b
jne 0x6ec946
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov dword [eax + 0x110], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x6ec983
inc ebx
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.006ec45c
pop ecx
test al, al
jne 0x6ec983
inc esi
dec ebx
jne 0x6ec95e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x110], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ec9b4
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c84
ret
Function at 0x6ecbf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6ecd08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call fcn.006e5fd8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call fcn.0042ded0
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
add eax, dword [edx + 0xc4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call fcn.0042cba8
mov ebx, eax
neg ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fild dword [eax + 0x124]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fmul qword [eax + 0x78]
call fcn.00402e18
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
xor edx, edx
mov dword [eax + 0x108], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x6eccd1
inc ebx
xor esi, esi
push ebp
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.006ec9bc
pop ecx
inc esi
dec ebx
jne 0x6eccb0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call fcn.0042ded0
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ecd0f
lea eax, [ebp - 0x14]
call fcn.00404c60
ret
Function at 0x6ecfbc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6ed0fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xa0]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebx + 0x9c]
xor edx, edx
xor eax, eax
call fcn.0041e41c
lea edx, [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, 1
mov edx, dword [ebp - 4]
mov eax, 0x6ed114
call fcn.00405264
test eax, eax
je 0x6ed03f
jmp 0x6ed033
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 1
jne 0x6ed032
lea eax, [ebp - 4]
mov ecx, 1
mov edx, esi
call fcn.004051c0
jmp 0x6ed033
inc esi
mov eax, dword [ebp - 4]
call fcn.00404f28
cmp esi, eax
jl 0x6ed017
mov eax, dword [ebp - 4]
call fcn.00404f28
cmp eax, 2
jle 0x6ed06d
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 2], 0xd
jne 0x6ed06d
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0xa
jne 0x6ed06d
mov edx, eax
sub edx, 2
lea eax, [ebp - 4]
call fcn.004052ac
mov edx, dword [ebx + 0x30]
mov eax, ebx
call fcn.006eb91c
fild dword [ebx + 0x128]
fmul qword [ebx + 0x78]
call fcn.00402e18
push eax
mov eax, dword [ebx + 0x30]
call fcn.0042ded0
push eax
call sub.gdi32.dll_SetTextCharacterExtra
push 0xc00
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f28
push eax
mov eax, dword [ebp - 4]
call fcn.00405120
push eax
mov eax, dword [ebx + 0x30]
call fcn.0042ded0
push eax
call sub.user32.dll_DrawTextA
fild dword [ebp - 0xc]
fdiv qword [ebx + 0x78]
fadd dword [ebx + 0xa8]
mov eax, dword [ebx + 0xc4]
add eax, eax
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
faddp st(1)
fadd dword [0x6ed118]
call fcn.00402e18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ed103
lea eax, [ebp - 4]
call fcn.00404c60
ret
Function at 0x73ab04
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x73ab48
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.0040b2d0
add esp, 0x200
pop ebx
ret
Function at 0x4120a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186c0], 0
push ebx
push esi
mov esi, 0x4186c8
jne 0x4120ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186e0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186c0], 1
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41216b
push 0x14
push 8
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412195
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186c4]
test eax, eax
je 0x412110
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186c4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41219a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x41804c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412195
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40b3b8
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x424], 0x400
mov al, byte [0x52dc04]
mov byte [ebp - 0x418], al
xor ecx, ecx
mov dword [ebp - 0x417], ecx
mov dword [ebp - 0x413], ecx
mov byte [ebp - 0x40f], cl
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x420], 0
push 4
push 0
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x424]
push eax
push 0
lea ecx, [ebp - 0x404]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x404]
push edx
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 4
jl 0x40b5c2
mov ecx, dword [ebp - 0x408]
sub ecx, 4
mov dword [ebp - 0x408], ecx
mov edx, dword [ebp - 0x408]
lea eax, [ebp + edx - 0x404]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
mov byte [ebp + eax - 0x419], 0
movsx ecx, byte [ebp - 0x418]
cmp ecx, 0x61
je 0x40b4ce
movsx edx, byte [ebp - 0x418]
cmp edx, 0x41
je 0x40b4ce
movsx eax, byte [ebp - 0x418]
cmp eax, 0x62
je 0x40b4ce
movsx ecx, byte [ebp - 0x418]
cmp ecx, 0x42
jne 0x40b4d3
jmp 0x40b446
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x40b508
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x40b508
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
jne 0x40b50d
jmp 0x40b446
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x428], eax
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x41c], 0x158
jne 0x40b563
cmp dword [ebp - 0x430], 1
je 0x40b568
jmp 0x40b446
lea edx, [ebp - 0x418]
push edx
mov ecx, dword [ebp - 0x434]
call fcn.0040b25d
test eax, eax
jne 0x40b5bd
movsx eax, word [ebp + 8]
cmp eax, dword [ebp - 0x420]
jne 0x40b5ae
push 0x45650c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor eax, eax
jmp 0x40b5c7
mov ecx, dword [ebp - 0x420]
add ecx, 1
mov dword [ebp - 0x420], ecx
jmp 0x40b446
mov eax, 0xffffffa4
mov esp, ebp
pop ebp
ret 8