joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58c5e8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62d330]
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.0057eb9c
mov dword [ebp - 0x14], eax
cmp dword [0x63ab6c], esi
jne 0x58c6db
push 0x800
push esi
push 0x5f6bf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58c668
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58c7bb
push esi
push esi
push 0x5f6bf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58c7bb
push 0x5f6c08
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58c7bb
push eax
call ebx
push 0x5f6c14
push edi
mov dword [0x63ab6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6c24
push edi
mov dword [0x63ab70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6c38
push edi
mov dword [0x63ab74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63ab7c], eax
test eax, eax
je 0x58c6d8
push 0x5f6c54
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63ab78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58c700
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58c6f3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58c715
push 4
pop eax
jmp 0x58c7bd
cmp dword [ebp - 0x14], esi
je 0x58c715
push dword [0x63ab6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58c6fa
mov eax, dword [0x63ab78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58c773
cmp dword [0x63ab7c], edi
je 0x58c773
push eax
call ebx
push dword [0x63ab7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58c773
test eax, eax
je 0x58c773
call ecx
test eax, eax
je 0x58c768
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 0x58c768
test byte [ebp - 8], 1
jne 0x58c773
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58c7a3
mov eax, dword [0x63ab70]
cmp eax, edi
je 0x58c7a0
push eax
call ebx
test eax, eax
je 0x58c7a0
call eax
mov esi, eax
test esi, esi
je 0x58c7a0
mov eax, dword [0x63ab74]
cmp eax, edi
je 0x58c7a0
push eax
call ebx
test eax, eax
je 0x58c7a0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x63ab6c]
call ebx
test eax, eax
je 0x58c7bb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58c7bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005743c4
mov esp, ebp
pop ebp
ret
Function at 0x59c4a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4bab50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x4ba0ac]
push esi
push edi
test eax, eax
jne 0x4babcd
mov esi, 0x4ba284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x4bab8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x4bab7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x4ba29c
mov dword [edx], eax
jl 0x4bab6d
mov ecx, dword [0x4ba0ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x4ba2ac
push ecx
mov dword [0x4ba0a4], eax
call fcn.004bad80
add esp, 0xc
mov dword [0x4ba0a8], eax
mov dword [ebp - 4], 0
mov esi, 0x4ba284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x4bac16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x4bac16
cmp al, 0x5a
jg 0x4bac02
cmp al, 0x41
jl 0x4bac02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x4bac08
xor al, 0x55
cmp cl, al
jne 0x4bac16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x4babe1
cmp byte [edx], 0
je 0x4bac36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x4ba29c
mov dword [ebp - 4], edx
jl 0x4babd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x4ba280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x1334058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.013341a8
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 0x133407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x133406a
add dl, dl
jne 0x1334089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13340dc
xor eax, eax
add dl, dl
jne 0x1334096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x133417d
add dl, dl
jne 0x13340a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13340b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13340bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13340c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x13340d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1334075
mov eax, 1
add dl, dl
jne 0x13340ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13340f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13340e1
sub eax, ebx
mov ebx, 1
jne 0x1334128
mov ecx, 1
add dl, dl
jne 0x133410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1334119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1334105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1334075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x133413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x133414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1334136
cmp eax, 0x7d00
jae 0x133416d
cmp eax, 0x500
jb 0x1334168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1334075
cmp eax, 0x7f
ja 0x1334170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1334075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x133419e
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 0x1334075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x710c65
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
mov edi, edi
add esi, esi
and edi, esi
call fcn.00710c9c
sub edi, edi
push 0x965a14ba
mov esi, dword [esp]
add esp, 4
xor dword [ebx], ecx
inc esi
sub esi, esi
push edi
pop esi
inc ebx
mov edi, edi
and esi, esi
cmp ebx, eax
jne fcn.00710c65
add edi, 0x4e4e9694
ret
Function at 0x4dc220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x90000]
mov dword [edi + 0x93074], 0xb0c9da3e
push edi
jmp 0x4dc24a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dc251
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dc240
mov eax, 1
add ebx, ebx
jne 0x4dc263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dc274
jne 0x4dc293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dc293
dec eax
add ebx, ebx
jne 0x4dc280
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dc258
add ebx, ebx
jne 0x4dc28f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dc2e5
xor ecx, ecx
sub eax, 3
jb 0x4dc2ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dc31a
sar eax, 1
mov ebp, eax
jmp 0x4dc2b6
add ebx, ebx
jne 0x4dc2b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dc284
inc ecx
add ebx, ebx
jne 0x4dc2c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dc284
add ebx, ebx
jne 0x4dc2d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dc2c6
jne 0x4dc2e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dc2c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dc304
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dc2f6
jmp 0x4dc246
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dc304
add edi, ecx
jmp 0x4dc246
pop esi
mov edi, esi
mov ecx, 0x397a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dc322
cmp byte [edi], 0x11
jne 0x4dc322
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4dc327
lea edi, [esi + 0xd6000]
mov eax, dword [edi]
or eax, eax
je 0x4dc396
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf69b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf6a48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dc354
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf6a50]
or eax, eax
je 0x4dc390
mov dword [ebx], eax
add ebx, 4
jmp 0x4dc371
call dword [esi + 0xf6a4c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dc3c7
cmp al, 0xef
ja 0x4dc3ba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4dc39c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4dc3a9
mov ebp, dword [esi + 0xf6a54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4dc3fb
sub esp, 0xffffff80
jmp 0x431803
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x87a3ac
push eax
push dword fs:[0]
mov dword [0x64500087], eax
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [ebx], esp
jge 0x401055
ja 0x4010fe
fld xword [esi - 7]
or al, 0xb7
dec edx
mov ch, 0xfc
outsd dx, dword [esi]
jns 0x4010cd
fcom qword [eax - 0x69d98623]
retf 0x41f8
and ecx, eax
hlt
int1
push 0xffffffffffffffb7
dec edx
mul dword [esi - 0x69]
invalid
push edx
inc edi
aas
int1
lds esi, [eax - 0x386d9885]
out 0xf1, eax
xchg edx, eax
cmp al, 0x61
sahf
jmp 0xb6298785
Function at 0x40396a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.00430b10
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4039d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4039ca
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x403a40
mov esi, 0x80004005
jmp 0x403a40
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x20e]
je 0x4039ff
push 1
push 0x450bbc
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.004037d7
mov esi, eax
test esi, esi
js 0x403a40
mov esi, 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00403824
mov esi, eax
test esi, esi
js 0x403a40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x4039b3
test edi, edi
je 0x403a40
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00402315
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f1b3
leave
ret 0xc
Function at 0x40420a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4042db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40423a
xor esi, esi
jmp 0x4042db
cmp eax, 3
je 0x40424b
push 0
push edi
call fcn.004042e3
test eax, eax
jne 0x404233
movzx eax, word [edi]
mov ecx, edi
push ebx
xor ebx, ebx
test ax, ax
je 0x4042c8
push 0x5c
mov edx, eax
pop edi
cmp dx, di
jne 0x404264
mov ebx, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x40425d
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4042c8
push dword [ebp + 0xc]
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0040420a
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x4042da
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4042c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x4042b5
xor esi, esi
inc esi
jmp 0x4042da
test esi, esi
jle 0x4042da
movzx esi, si
or esi, 0x80070000
jmp 0x4042da
xor esi, esi
jmp 0x4042da
mov esi, 0x80070003
push esi
push 0x72
push str.c:_agent_work18_swix_srclibsdutildirutil.cpp
call fcn.00403953
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404307
test al, 0x10
je 0x404307
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x404304
mov dword [ecx], eax
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4052b6
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x18]
push 0x11c
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x120]
push ebx
push eax
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
call fcn.00430b10
push 0x4f8
lea eax, [ebp - 0x640]
mov dword [ebp - 0x124], ebx
push ebx
push eax
mov dword [ebp - 0x130], ebx
call fcn.00430b10
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00444926
push ebx
push 3
call fcn.00444ada
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0040124c
mov esi, eax
test esi, esi
jns 0x40537a
push str.Failed_to_parse_command_line.
push esi
call fcn.0044466b
pop ecx
pop ecx
mov edi, ebx
jmp 0x4055f5
push edi
lea eax, [ebp - 0x640]
push eax
call fcn.004043d1
mov esi, eax
test esi, esi
jns 0x405394
push str.Failed_to_initialize_engine_state.
jmp 0x40536b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x614], eax
call fcn.00405737
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jns 0x4053b9
push str.Failed_to_initialize_COM.
jmp 0x40536b
xor edi, edi
inc edi
call fcn.004440cc
mov esi, eax
test esi, esi
jns 0x4053d9
push str.Failed_to_initialize_Cryputil.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x4055f5
mov dword [ebp - 0x144], edi
call fcn.004453af
mov esi, eax
test esi, esi
jns 0x4053f1
push str.Failed_to_initialize_Regutil.
jmp 0x4053cc
mov dword [ebp - 0x140], edi
call fcn.004472a7
mov esi, eax
test esi, esi
jns 0x405409
push str.Failed_to_initialize_Wiutil.
invalid

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

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push eax
push dword [edi + 0x14]
push dword [ebp + 0xc]
call fcn.004076b3
mov esi, eax
test esi, esi
jns 0x409f0c
push str.Failed_to_format_variable_string.
jmp 0x409f86
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
cmp edx, 0xffffffff
jne 0x409f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x409f31
movzx esi, si
or esi, 0x80070000
cmp esi, 0x80070002
je 0x409f41
cmp esi, 0x80070003
jne 0x409f43
xor esi, esi
xor eax, eax
jmp 0x409f51
xor eax, eax
xor ecx, ecx
test dl, 0x10
je 0x409f53
inc eax
xor ecx, ecx
test esi, esi
jns 0x409f6c
push dword [ebp - 4]
push dword [edi]
push str.Failed_while_searching_directory_search:__ls__for_path:__ls
push esi
call fcn.0044466b
add esp, 0x10
jmp 0x409f8e
push 0
push ecx
push eax
push dword [edi + 4]
push dword [ebp + 0xc]
call fcn.0040866c
mov esi, eax
test esi, esi
jns 0x409f8e
push str.Failed_to_set_variable.
push esi
call fcn.0044466b
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.004028f5
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x409f9e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push eax
push dword [edi + 0x14]
push dword [ebp + 0xc]
call fcn.004076b3
mov esi, eax
test esi, esi
jns 0x409fd4
push str.Failed_to_format_variable_string.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x40a05f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x409ff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40a01f
movzx esi, si
or esi, 0x80070000
jmp 0x40a01f
test al, 0x10
je 0x40a01a
push 0
push dword [ebp - 4]
push dword [edi + 4]
push dword [ebp + 0xc]
call fcn.00408612
mov esi, eax
test esi, esi
jns 0x40a01f
push str.Failed_to_set_directory_search_path_variable.
jmp 0x409fc7
mov esi, 0x80070003
cmp esi, 0x80070002
je 0x40a048
cmp esi, 0x80070003
je 0x40a048
test esi, esi
jns 0x40a05f
push dword [ebp - 4]
push dword [edi]
push str.Failed_while_searching_directory_search:__ls__for_path:__ls
push esi
call fcn.0044466b
add esp, 0x10
jmp 0x40a05f
push esi
push dword [ebp - 4]
push dword [edi]
push str.Directory_search:__ls__did_not_find_path:__ls__reason:_0x_x
push 2
call fcn.00444b52
add esp, 0x14
xor esi, esi
push dword [ebp - 4]
call fcn.004028f5
pop edi
mov eax, esi
pop esi
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push eax
push dword [edi + 0x14]
push dword [ebp + 0xc]
call fcn.004076b3
mov esi, eax
test esi, esi
jns 0x40a09d
push str.Failed_to_format_variable_string.
jmp 0x40a13b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
cmp edx, 0xffffffff
jne 0x40a112
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x40a0fa
cmp esi, 3
je 0x40a0fa
test esi, esi
je 0x40a10e
jle 0x40a0d0
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40a0d7
mov esi, 0x80004005
push esi
push 0x28b
push str.c:_agent_work18_swix_src_burnengine_search.cpp
call fcn.00403953
push dword [edi + 0x14]
push str.Failed_get_to_file_attributes.__ls
push esi
call fcn.0044466b
add esp, 0xc
jmp 0x40a143
push dword [ebp - 4]
push dword [edi]
push str.File_search:__ls__did_not_find_path:__ls
push 2
call fcn.00444b52
add esp, 0x10
xor eax, eax
jmp 0x40a11f
xor eax, eax
xor ecx, ecx
test edx, 0x10
jne 0x40a121
inc eax
xor ecx, ecx
push 0
push ecx
push eax
push dword [edi + 4]
push dword [ebp + 0xc]
call fcn.0040866c
mov esi, eax
test esi, esi
jns 0x40a143
push str.Failed_to_set_variable.
push esi
call fcn.0044466b
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.004028f5
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x40a153
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push eax
push dword [edi + 0x14]
push dword [ebp + 0xc]
call fcn.004076b3
mov esi, eax
test esi, esi
jns 0x40a189
push str.Failed_to_format_variable_string.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x40a20c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40a1d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40a1ac
movzx esi, si
or esi, 0x80070000
cmp esi, 0x80070002
je 0x40a1f6
cmp esi, 0x80070003
je 0x40a1f6
test esi, esi
jns 0x40a20c
push dword [ebp - 4]
push dword [edi]
push str.Failed_while_searching_file_search:__ls__for_path:__ls
push esi
call fcn.0044466b
add esp, 0x10
jmp 0x40a20c
test al, 0x10
jne 0x40a1f6
push 0
push dword [ebp - 4]
push dword [edi + 4]
push dword [ebp + 0xc]
call fcn.00408612
mov esi, eax
test esi, esi
jns 0x40a1ac
push str.Failed_to_set_variable_to_file_search_path.
jmp 0x40a17c
push dword [ebp - 4]
push dword [edi]
push str.File_search:__ls__did_not_find_path:__ls
push 2
call fcn.00444b52
add esp, 0x10
xor esi, esi
push dword [ebp - 4]
call fcn.004028f5
pop edi
mov eax, esi
pop esi
leave
ret 8