joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40563b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
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.00402fd6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405796
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405796
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405747
cmp dword [0x40b7e8], ecx
je 0x405747
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405747
test ebx, ebx
je 0x405747
call edi
test eax, eax
je 0x40573e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40573e
test byte [ebp - 8], 1
jne 0x405747
or dword [ebp + 0x10], 0x200000
jmp 0x40577a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40577a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405796
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405798
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040239a
leave
ret

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 0x8de2e0
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de2e6
pop ebp
sub ebp, 6
sub ebp, 0x4de2e0
jmp 0x8de344
jmp 0x8de34d
add byte [eax], al
add byte [ecx + 0x3f], dh
mov ah, 0x94
mov eax, 0x4de2e0
add eax, ebp
add eax, 0x93
mov ecx, 0x639
mov edx, 0x27868627
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de364
invalid
jmp 0x8de377
dec ebp
dec edi
daa
aaa
daa
daa
dec edi
daa
jmp 0x8de38d
pop ebx
adc al, 0xe7
ja 0x8de36b
mov dl, 0x1b
push es
arpl word [edi], sp
ja 0x8de346
ljmp 0x2727:0x271baeac
Function at 0x4022f0
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movaps xmm0, xmmword [0x65ee50]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x24], 0x11140005
movaps xmm0, xmmword [str.___2994]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x7f1504
mov dword [ebp - 0x1c], 0x29283f22
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x2b
jb 0x402327
push esi
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
lea eax, [ebp - 0x43]
push eax
mov byte [ebp - 0x18], 0
call esi
movaps xmm0, xmmword [0x65ef40]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x18], 0
movaps xmm0, xmmword [0x65eef0]
movups xmmword [ebp - 0x38], xmm0
movaps xmm0, xmmword [0x65ef20]
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x2f
jb 0x402370
lea eax, [ebp - 0x47]
mov byte [ebp - 0x18], 0
push eax
call esi
movaps xmm0, xmmword [0x65ed50]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x18], 0x540c
movaps xmm0, xmmword [0x65ee20]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x16], 0
movaps xmm0, xmmword [str.05__1_J__f_v]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x31
jb 0x4023b4
lea eax, [ebp - 0x47]
mov byte [ebp - 0x16], 0
push eax
call esi
movaps xmm0, xmmword [0x65eeb0]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x18], 0x6a31
movaps xmm0, xmmword [str.63_v:1_v1_w]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x16], 0
movaps xmm0, xmmword [0x65ee10]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x31
jb 0x4023f8
lea eax, [ebp - 0x47]
mov byte [ebp - 0x16], 0
push eax
call esi
mov ecx, 0x45
xor edx, edx
pop esi
mov al, byte [edx + 0x65ec9c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x14], al
and ecx, 0x800000ff
jns 0x402434
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x402417
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
xor ecx, ecx
call fcn.004018d0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x415e90
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b279b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [ebp + 8]
mov byte [esi + 0x2b71], al
test al, al
je 0x416009
push 0x118
lea eax, [ebp - 0x260]
mov byte [esi + 0x2b70], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.004038e0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:91.0__Gecko_20100101_Firefox_91.0
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.004077d0
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
push str.User_Agent
call fcn.00416830
push 0x138
lea eax, [ebp - 0x148]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x148]
call fcn.00449930
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
add esi, 0x17a8
push str.Accept
mov ecx, esi
call fcn.004a69c0
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Accept_Language
call fcn.004a3410
test al, al
jne 0x415f93
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.en_US_en_q0.5
push str.Accept_Language
call fcn.004a69c0
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Connection
call fcn.004a3410
test al, al
jne 0x415fc2
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.keep_alive
push str.Connection
call fcn.004a69c0
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Upgrade_Insecure_Requests
call fcn.004a3410
test al, al
jne 0x415ff1
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push 0x5ce700
push str.Upgrade_Insecure_Requests
call fcn.004a69c0
lea ecx, [ebp - 0x148]
call fcn.00449950
lea ecx, [ebp - 0x260]
call fcn.00403970
jmp 0x41601b
push 1
push str.User_Agent
lea ecx, [esi + 0x17a8]
call fcn.004a6920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 4
Function at 0x41deb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3708
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp + 8]
add eax, 0x2ad8
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
push 4
push eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], edx
call fcn.00408180
mov ecx, edi
call fcn.00436b40
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x14]
push 0
push 0
mov dword [ebp - 0x14], 0
push dword [eax + 0xb88]
push dword [eax + 0xb84]
push esi
call fcn.004a8010
mov esi, dword [ebp - 0x148]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00415b10
mov byte [esi + 0x17e4], 1
call sub.KERNEL32.DLL_GetTickCount
push 0x128
mov dword [ebp - 0x148], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x1c], xmm0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004a87f0
push eax
lea ecx, [ebp - 0x144]
call fcn.0046d220
push dword [ebp - 0x14c]
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x11c], 0
push eax
push edi
lea eax, [esi + 0x1280]
mov ecx, ebx
push eax
push 0
push dword [ebp + 0x10]
call fcn.00406960
mov ecx, dword [ebp - 0x150]
push eax
push esi
lea eax, [esi + 0x1688]
push eax
lea eax, [esi + 0x2950]
push eax
call fcn.00406960
push eax
push esi
call fcn.00474aa0
mov ecx, dword [ebp - 0x11c]
add esp, 0x34
mov dword [esi + 0xc30], ecx
mov bl, al
mov cl, byte [ebp - 0x126]
mov byte [esi + 0x10ab], cl
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x14c]
cmp eax, ecx
jb 0x41e029
sub eax, ecx
mov ecx, edi
push eax
push str.totalElapsedMs
call fcn.00448770
push edi
test bl, bl
je 0x41e062
lea ecx, [ebp - 0x14]
call fcn.004a85a0
push dword [esi + 0x155c]
lea ecx, [esi + 0x908]
push dword [esi + 0x1558]
push str.ContentLength
call fcn.00448700
cmp dword [esi + 0x1554], 0x190
jl 0x41e06d
xor bl, bl
jmp 0x41e06d
lea ecx, [esi + 0x2950]
call fcn.004a7d70
lea ecx, [ebp - 0x144]
call fcn.0046d300
lea ecx, [ebp - 0x14]
call fcn.004a8060
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42c1a0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 8], edi
mov ebx, dword [edi + 0x6c]
test ebx, ebx
je 0x42c37e
mov edi, dword [edi + 0xc]
mov cl, byte [edi + edx]
movzx eax, cl
movzx eax, byte [eax + 0x5d09e8]
test eax, eax
jne 0x42c221
cmp cl, 0x41
jb 0x42c1db
cmp cl, 0x5a
jbe 0x42c226
cmp cl, 0x61
jb 0x42c1e7
cmp cl, 0x7a
jbe 0x42c226
jmp 0x42c219
cmp cl, 0x30
jb 0x42c1f1
cmp cl, 0x39
jbe 0x42c226
cmp cl, 0x3d
je 0x42c226
cmp cl, 0x3f
je 0x42c226
cmp cl, 0x26
je 0x42c226
cmp cl, 0x2f
je 0x42c226
cmp cl, 0x2d
je 0x42c226
cmp cl, 0x5f
je 0x42c226
cmp cl, 0x25
je 0x42c226
cmp cl, 0x2e
je 0x42c226
cmp cl, 0x7e
je 0x42c226
inc esi
jmp 0x42c226
inc esi
add esi, eax
add edx, eax
inc edx
cmp edx, ebx
jb 0x42c1c0
mov edi, dword [ebp - 8]
test esi, esi
je 0x42c37e
lea eax, [esi*2 + 4]
mov dword [ebp - 0x14], eax
add eax, ebx
push eax
call fcn.0040deb0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42c25a
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor esi, esi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x6c], ecx
jbe 0x42c334
nop word [eax + eax]
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
movzx edx, al
mov dword [ebp - 0xc], edx
movzx edx, byte [edx + 0x5d09e8]
mov dword [ebp - 0x10], edx
test edx, edx
jne 0x42c2e8
cmp al, 0x41
jb 0x42c292
cmp al, 0x5a
jbe 0x42c2e2
cmp al, 0x61
jb 0x42c29a
cmp al, 0x7a
jbe 0x42c2e2
cmp al, 0x30
jb 0x42c2a2
cmp al, 0x39
jbe 0x42c2e2
cmp al, 0x3d
je 0x42c2e2
cmp al, 0x3f
je 0x42c2e2
cmp al, 0x26
je 0x42c2e2
cmp al, 0x2f
je 0x42c2e2
cmp al, 0x2d
je 0x42c2e2
cmp al, 0x5f
je 0x42c2e2
cmp al, 0x25
je 0x42c2e2
cmp al, 0x2e
je 0x42c2e2
cmp al, 0x7e
je 0x42c2e2
mov byte [esi + ebx], 0x25
inc esi
lea eax, [esi + ebx]
push eax
push dword [ebp - 0xc]
call fcn.0040e790
mov ecx, dword [ebp - 4]
add esp, 8
add esi, 2
jmp 0x42c327
mov byte [esi + ebx], al
inc esi
jmp 0x42c327
lea eax, [edx + 1]
xor edi, edi
test eax, eax
je 0x42c322
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edi
mov cl, byte [eax + ecx]
mov byte [esi + ebx], 0x25
inc esi
lea eax, [esi + ebx]
push eax
movzx eax, cl
push eax
call fcn.0040e790
mov edx, dword [ebp - 0x10]
inc edi
mov ecx, dword [ebp - 4]
add esp, 8
add esi, 2
lea eax, [edx + 1]
cmp edi, eax
jb 0x42c2f1
mov edi, dword [ebp - 8]
add ecx, edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi + 0x6c]
jb 0x42c270
mov byte [esi + ebx], 0
cmp byte [edi + 9], 0
mov dword [edi + 0x6c], esi
je 0x42c358
test esi, esi
je 0x42c358
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42c358
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x64]
test eax, eax
je 0x42c36f
push eax
call fcn.005af626
add esp, 4
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x6c]
add eax, dword [ebp - 0x14]
mov dword [edi + 0x64], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x68], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, dword [ebx + 8]
cmp edi, dword [eax + 8]
jne 0x43889a
test edi, edi
jne 0x43888a
cmp byte [esi + 0x11], 0
mov dword [esi + 8], edi
je 0x43894b
mov dword [esi + 0x14], edi
mov al, 1
mov dword [esi + 0xc], edi
pop edi
mov byte [esi + 0x11], 0
pop esi
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x10], 0xdb
je 0x4388a3
push 0
call fcn.004014f0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
cmp dword [esi + 0xc], edi
jae 0x438908
push edi
call fcn.0040deb0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x43889a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4388e5
cmp dword [esi + 0x14], 0
je 0x4388e5
cmp ecx, edi
jbe 0x4388d6
push 0
call fcn.004014f0
mov eax, dword [ebp + 8]
add esp, 4
push dword [esi + 8]
push dword [esi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esi + 0x11], 0
jne 0x4388fb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4388fb
push eax
call fcn.005af626
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], edi
mov byte [esi + 0x11], 0
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [esi + 0xc]
cmp edx, eax
cmova ecx, eax
cmp dword [esi + 0x14], 0
mov dword [esi + 8], ecx
je 0x43889a
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x43894b
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax + edi]
mov ecx, dword [ecx + 0x14]
mov eax, dword [esi + 0x14]
xor dl, byte [ecx + edi]
mov byte [edi + eax], dl
inc edi
cmp edi, dword [ebx + 8]
jb 0x438930
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x43b800
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b55fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, eax
mov edi, dword [ebp + 0x14]
mov dword [ebx], 0
mov dword [ebp - 0x244], eax
mov dword [esi], 0xffffffff
call fcn.00406eb0
test al, al
je 0x43b86e
test edi, edi
je 0x43b867
mov eax, dword [edi]
mov ecx, edi
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x14]
xor al, al
jmp 0x43b956
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.004038e0
push dword [ebp - 0x244]
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00404580
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00407210
lea ecx, [ebp - 0x128]
call fcn.00406190
test eax, eax
jle 0x43b922
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.004038e0
push edi
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043be90
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea ecx, [ebp - 0x240]
mov dword [esi], eax
call fcn.00403970
jmp 0x43b936
lea ecx, [ebp - 0x128]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x43b946
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebx], eax
cmp dword [esi], 0xffffffff
lea ecx, [ebp - 0x128]
setne bl
call fcn.00403970
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x43c890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b578b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00404580
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00407210
lea ecx, [ebp - 0x128]
call fcn.00406190
test eax, eax
jle 0x43c97a
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.004038e0
push 0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0043be90
add esp, 0xc
lea ecx, [ebp - 0x240]
push 0
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00403970
jmp 0x43c990
push 0
lea ecx, [ebp - 0x128]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x43c9c7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x43c9a5
mov bl, 1
jmp 0x43c9ca
test edi, edi
je 0x43c9c5
mov eax, dword [edi]
mov ecx, edi
push 1
push str.createDirWin32
call dword [eax + 0x24]
mov ecx, edi
call fcn.00449020
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test esi, esi
setne bl
lea ecx, [ebp - 0x128]
call fcn.00403970
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x43cab0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b57e6
mov eax, dword fs:[0]
push eax
mov eax, 0x1354
call fcn.005af8f0
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x112c]
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x112c]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0
call fcn.00404580
push 0x5c
push 0x2f
lea ecx, [ebp - 0x112c]
call fcn.00407210
lea ecx, [ebp - 0x112c]
call fcn.00406190
cmp eax, 0x104
jle 0x43cc4f
push 0x118
lea eax, [ebp - 0x1244]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1244]
call fcn.004038e0
lea ecx, [ebp - 0x1244]
mov byte [ebp - 4], 1
call fcn.004081d0
lea eax, [ebp - 0x1360]
push eax
lea eax, [ebp - 0x1014]
push eax
push 0x800
lea ecx, [ebp - 0x112c]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
lea ecx, [ebp - 0x1244]
test eax, eax
je 0x43cbb0
lea eax, [ebp - 0x1014]
push eax
call fcn.00407990
mov bl, 1
jmp 0x43cbbe
lea eax, [ebp - 0x112c]
push eax
call fcn.00404bf0
xor bl, bl
push 0x118
lea eax, [ebp - 0x135c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x135c]
call fcn.004038e0
mov byte [ebp - 4], 2
test bl, bl
je 0x43cbf7
push 0x5d10ac
lea ecx, [ebp - 0x135c]
call fcn.00404450
lea ecx, [ebp - 0x1244]
call fcn.00406960
push eax
lea ecx, [ebp - 0x135c]
call fcn.00404450
lea ecx, [ebp - 0x135c]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x43cc37
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
mov ecx, 1
cmove esi, ecx
lea ecx, [ebp - 0x135c]
call fcn.00403970
lea ecx, [ebp - 0x1244]
call fcn.00403970
jmp 0x43cc99
lea ecx, [ebp - 0x112c]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x43cc9b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
test edi, edi
je 0x43cc8e
push ebx
mov ecx, edi
call fcn.004492f0
lea eax, [ebp - 0x112c]
mov ecx, edi
push eax
push str.failedToDeleteFilepath
call fcn.00448ce0
cmp ebx, 2
mov eax, 1
cmove esi, eax
test esi, esi
lea ecx, [ebp - 0x112c]
setne bl
call fcn.00403970
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret

Function at 0x43d5f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d3e0
Function at 0x43dba0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b59c0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.004077d0
lea ecx, [ebp - 0x128]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.00403970
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret

Function at 0x43dc40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2090
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.004077d0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.00406d30
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
lea ecx, [ebp - 0x128]
setne bl
call fcn.00403970
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret