joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005d9e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [esi], eax
mov eax, 0x2001f
lea ebx, [ebp - 0x14]
mov byte [ebp - 1], 1
call fcn.10005efc
test eax, eax
je 0x10005df8
xor bl, bl
lea esi, [ebp - 0x14]
call fcn.10005f4e
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.10002ace
pop esi
mov al, bl
pop ebx
leave
ret 0xc
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 8], 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005e24
cmp dword [ebp - 8], 4
jne 0x10005e24
test eax, eax
je 0x10005e28
mov byte [ebp - 1], 0
lea esi, [ebp - 0x14]
call fcn.10005f4e
mov bl, byte [ebp - 1]
jmp 0x10005dd2

Function at 0x10005e35
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005e99
cmp dword [ebp + 0xc], 1
je 0x10005e71
cmp dword [ebp + 0xc], 2
je 0x10005e71
push 0xd
pop eax
jmp 0x10005e99
mov eax, dword [ebp - 4]
test edi, edi
je 0x10005e93
test eax, eax
je 0x10005e8e
test al, 1
jne 0x10005e6c
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10005e93
jmp 0x10005e6c
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x10006646
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10006678
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x10019174
call fcn.1001504a
and dword [ebp - 0x42c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x428]
push eax
push 0
push 0x1001dfb0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x428]
push ecx
push eax
call fcn.100030ea
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.100026f3
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10006646
pop ecx
pop ecx
test eax, eax
je 0x10006708
push 0x1001d3c0
jmp 0x1000670d
push 0x1001df84
push edi
call fcn.100030ea
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, edi
call fcn.10015094
ret
Function at 0x10006726
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0x428
mov eax, 0x10019139
call fcn.1001504a
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], ebx
lea eax, [ebp - 0x428]
push eax
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x1001dfb8
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.100030ea
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x434], esp
mov esi, esp
call fcn.100026f3
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10006646
pop ecx
pop ecx
cmp eax, ebx
je 0x100067cf
push 0x1001d3c0
push edi
call fcn.100030ea
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, edi
jmp 0x10006844
lea eax, [ebp - 0x21c]
push 0x1001d4d0
push eax
call fcn.10007f8d
push 2
mov esi, eax
push ebx
push esi
call fcn.1000858e
push esi
call fcn.1000879e
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.10007436
push ebx
push ebx
push esi
mov dword [ebp - 0x42c], eax
call fcn.1000858e
push esi
push 1
push edi
push dword [ebp - 0x42c]
call fcn.10008a4d
push esi
call fcn.100080ca
add esp, 0x3c
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
call fcn.1000238f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002ace
mov eax, dword [ebp - 0x430]
call fcn.10015094
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100069c3
test al, 0x10
jne 0x100069c3
mov bl, 1
jmp 0x100069c5
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002ace
mov al, bl
pop ebx
pop ebp
ret

Function at 0x1000744c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100210b0]
jne 0x10007456
repz ret
jmp fcn.1000978a
Function at 0x100135a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100210b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000aa33
and dword [ebp - 0x14], 0
cmp dword [0x10023124], 0
mov dword [ebp - 0x18], eax
jne 0x1001365b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10013703
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10013703
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10023124], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10023128], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002312c], eax
call edi
push eax
call esi
mov dword [0x10023134], eax
test eax, eax
je 0x1001365b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10023130], eax
mov eax, dword [0x10023130]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100136b4
cmp dword [0x10023134], ecx
je 0x100136b4
push eax
call esi
push dword [0x10023134]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100136b4
test ebx, ebx
je 0x100136b4
call edi
test eax, eax
je 0x100136ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100136ab
test byte [ebp - 8], 1
jne 0x100136b4
or dword [ebp + 0x10], 0x200000
jmp 0x100136e7
mov eax, dword [0x10023128]
cmp eax, dword [ebp - 0x18]
je 0x100136e7
push eax
call esi
test eax, eax
je 0x100136e7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100136e7
mov eax, dword [0x1002312c]
cmp eax, dword [ebp - 0x18]
je 0x100136e7
push eax
call esi
test eax, eax
je 0x100136e7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10023124]
call esi
test eax, eax
je 0x10013703
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10013705
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000744c
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x590a6245
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x77744510
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x44f7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x44f805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x44f878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x44f83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x44f86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x44f86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x44f831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x44f7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x2469058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x24691a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x246907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x246906a
add dl, dl
jne 0x2469089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x24690dc
xor eax, eax
add dl, dl
jne 0x2469096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x246917d
add dl, dl
jne 0x24690a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24690b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24690bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24690c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x24690d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2469075
mov eax, 1
add dl, dl
jne 0x24690ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24690f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x24690e1
sub eax, ebx
mov ebx, 1
jne 0x2469128
mov ecx, 1
add dl, dl
jne 0x246910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2469119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2469105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2469075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x246913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x246914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2469136
cmp eax, 0x7d00
jae 0x246916d
cmp eax, 0x500
jb 0x2469168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2469075
cmp eax, 0x7f
ja 0x2469170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2469075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x246919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2469075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x407550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40755f
pop dword [ebp - 0x40]
mov eax, 0x76bc1301
add eax, 0x8984625e
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3c04e
push 0
mov eax, 0x6b6547ee
add eax, 0x94db9932
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xc76750
sub ecx, 0xc715f3
xor ebx, ebx
add ebx, eax
mov esi, 0xea576cc7
add esi, 0x15ea0b39
add esi, dword [ebp - 0x40]
mov edi, 0x68e140f7
xor dword [ebp - 0x24], edi
mov edx, dword [esi]
sub dword [ebp - 0x24], 0x90d4611f
xor edx, edi
sub dword [ebp - 0x18], edi
mov dword [ebx], edx
mov dword [ebp - 0x28], 0x8e007257
add ebx, 4
add esi, 0xb6f9ce3c
sub esi, 0xb6f9ce38
loop 0x4075ba
add eax, 0x13847
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x416eb0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d75
mov dword [ebp - 0x14], eax
cmp dword [0x449700], esi
jne 0x416fa3
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417083
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417083
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417083
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x449700], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x449704], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x449708], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x449710], eax
test eax, eax
je 0x416fa0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44970c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416fc8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416fbb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416fdd
push 4
pop eax
jmp 0x417085
cmp dword [ebp - 0x14], esi
je 0x416fdd
push dword [0x449700]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416fc2
mov eax, dword [0x44970c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41703b
cmp dword [0x449710], edi
je 0x41703b
push eax
call ebx
push dword [0x449710]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41703b
test eax, eax
je 0x41703b
call ecx
test eax, eax
je 0x417030
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x417030
test byte [ebp - 8], 1
jne 0x41703b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41706b
mov eax, dword [0x449704]
cmp eax, edi
je 0x417068
push eax
call ebx
test eax, eax
je 0x417068
call eax
mov esi, eax
test esi, esi
je 0x417068
mov eax, dword [0x449708]
cmp eax, edi
je 0x417068
push eax
call ebx
test eax, eax
je 0x417068
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x449700]
call ebx
test eax, eax
je 0x417083
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417085
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406fa0
mov esp, ebp
pop ebp
ret
Function at 0x401920
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x5c
mov eax, dword [0x422f80]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
mov esi, ecx
cmp dword [esi + 0x1548], 0
je 0x4019eb
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea edx, [esi + 0x15c4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esi + 0x1504], eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
mov ecx, edx
mov edx, dword [esi + 0x1504]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [esi + 0x1504]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0xe]
push eax
movzx eax, word [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push str._02d:_02d:_02d__d
push ecx
call fcn.0040a5ea
add esp, 0x18
mov ecx, dword [esp + 0x5c]
pop esi
xor ecx, esp
call fcn.0040a665
add esp, 0x5c
ret
Function at 0x401e90
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x119fc], edx
lea edx, [esi + 0x119f0]
push edx
push 0
push esi
push 0x401e60
mov dword [esi + 0x11a04], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x119f8], ecx
mov ecx, dword [esp + 0x1c]
push 0x2000
push 0
mov dword [esi + 0x11a00], eax
mov dword [esi + 0x119f4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x119ec], eax
pop esi
ret 0x14

Function at 0x401ef0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push 0x100
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401f43
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x401f43
mov ecx, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x4036c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call fcn.00408ff0
cmp eax, dword [esi + 0x2004]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jge 0x4036ed
mov eax, dword [esi + 0x2008]
mov ecx, dword [esi + eax*4 + 4]
push edi
push ecx
call ebx
jmp 0x4036ef
xor eax, eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov ecx, esi
call fcn.00408ff0
cmp eax, dword [esi + 0x2004]
jge 0x403718
mov edx, dword [esi + 0x2008]
mov eax, dword [esi + edx*4 + 4]
push edi
push eax
call ebx
jmp 0x40371a
xor eax, eax
pop edi
pop esi
pop ebx
mov dword [esp + 4], eax
jmp dword [sym.imp.USER32.dll_UpdateWindow]

Function at 0x403730
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call fcn.00408ff0
cmp eax, dword [esi + 0x2004]
jne 0x403750
pop edi
mov eax, 0x41d666
pop esi
ret 4
push edi
mov ecx, esi
call fcn.00408ff0
cmp eax, dword [esi + 0x2004]
jge 0x403774
mov eax, dword [esi + 0x2008]
mov ecx, dword [esi + eax*4 + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x403776
xor eax, eax
push 0xff
lea edi, [esi + 0x2010]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
mov ecx, esi
call fcn.00408f30
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x404aa0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x4244ac]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
add ecx, 0x314
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [esp]
imul edx, dword [esp + 4]
test edx, edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jge 0x404ae4
fadd qword [0x41d6d8]
mov eax, dword [esp + 8]
fild dword [esp + 8]
test eax, eax
jge 0x404af6
fadd qword [0x41d6d8]
fmulp st(1)
fst qword [0x4244b0]
add esp, 0x10
ret
Function at 0x4071d0
Capabilities:
Accept command line arguments
Create process on windows
Set current directory

Disassembly:
sub esp, 0x258
mov eax, dword [0x422f80]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x264]
test eax, eax
push ebx
push esi
mov ecx, 8
push edi
mov edi, dword [esp + 0x268]
mov dword [0x4244bc], ecx
je 0x40720f
cmp byte [eax], 0x38
jne 0x40720f
mov dword [0x4244bc], ecx
mov dword [0x4244b8], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea edx, [esp + 0x60]
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x407220
cmp byte [esp + 0x60], 0x22
jne 0x40724c
lea eax, [esp + 0x61]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax - 1], cl
add eax, 1
test cl, cl
jne 0x407240
lea eax, [esp + 0x60]
push 0x22
push eax
call fcn.0040aca0
add esp, 8
test eax, eax
je 0x407262
mov byte [eax], 0
lea ecx, [esp + 0x60]
push 0x5c
push ecx
call fcn.0040ad60
add esp, 8
test eax, eax
je 0x407278
mov byte [eax], 0
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x104
call fcn.0040b684
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
add esp, 4
test esi, esi
je 0x4072c9
push 0x41d650
push str.Trace
call fcn.0040b381
push 0x41d634
push eax
mov dword [esi], eax
call fcn.0040b3c3
mov eax, dword [esi]
push eax
call fcn.0040ae00
add esp, 0x14
push 0x14
call ebx
jmp 0x4072cb
xor esi, esi
cmp dword [0x4244bc], 6
mov dword [0x424508], esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamA]
jne 0x4072f1
push 0
push 0x4060a0
push 0
push str.DEVS6CFG
push edi
call esi
cmp dword [0x4244bc], 8
jne 0x40730b
push 0
push 0x4060a0
push 0
push str.DEVS8CFG
push edi
call esi
mov ecx, dword [0x4244a8]
test ecx, ecx
je 0x407334
cmp dword [ecx + 0x90], 0
je 0x407334
mov ecx, dword [0x424508]
push 0x41d9d4
call fcn.00403310
mov ecx, dword [0x4244a8]
mov eax, dword [0x4244ac]
test eax, eax
je 0x40734c
push eax
call fcn.0040b621
mov ecx, dword [0x4244a8]
add esp, 4
test ecx, ecx
je 0x407360
mov esi, ecx
call fcn.00407420
push esi
call fcn.0040b621
add esp, 4
mov eax, dword [0x424508]
test eax, eax
je 0x407372
push eax
call fcn.0040b621
add esp, 4
cmp dword [0x42450c], 0
je 0x4073d2
push 0x3e8
call ebx
push 0x44
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0040a8a0
add esp, 0xc
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], 1
mov word [esp + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040a665
add esp, 0x258
ret 0x10