joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420450
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4204ed
push ebx
push esi
call fcn.00420419
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041f09e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42049a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4204ec
push edi
push eax
call fcn.00419b87
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4204ba
call fcn.0041899f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4204eb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041f09e
add esp, 0x20
test eax, eax
jne 0x4204d9
push edi
call fcn.0041899f
jmp 0x4204e1
push ebx
call fcn.0041899f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x427c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x427c7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x427c7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x429c80
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x431e90
mov ebx, ecx
call fcn.00401210
push 8
call fcn.0040afd6
push 4
mov esi, eax
call fcn.0040afd6
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x407690
push 0
push 0
mov dword [eax], 0x429c50
call fcn.0040f7dc
add esp, 0x28
mov dword [esi], eax
test eax, eax
je 0x429d03
cmp dword [edi], 0
je 0x429d10
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x429d17
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040a7f2
add esp, 0xc
test eax, eax
jne 0x429d1e
mov dword [esi + 4], eax
mov dword [esi], eax
cmp dword [edi], eax
jne 0x429d25
push 8
push esi
call fcn.0040b006
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.004079d4
push 1
call fcn.004079d4
push 5
call fcn.004079d4
push 2
call fcn.004079d4
call fcn.0041215b
int3
Function at 0x1655058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.016551a8
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 0x165507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x165506a
add dl, dl
jne 0x1655089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16550dc
xor eax, eax
add dl, dl
jne 0x1655096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x165517d
add dl, dl
jne 0x16550a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16550b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16550bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16550c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16550d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1655075
mov eax, 1
add dl, dl
jne 0x16550ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16550f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16550e1
sub eax, ebx
mov ebx, 1
jne 0x1655128
mov ecx, 1
add dl, dl
jne 0x165510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1655119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1655105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1655075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x165513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x165514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1655136
cmp eax, 0x7d00
jae 0x165516d
cmp eax, 0x500
jb 0x1655168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1655075
cmp eax, 0x7f
ja 0x1655170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1655075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x165519e
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 0x1655075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403cf1
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x1c
mov eax, 0x51c337
call fcn.004e2876
mov edi, dword [ebp + 0x410]
mov esi, ecx
mov ecx, dword [esi + 0x324]
lea eax, [ebp - 0x10]
push eax
call fcn.0041447a
push dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004a5ec0
test al, al
pop ecx
je 0x403e1a
push dword [ebp - 0x10]
call fcn.004a59f0
test al, al
pop ecx
je 0x403e0e
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00403a5b
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
je 0x403d21
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 2
cmp eax, 1
jne 0x403d21
push edi
call fcn.00401b86
test eax, eax
pop ecx
je 0x403cd5
push edi
push str.The_following_file_already_exists_n_s_nOverwrite_the_file_
push 4
call fcn.00459fb0
add esp, 0xc
cmp eax, 7
je 0x403e04
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040179e
push dword [eax]
mov ecx, esi
push edi
call fcn.00401edc
test al, al
je 0x403e04
push ebx
push 4
push str.Would_you_like_to_view_the_new_video_clip_
call fcn.004c26b2
cmp eax, 6
jne 0x403e04
push 1
mov eax, 0x52db7c
push eax
push eax
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x403e04
lea eax, [ebp]
push eax
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x200]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004e3809
add esp, 0x14
cmp dword [ebp - 0x20], 0
je 0x403e04
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 2
cmp ebx, eax
jae 0x403e04
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040179e
push dword [eax]
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00403142
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0x200]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x300]
push eax
mov byte [ebp - 4], 2
call fcn.004e35fb
lea eax, [ebp + 0x300]
push eax
call fcn.00401b86
add esp, 0x18
test eax, eax
je 0x403dc7
push edi
push str.The_following_file_already_exists_n_s_nOverwrite_the_file_
push 3
call fcn.00459fb0
add esp, 0xc
cmp eax, 2
je 0x403df9
cmp eax, 7
je 0x403de4
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040179e
push dword [eax]
lea eax, [ebp + 0x300]
push eax
mov ecx, esi
call fcn.00401edc
test al, al
je 0x403df9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401161
inc ebx
jmp 0x403d40
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401161
lea ecx, [ebp - 0x24]
call fcn.00402847
jmp 0x403e1a
push ebx
push ebx
push str.The_application_is_unable_to_save_a_clip_from_the_source_video_because_the_format_of_the_source_video_file_is_not_currently_supported.
call fcn.004c26b2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401161
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004e2867
add ebp, 0x408
leave
ret 4
Function at 0x4048ec
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x278]
push edi
call fcn.004e29d0
test eax, eax
pop ecx
je 0x404927
push edi
call fcn.004e3e28
pop ecx
mov byte [edi], 0
lea eax, [ebp + 0x88]
push str.write.exe
push eax
call fcn.004e3d30
pop ecx
pop ecx
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push 0
push 0x52e778
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x2e
push edi
call fcn.004e3860
test eax, eax
pop ecx
pop ecx
je 0x404976
push str..rtf
push eax
call fcn.004e3d30
pop ecx
pop ecx
lea eax, [ebp + 0x88]
push edi
push eax
call fcn.004e3d40
push 0x52e76c
push edi
call fcn.004e3d1b
mov ebx, dword [esi + 0x590]
mov esi, dword [esi + 0x588]
add esp, 0x10
mov dword [ebp - 0x80], eax
jmp 0x4049b1
push 1
push 1
push esi
dec ebx
call fcn.004e3bd5
add esp, 0x10
inc esi
test ebx, ebx
push dword [ebp - 0x80]
jne 0x4049a2
call fcn.004e39fa
mov dword [esp], 0x100
push edi
call fcn.004e391b
pop ecx
pop ecx
push 1
lea eax, [ebp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
pop edi
pop esi
pop ebx
jae 0x4049f9
push 0
call fcn.004092af
push eax
push dword [0x58a1e8]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.004e2867
add ebp, 0x190
leave
ret

Function at 0x404ac6
Capabilities:
Create process on windows

Disassembly:
push 1
push 0x52e7c8
push 0
push str.http:__www.livenote.com_downloads.asp
push str.open
call fcn.004092b5
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x404ae6
Capabilities:
Create process on windows

Disassembly:
push esi
lea esi, [ecx + 0x5ac]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x404afd
mov esi, dword [esi]
jmp 0x404b02
mov esi, str.https:__www.deposchedule.com_
push 1
push 0x52e7c8
push 0
push esi
push str.open
call fcn.004092b5
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret
Function at 0x408cf3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408d06
xor al, al
jmp 0x408d15
mov edx, dword [esp + 8]
mov ecx, eax
shr ecx, 4
mov al, 1
and cl, al
mov byte [edx], cl
ret 8

Function at 0x408fb7
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x484], ebx
jne 0x4090a9
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x200
call fcn.004e43ad
pop ecx
push eax
push ebx
mov dword [esi + 0x484], eax
push 0x52f064
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push dword [esi + 0x484]
call fcn.004e3e28
mov eax, dword [esi + 0x484]
push 0x5c
push eax
call fcn.004e3860
add esp, 0xc
push 0x52f04c
mov byte [eax], bl
push dword [esi + 0x484]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x52f044
push 0xfb7
push dword [0x599ed0]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push dword [0x599ed0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x599ed0]
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x4090a8
push ebx
push dword [esi + 0x484]
call dword [sym.imp.KERNEL32.dll__lcreat]
push dword [ebp - 0x80]
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll__hwrite]
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
pop edi
mov eax, dword [esi + 0x484]
mov ecx, dword [ebp + 0x88]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2867
add ebp, 0x8c
leave
ret
Function at 0x4117e5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xb8]
push esi
mov esi, dword [ebp + 0xb0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xbc]
push edi
mov edi, dword [ebp + 0xb4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc0]
push 0
push esi
mov dword [ebp - 0x68], eax
call fcn.004e434a
test eax, eax
pop ecx
pop ecx
jne 0x41191d
push ebx
lea eax, [ebp - 0x70]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
push ebx
call fcn.004b1a5e
pop ecx
push eax
push ebx
push dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
push esi
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x60]
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x74]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x5c]
push str.StringFileInfo_04x_04xFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call sub.VERSION.dll_VerQueryValueA
mov esi, 0x52e7c8
push esi
push dword [ebp - 0x6c]
call fcn.004e521f
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x41190e
push eax
call fcn.004e5209
push esi
push ebx
mov dword [edi], eax
call fcn.004e521f
add esp, 0xc
cmp eax, ebx
je 0x4118dc
push eax
call fcn.004e5209
pop ecx
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
push esi
push ebx
call fcn.004e521f
cmp eax, ebx
pop ecx
pop ecx
je 0x4118f5
push eax
call fcn.004e5209
pop ecx
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
push esi
push ebx
call fcn.004e521f
cmp eax, ebx
pop ecx
pop ecx
je 0x41190e
push eax
call fcn.004e5209
pop ecx
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
push dword [ebp - 0x60]
call fcn.004b1a59
pop ecx
xor eax, eax
inc eax
pop ebx
jmp 0x41191f
xor eax, eax
mov ecx, dword [ebp + 0xa4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e2867
add ebp, 0xa8
leave
ret
Function at 0x411c75
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x388], eax
push ebx
mov ebx, dword [ebp + 0x394]
push esi
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x78]
push eax
mov edi, SysReAllocString
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x411d4d
push str.ptxfile_shellopencommand
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
neg esi
lea eax, [ebp + 0x188]
sbb esi, esi
push 0x25
push eax
inc esi
call fcn.004e3860
test eax, eax
pop ecx
pop ecx
je 0x411d0c
mov byte [eax - 1], 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x188]
push 0x5c
push eax
call fcn.004e3860
test eax, eax
pop ecx
pop ecx
je 0x411d3e
inc eax
push str.pnxbndr.exe
push eax
call fcn.004e99b5
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
lea eax, [ebp + 0x188]
push eax
push ebx
call fcn.004e3d30
pop ecx
pop ecx
mov ecx, dword [ebp + 0x388]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2867
add ebp, 0x38c
leave
ret
Function at 0x411d67
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x710
lea ebp, [esp - 4]
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x710], eax
push 4
mov eax, 0x51d30e
call fcn.004e2876
mov edi, dword [ebp + 0x71c]
mov esi, 0x104
push esi
lea eax, [ebp + 0x508]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x508]
push eax
call fcn.004092c1
mov ecx, eax
call fcn.004499f0
test eax, eax
je 0x411f42
push esi
lea eax, [ebp + 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp + 0x60c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberA]
xor ebx, ebx
mov esi, eax
mov byte [ebp + 0x60c], bl
call fcn.004b4151
push eax
lea ecx, [ebp - 0x10]
call fcn.004b2ae1
add esi, 0x41
push esi
lea eax, [ebp - 0x10]
push str._c:program_filesRealLegal_E_Transcript_Vieweretrnview.exe
push eax
mov dword [ebp - 4], ebx
call fcn.00402fab
push dword [ebp - 0x10]
lea eax, [ebp + 0x60c]
push eax
call fcn.004e3d30
lea eax, [ebp + 0x60c]
push ebx
push eax
call fcn.004e434a
add esp, 0x1c
test eax, eax
jne 0x411e48
lea eax, [ebp + 0x60c]
push eax
lea eax, [ebp + 0x508]
push eax
call fcn.00411936
test eax, eax
pop ecx
pop ecx
je 0x411f3d
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x40
lea eax, [ebp + 0x204]
push eax
push 1
push edi
call esi
call fcn.0040ffdd
add eax, 0x618
push eax
lea eax, [ebp + 0x508]
push eax
call fcn.004092c1
mov ecx, eax
call fcn.0044ceb0
lea eax, [ebp]
push eax
call fcn.00411c75
test eax, eax
pop ecx
jne 0x411ee7
push ebx
push str.application_x_etranscript
lea eax, [ebp + 0x508]
push eax
push str.E_Transcript_File
push str.ptxfile
push str..ptx
call fcn.004119c0
add esp, 0x18
cmp eax, ebx
jne 0x411ee7
push 0x400
lea eax, [ebp + 0x304]
push eax
push 0xe
push edi
call esi
push 0x10
lea eax, [ebp + 0x204]
push eax
lea eax, [ebp + 0x304]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401161
mov eax, ebx
jmp 0x411f44
lea eax, [ebp + 0x508]
push eax
lea eax, [ebp + 0x404]
push eax
call fcn.004e3d30
lea eax, [ebp + 0x404]
push 0x5c
push eax
call fcn.004e3860
add esp, 0x10
cmp eax, ebx
je 0x411f11
mov byte [eax], bl
push 0xff
lea eax, [ebp + 0x104]
push eax
push 0x10
push edi
call esi
push ebx
push ebx
push 1
lea eax, [ebp + 0x104]
push eax
lea eax, [ebp + 0x404]
push eax
push edi
call fcn.00411515
add esp, 0x18
xor ebx, ebx
inc ebx
jmp 0x411ed8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x710]
xor ecx, ebp
call fcn.004e2867
add ebp, 0x714
leave
ret
Function at 0x416630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51da70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0048c450
push str._Y__m__d__I__M__S
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.004160f0
lea edx, [esp + 0xc]
push edx
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.0048c310
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00416340
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x14
Function at 0x417440
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x597f54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
call fcn.004b4151
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41748d
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push edi
push ecx
mov dword [ebp - 4], esi
call fcn.00485410
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x14]
push edx
push 0x53111c
mov byte [ebp - 4], 1
call fcn.00486f50
add esp, 0x14
test eax, eax
mov eax, dword [ebp + 0xc]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x417551
cmp byte [ebp + 0x10], bl
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
push esi
je 0x417502
push 1
push esi
jmp 0x417507
mov eax, dword [ebp + 0x14]
push esi
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00433d70
xor edx, edx
cmp al, 1
sete dl
mov dword [ebp - 4], 0
mov esi, edx
test esi, esi
je 0x417551
mov ecx, dword [ebp - 0x18]
push edi
call fcn.00416c90
mov eax, dword [ebp - 0x14]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x14]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x417551
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419120
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x51def8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor edi, edi
call fcn.004b4151
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41915f
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [esp + 0x18], 0
je 0x4191d0
push 0x5f
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00417390
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
mov ecx, dword [esp + 0x20]
push esi
push ecx
lea edx, [esp + 0x14]
push str._s_s
push edx
call fcn.00402fab
add esp, 0x10
jmp 0x4191f7
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x4191dc
xor eax, eax
jmp 0x4191ec
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4191e1
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00401452
mov esi, dword [esp + 0xc]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x419230
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xce
jne 0x419229
push 0x136
push str..CaseExportBase.cpp
call fcn.00422720
add esp, 8
jmp 0x419235
cmp eax, 0xb7
jne 0x419235
mov edi, 1
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x41ada0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call fcn.00416c90
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esi + 0x38]
push str._LANGID0x0409_CP1252_COUNTRY0
push edi
call edx
pop edi
pop esi
ret 4