joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b940
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad926
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 8]
mov esi, ecx
mov byte [esi + 0x2af1], al
test al, al
je 0x44ba98
lea ecx, [ebp - 0x25c]
mov byte [esi + 0x2af0], 0
call fcn.00412fd0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:91.0__Gecko_20100101_Firefox_91.0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], 0
call fcn.004134c0
lea eax, [ebp - 0x25c]
push eax
push str.User_Agent
mov ecx, esi
call fcn.0044b2e0
lea ecx, [ebp - 0x144]
call fcn.0046dee0
lea ecx, [ebp - 0x144]
push ecx
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
add esi, 0x17a8
push str.Accept
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00491450
lea edx, [ebp - 0x144]
push edx
push str.Accept_Language
mov ecx, esi
call fcn.0048fa10
test al, al
jne 0x44ba17
lea eax, [ebp - 0x144]
push eax
push str.en_US_en_q0.5
push str.Accept_Language
mov ecx, esi
call fcn.00491450
lea ecx, [ebp - 0x144]
push ecx
push str.Connection
mov ecx, esi
call fcn.0048fa10
test al, al
jne 0x44ba46
lea edx, [ebp - 0x144]
push edx
push str.keep_alive
push str.Connection
mov ecx, esi
call fcn.00491450
lea eax, [ebp - 0x144]
push eax
push str.Upgrade_Insecure_Requests
mov ecx, esi
call fcn.0048fa10
test al, al
jne 0x44ba75
lea ecx, [ebp - 0x144]
push ecx
push 0x6548c8
push str.Upgrade_Insecure_Requests
mov ecx, esi
call fcn.00491450
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0
call fcn.0046df00
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
jmp 0x44baaa
push 1
push str.User_Agent
lea ecx, [esi + 0x17a8]
call fcn.0048fd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret 4

Function at 0x44cd30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ada5b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x68683c]
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]
mov ecx, esi
call fcn.0044eee0
cmp byte [0x687829], 0
jne 0x44cdce
push 0x200
push 0
push 0x687470
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push 0x687470
mov dword [ebp - 0x12c], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x44cdc7
mov ecx, dword [0x5ccb98]
mov edx, dword [0x5ccb9c]
mov ax, word [0x5ccba0]
mov dword [0x687470], ecx
mov dword [0x687474], edx
mov word [0x687478], ax
mov byte [0x687829], 1
lea ecx, [ebp - 0x128]
call fcn.00412fd0
push 0x687470
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00415f50
lea ecx, [ebp - 0x128]
call fcn.00414880
push eax
mov ecx, esi
call fcn.0044f4b0
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x44e100
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x6c], edx
jbe 0x44e2d7
mov ebx, dword [edi + 0xc]
mov edi, edi
mov al, byte [ebx + edx]
movzx ecx, al
movzx ecx, byte [ecx + 0x5ccc20]
test ecx, ecx
jne 0x44e170
cmp al, 0x41
jb 0x44e139
cmp al, 0x5a
jbe 0x44e176
cmp al, 0x61
jb 0x44e141
cmp al, 0x7a
jbe 0x44e176
cmp al, 0x30
jb 0x44e149
cmp al, 0x39
jbe 0x44e176
cmp al, 0x3d
je 0x44e176
cmp al, 0x3f
je 0x44e176
cmp al, 0x26
je 0x44e176
cmp al, 0x2f
je 0x44e176
cmp al, 0x2d
je 0x44e176
cmp al, 0x5f
je 0x44e176
cmp al, 0x25
je 0x44e176
cmp al, 0x2e
je 0x44e176
cmp al, 0x7e
je 0x44e176
inc esi
jmp 0x44e176
lea esi, [esi + ecx + 1]
add edx, ecx
inc edx
cmp edx, dword [edi + 0x6c]
jb 0x44e120
test esi, esi
je 0x44e2d7
lea eax, [esi + esi + 4]
mov dword [ebp - 0x10], eax
add eax, dword [edi + 0x6c]
push eax
call fcn.00422360
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44e1a6
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
xor esi, esi
mov dword [ebp - 4], edx
cmp dword [edi + 0x6c], edx
jbe 0x44e28c
mov eax, dword [edi + 0xc]
mov al, byte [edx + eax]
movzx ecx, al
movzx ecx, byte [ecx + 0x5ccc20]
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x44e230
cmp al, 0x41
jb 0x44e1d5
cmp al, 0x5a
jbe 0x44e226
cmp al, 0x61
jb 0x44e1dd
cmp al, 0x7a
jbe 0x44e226
cmp al, 0x30
jb 0x44e1e5
cmp al, 0x39
jbe 0x44e226
cmp al, 0x3d
je 0x44e226
cmp al, 0x3f
je 0x44e226
cmp al, 0x26
je 0x44e226
cmp al, 0x2f
je 0x44e226
cmp al, 0x2d
je 0x44e226
cmp al, 0x5f
je 0x44e226
cmp al, 0x25
je 0x44e226
cmp al, 0x2e
je 0x44e226
cmp al, 0x7e
je 0x44e226
lea edx, [esi + ebx + 1]
movzx eax, al
push edx
push eax
mov byte [esi + ebx], 0x25
call fcn.004218f0
add esp, 8
add esi, 3
inc dword [ebp - 4]
jmp 0x44e280
mov byte [esi + ebx], al
inc esi
inc edx
mov dword [ebp - 4], edx
jmp 0x44e280
lea eax, [ecx + 1]
xor edi, edi
test eax, eax
je 0x44e273
lea esp, [esp]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea edx, [edi + ecx]
mov ecx, dword [eax + 0xc]
mov al, byte [edx + ecx]
lea edx, [esi + ebx + 1]
movzx eax, al
push edx
push eax
mov byte [esi + ebx], 0x25
call fcn.004218f0
mov eax, dword [ebp - 8]
inc edi
inc eax
add esp, 8
add esi, 3
cmp edi, eax
jb 0x44e240
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
lea eax, [edx + ecx + 1]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [edi + 0x6c]
jb 0x44e1b6
mov byte [esi + ebx], 0
cmp byte [edi + 9], 0
mov dword [edi + 0x6c], esi
je 0x44e2b0
test esi, esi
je 0x44e2b0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x44e2b0
push esi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x64]
test eax, eax
je 0x44e2c8
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov ecx, dword [edi + 0x6c]
add ecx, dword [ebp - 0x10]
mov dword [edi + 0x64], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x68], ecx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4552d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x455487
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x455487
xor edx, edx
mov dword [ebp - 0x68], edx
xor eax, eax
xor ecx, ecx
mov edx, 0x23
mov dword [ebp - 0x6c], 0x250024
mov dword [ebp - 0x64], 0x270026
mov dword [ebp - 0x60], 0x290028
mov dword [ebp - 0x5c], 0x10000
mov dword [ebp - 0x58], 0x30002
mov dword [ebp - 0x54], 0x50004
mov dword [ebp - 0x50], 0x70006
mov dword [ebp - 0x4c], 0x90008
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x2a0000
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0xa0000
mov dword [ebp - 0x38], 0xc000b
mov dword [ebp - 0x34], 0xe000d
mov dword [ebp - 0x30], 0x10000f
mov dword [ebp - 0x2c], 0x120011
mov dword [ebp - 0x28], 0x140013
mov dword [ebp - 0x24], 0x160015
mov dword [ebp - 0x20], 0x180017
mov dword [ebp - 0x1c], 0x1a0019
mov dword [ebp - 0x18], 0x1c001b
mov dword [ebp - 0x14], 0x1e001d
mov dword [ebp - 0x10], 0x20001f
mov dword [ebp - 0xc], 0x220021
mov word [ebp - 8], dx
cmp edi, 2
jb 0x455487
movzx eax, byte [esi]
cmp edi, 3
jb 0x45542d
cmp eax, 0x28
jb 0x4553c9
cmp eax, 0x5a
jbe 0x4553ce
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
movzx eax, word [ebp + ecx*2 - 0x6c]
movzx ecx, byte [esi + 1]
cmp ecx, 0x28
jb 0x4553e7
cmp ecx, 0x5a
jbe 0x4553ec
mov ecx, 0x28
add ecx, 0xffffffd8
movzx ecx, cx
movzx edx, word [ebp + ecx*2 - 0x6c]
movzx ecx, byte [esi + 2]
cmp ecx, 0x28
jb 0x455405
cmp ecx, 0x5a
jbe 0x45540a
mov ecx, 0x28
imul eax, eax, 0x2b
add eax, edx
imul eax, eax, 0x2b
add ecx, 0xffffffd8
movzx ecx, cx
add ax, word [ebp + ecx*2 - 0x6c]
mov ecx, ebx
movzx edx, ax
push edx
add esi, 3
call fcn.00420440
jmp 0x455476
cmp eax, 0x28
jb 0x455437
cmp eax, 0x5a
jbe 0x45543c
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
movzx eax, word [ebp + ecx*2 - 0x6c]
movzx ecx, byte [esi + 1]
cmp ecx, 0x28
jb 0x455455
cmp ecx, 0x5a
jbe 0x45545a
mov ecx, 0x28
mov dl, 0x2b
imul dl
add ecx, 0xffffffd8
movzx ecx, cx
add al, byte [ebp + ecx*2 - 0x6c]
mov ecx, ebx
movzx eax, al
push eax
add esi, 2
call fcn.0041c5d0
cmp edi, 3
jbe 0x455487
sub edi, 3
cmp edi, 2
jae 0x4553b7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x456480
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0xc
test ecx, ecx
jne 0x456495
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ecx], 0
test eax, eax
je 0x45662f
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x45662f
lea edx, [eax + eax*4]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + 4]
push esi
push eax
mov dword [ecx], eax
call fcn.00422360
mov esi, eax
add esp, 4
test esi, esi
jne 0x4564db
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
push edi
xor edi, edi
xor ecx, ecx
shr edx, 1
mov dword [ebp - 0xc], edx
je 0x45657a
mov dword [ebp - 4], edx
jmp 0x456500
movzx eax, byte [edi + ebx]
movzx edx, byte [edi + ebx + 1]
movzx ebx, byte [edi + ebx + 2]
mov dword [ebp - 8], ebx
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x5cd210]
mov byte [ecx + esi], bl
mov ebx, edx
sar ebx, 4
and eax, 3
and ebx, 0xf
shl eax, 4
or ebx, eax
movzx eax, byte [ebx + 0x5cd210]
mov byte [ecx + esi + 1], al
mov eax, dword [ebp - 8]
and edx, 0xf
mov ebx, eax
sar ebx, 6
add edx, edx
and ebx, 3
add edx, edx
or ebx, edx
mov dl, byte [ebx + 0x5cd210]
mov ebx, dword [ebp + 8]
mov byte [ecx + esi + 2], dl
and eax, 0x3f
movzx eax, byte [eax + 0x5cd210]
mov byte [ecx + esi + 3], al
add edi, 3
add ecx, 4
dec dword [ebp - 4]
jne 0x456500
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
lea edx, [edx + edx*2]
sub eax, edx
dec eax
je 0x4565ec
dec eax
jne 0x45661b
movzx eax, byte [edi + ebx]
movzx edi, byte [edi + ebx + 1]
mov edx, eax
sar edx, 2
and edx, 0x3f
movzx edx, byte [edx + 0x5cd210]
mov byte [ecx + esi], dl
mov edx, edi
sar edx, 4
and eax, 3
and edx, 0xf
shl eax, 4
or edx, eax
mov al, byte [edx + 0x5cd210]
mov byte [ecx + esi + 1], al
and edi, 0xf
movzx edx, byte [edi*4 + 0x5cd210]
mov byte [ecx + esi + 2], dl
mov edx, dword [ebp + 0x10]
mov byte [ecx + esi + 3], 0x3d
add ecx, 4
pop edi
mov byte [ecx + esi], 0
mov eax, esi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx eax, byte [edi + ebx]
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [edx + 0x5cd210]
and eax, 3
mov byte [ecx + esi], dl
shl eax, 4
mov al, byte [eax + 0x5cd210]
mov byte [ecx + esi + 1], al
mov word [ecx + esi + 2], 0x3d3d
add ecx, 4
mov edx, dword [ebp + 0x10]
pop edi
mov byte [ecx + esi], 0
mov eax, esi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4739d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af5a1
mov eax, dword fs:[0]
push eax
mov eax, 0x1354
call fcn.005a7190
mov eax, dword [0x68683c]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x112c]
call fcn.00412fd0
push edi
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0
call fcn.00416ec0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x112c]
call fcn.00417130
lea ecx, [ebp - 0x112c]
call fcn.004154b0
cmp eax, 0x104
jle 0x473b39
lea ecx, [ebp - 0x1244]
call fcn.00412fd0
lea ecx, [ebp - 0x1244]
mov byte [ebp - 4], 1
call fcn.00413280
lea eax, [ebp - 0x1360]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push 0x800
lea ecx, [ebp - 0x112c]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [ebp - 0x1244]
test eax, eax
je 0x473aa4
lea edx, [ebp - 0x1014]
push edx
call fcn.004168c0
mov bl, 1
jmp 0x473ab2
lea eax, [ebp - 0x112c]
push eax
call fcn.004136e0
xor bl, bl
lea ecx, [ebp - 0x135c]
call fcn.00412fd0
mov byte [ebp - 4], 2
test bl, bl
je 0x473ad5
push 0x602cf4
lea ecx, [ebp - 0x135c]
call fcn.00416270
lea ecx, [ebp - 0x1244]
call fcn.00414880
push eax
lea ecx, [ebp - 0x135c]
call fcn.00416270
lea ecx, [ebp - 0x135c]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x473b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x473b14
mov esi, 1
test esi, esi
lea ecx, [ebp - 0x135c]
setne bl
mov byte [ebp - 4], 1
call fcn.00413060
lea ecx, [ebp - 0x1244]
mov byte [ebp - 4], 0
call fcn.00413060
jmp 0x473b87
lea ecx, [ebp - 0x112c]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x473b84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x473b78
push edi
mov ecx, esi
call fcn.0045a0c0
lea ecx, [ebp - 0x112c]
push ecx
push str.failedToDeleteFilepath
mov ecx, esi
call fcn.00459a10
cmp edi, 2
jne 0x473b82
mov ebx, 1
test ebx, ebx
setne bl
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x474440
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af656
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x68683c]
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, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, edi
mov dword [ebp - 0x244], eax
mov dword [esi], 0xffffffff
call fcn.00414eb0
test al, al
je 0x4744b0
test ebx, ebx
je 0x4744a9
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.GetAttributes:_filename_is_empty
mov ecx, ebx
call edx
xor al, al
jmp 0x474578
lea ecx, [ebp - 0x128]
call fcn.00412fd0
push edi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00416ec0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00417130
lea ecx, [ebp - 0x128]
call fcn.004154b0
test eax, eax
jle 0x474537
lea ecx, [ebp - 0x240]
call fcn.00412fd0
push ebx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov byte [ebp - 4], 1
call fcn.00473880
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x240]
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.00413060
jmp 0x47454b
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x474561
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x244]
mov dword [edx], eax
cmp dword [esi], 0xffffffff
lea ecx, [ebp - 0x128]
setne bl
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x4745a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af696
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x68683c]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.00412fd0
xor ebx, ebx
push edi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], ebx
call fcn.00416ec0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00417130
lea ecx, [ebp - 0x128]
call fcn.004154b0
test eax, eax
jle 0x474659
lea ecx, [ebp - 0x240]
call fcn.00412fd0
push ebx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov byte [ebp - 4], 1
call fcn.00473880
add esp, 0xc
push ebx
lea ecx, [ebp - 0x240]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x240]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00413060
jmp 0x47466e
push ebx
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
cmp edi, ebx
jne 0x4746bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x474695
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
mov al, 1
jmp 0x4746d2
cmp esi, ebx
je 0x4746b9
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.createDirWin32
mov ecx, esi
call eax
mov ecx, esi
call fcn.00459fd0
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
cmp edi, ebx
lea ecx, [ebp - 0x128]
setne bl
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x4746f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af6d6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x68683c]
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 ecx, [ebp - 0x128]
call fcn.00412fd0
xor ebx, ebx
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], ebx
call fcn.00416ec0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00417130
push ebx
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.00473bc0
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00414eb0
test al, al
jne 0x4747ba
lea ecx, [ebp - 0x240]
call fcn.00412fd0
push ebx
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x128]
push edx
mov byte [ebp - 4], 1
call fcn.00473880
mov eax, dword [ebp + 0xc]
add esp, 0xc
push eax
lea ecx, [ebp - 0x240]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x240]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00413060
jmp 0x4747d2
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
cmp esi, ebx
lea ecx, [ebp - 0x128]
setne bl
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret

Function at 0x4749d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ada5b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68683c]
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 ecx, [ebp - 0x128]
call fcn.00412fd0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.004134c0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [ebp - 0x128]
setne bl
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret

Function at 0x474a70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af74b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x68683c]
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 ecx, [ebp - 0x128]
call fcn.00412fd0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.004134c0
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x128]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x474b00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af7ac
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x68683c]
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, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x474], eax
call fcn.00412fd0
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.00412fd0
push esi
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00416ec0
push edi
lea ecx, [ebp - 0x240]
call fcn.00416ec0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00417130
push 0x5c
push 0x2f
lea ecx, [ebp - 0x240]
call fcn.00417130
lea ecx, [ebp - 0x128]
call fcn.00414eb0
test al, al
je 0x474bda
lea ecx, [ebp - 0x240]
call fcn.00414eb0
test al, al
je 0x474bda
lea ecx, [ebp - 0x240]
call fcn.00415830
push eax
lea ecx, [ebp - 0x128]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x474c66
lea ecx, [ebp - 0x358]
call fcn.00412fd0
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 2
call fcn.00412fd0
push 0
lea ecx, [ebp - 0x358]
push ecx
lea edx, [ebp - 0x128]
push edx
mov byte [ebp - 4], 3
call fcn.00473880
push 0
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.00473880
add esp, 0x18
lea ecx, [ebp - 0x470]
call fcn.00415830
push eax
lea ecx, [ebp - 0x358]
call fcn.00415830
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [ebp - 0x470]
setne bl
mov byte [ebp - 4], 2
call fcn.00413060
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call fcn.00413060
test bl, bl
jne 0x474c79
mov ecx, dword [ebp - 0x474]
test ecx, ecx
je 0x474c79
call fcn.00459fd0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.00413060
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00413060
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.005a6cf8
mov esp, ebp
pop ebp
ret

Function at 0x475800
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474b00
Function at 0x479f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afba3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0047b290
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.0044c470
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi], vtable.AsyncProgressEvent.1.0
mov dword [esi + 0x10], vtable.AsyncProgressEvent.0
call fcn.00475f00
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov byte [esi + 0x48], 1
mov byte [esi + 0xc], 1
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

Function at 0x47c9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x47ca28
mov edx, dword [ebp + 0xc]
xor cl, cl
xor eax, eax
test edx, edx
je 0x47ca26
push ebx
push esi
mov esi, dword [ebp + 8]
jmp 0x47ca10
movzx ebx, byte [eax + esi]
movzx ecx, cl
xor ebx, ecx
mov cl, byte [ebx + 0x682370]
inc eax
cmp eax, edx
jb 0x47ca10
pop esi
pop ebx
mov byte [edi], cl
pop edi
pop ebp
ret