joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a70
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467161
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x206
lea eax, [esp + 0x22e]
push edi
push eax
mov word [esp + 0x234], di
call fcn.00420780
push 0x206
lea ecx, [esp + 0x32]
push edi
push ecx
mov word [esp + 0x38], di
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0x14]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x18]
mov dword [esp + 0x440], edi
call fcn.00405b00
mov bl, 1
push 0x46a7dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], bl
call fcn.00405b00
cmp dword [esp + 0x444], edi
mov byte [esp + 0x43c], 2
push edi
je 0x408c5f
push 0x17
lea edx, [esp + 0x230]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x408bbc
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x24]
push str._s7654
push edx
call fcn.004206e5
add esp, 8
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405b00
mov ecx, esi
call fcn.00408610
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x24]
push str._s7654
push eax
call fcn.004206e5
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00405b00
mov ecx, esi
call fcn.00408610
lea eax, [esp + 0x20]
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x43c], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408be3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x43c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004206a6
add esp, 0x430
ret 4
push 2
lea ecx, [esp + 0x230]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x408b46
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x43c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408bd7
Function at 0x408ca0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467111
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1a]
push ebx
push eax
mov word [esp + 0x20], bx
call fcn.00420780
push 0x206
lea ecx, [esp + 0x22e]
push ebx
push ecx
mov word [esp + 0x234], bx
call fcn.00420780
add esp, 0x18
push 0x46a7dc
lea ecx, [esp + 0xc]
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], ebx
call fcn.00405b00
push 0x46a7dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 1
call fcn.00405b00
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
mov byte [esp + 0x440], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4089cc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push 0x46b78c
push ecx
call fcn.004206e5
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x18]
push 0x46b838
push eax
call fcn.00407b10
mov ecx, dword [esp + 0x20]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x430], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4089f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004206a6
add esp, 0x42c
ret
push esi
push 0
mov esi, ecx
call fcn.00408a70
push 1
mov ecx, esi
call fcn.00408a70
mov ecx, esi
pop esi
jmp 0x4088d0
Function at 0x409180
Capabilities:
Check if file exists
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x467351
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
mov edi, 7
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
push 0x206
lea eax, [esp + 0x72]
push esi
push eax
mov dword [esp + 0x28c], esi
mov word [esp + 0x78], si
call fcn.00420780
add esp, 0xc
push esi
push 0x26
lea ecx, [esp + 0x74]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x409206
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x58]
call fcn.00401d60
push 1
push 0x46b018
lea ecx, [esp + 0x58]
call fcn.004082a0
push 0x15
push str.7654BaoKu1.0.1.1027_
lea ecx, [esp + 0x58]
call fcn.004082a0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov word [esp + 0x28], si
call fcn.00401c70
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov word [esp + 0x44], si
call fcn.00401c70
push 0xf
push 0x46b964
lea ecx, [esp + 0x3c]
mov byte [esp + 0x288], 2
call fcn.004082a0
mov eax, dword [esp + 0x38]
mov ebx, 8
cmp dword [esp + 0x4c], ebx
jae 0x4092b3
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4092e0
cmp dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
jae 0x4092cc
lea eax, [esp + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00405b00
mov ecx, ebp
call fcn.00408610
cmp dword [esp + 0x4c], ebx
jb 0x4092f3
mov edx, dword [esp + 0x38]
push edx
call fcn.004176ed
add esp, 4
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x409313
mov eax, dword [esp + 0x1c]
push eax
call fcn.004176ed
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
jb 0x409333
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004176ed
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004206a6
add esp, 0x270
ret
Function at 0x409a30
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x824
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x12]
push ebx
push eax
mov word [esp + 0x18], bx
call fcn.00420780
push 0x206
lea ecx, [esp + 0x636]
push ebx
push ecx
mov word [esp + 0x63c], bx
call fcn.00420780
push 0x206
lea edx, [esp + 0x232]
push ebx
push edx
mov word [esp + 0x238], bx
call fcn.00420780
push 0x206
lea eax, [esp + 0x446]
push ebx
push eax
mov word [esp + 0x44c], bx
call fcn.00420780
add esp, 0x30
lea ecx, [esp + 0x624]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea edx, [esp + 0x420]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x41c]
push 0x5c
push eax
call fcn.004206b5
add eax, 2
lea edx, [esp + 0x14]
add esp, 8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x409af4
xor eax, eax
jmp 0x409b10
movzx ecx, word [esp + eax + 0x624]
mov word [esp + eax + 0x214], cx
add eax, 2
cmp cx, bx
jne 0x409b10
lea eax, [esp + 0xc]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409b30
lea edi, [esp + 0x214]
sub eax, edx
add edi, 0xfffffffe
jmp 0x409b50
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x409b50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00410c70
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409c47
push 0x206
lea edx, [esp + 0x12]
push ebx
push edx
mov word [esp + 0x18], bx
call fcn.00420780
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + 0x46b960]
mov word [esp + eax + 0xc], cx
add eax, 2
cmp cx, bx
jne 0x409ba1
lea eax, [esp + 0x214]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409bc0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x409bd4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
add edi, 0xfffffffe
jmp 0x409c00
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x409c00
mov eax, dword [0x46b960]
mov dword [edi], eax
lea edi, [esp + 0xc]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x409c20
mov ecx, 7
mov esi, str._UpUninstData
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
push ecx
movsw word es:[edi], word [esi]
call fcn.00410ad0
add esp, 4
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004206a6
add esp, 0x824
ret
Function at 0x40af30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4675f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47edd4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004050e0
mov ecx, eax
call fcn.0040eee0
mov ecx, eax
call fcn.0040f5d0
xor esi, esi
mov ebp, 7
mov ecx, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x40af90
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00401d60
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
mov word [esp + 0x28], si
call fcn.00401c70
push 0xd
push str.7654Setup.exe
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 1
call fcn.004082a0
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x40affa
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b027
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x40b013
lea eax, [esp + 0x54]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00405b00
mov ecx, ebx
call fcn.00408610
push str.1.0.1.1027
push str.7654BaoHe
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.0040aae0
mov edx, dword [esp + 0x48]
push esi
push 0x46a7dc
push edx
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.00402250
test eax, eax
je 0x40b080
cmp dword [esp + 0x4c], edi
mov eax, dword [esp + 0x38]
jae 0x40b06c
lea eax, [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00405b00
mov ecx, ebx
call fcn.00408610
cmp dword [esp + 0x4c], edi
jb 0x40b093
mov eax, dword [esp + 0x38]
push eax
call fcn.004176ed
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x40b0b3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004176ed
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
jb 0x40b0d3
mov edx, dword [esp + 0x54]
push edx
call fcn.004176ed
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004206a6
add esp, 0x68
ret

Function at 0x40f540
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.00420780
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x40f5b2
mov eax, dword [esp + 8]
test eax, eax
je 0x40f58e
cmp eax, 1
jne 0x40f5b2
cmp byte [esp + 0x11a], 1
jne 0x40f5b2
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004206a6
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.004206a6
add esp, 0x120
ret
Function at 0x40feb0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 8
jb 0x40fed2
mov eax, dword [esi + 0x24]
jmp 0x40fed5
lea eax, [esi + 0x24]
push str.Config
push eax
lea eax, [esp + 0xc]
push 0x46b7c4
push eax
call fcn.004206e5
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ff09
lea edx, [esp + 4]
push edx
call fcn.004109a0
add esp, 4
lea eax, [esp + 4]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40ff10
mov ecx, dword [str.Config.ini]
mov edx, dword [0x46c0b8]
mov dword [eax], ecx
mov ecx, dword [0x46c0bc]
mov dword [eax + 4], edx
mov edx, dword [0x46c0c0]
mov dword [eax + 8], ecx
mov ecx, dword [0x46c0c4]
mov dword [eax + 0xc], edx
mov dx, word [0x46c0c8]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 4]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ff60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x3c]
call fcn.00401d60
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.004206a6
add esp, 0x20c
ret

Function at 0x4100d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push 0
push 0x1a
lea eax, [esp + 0x10]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410100
sub eax, edx
sar eax, 1
je 0x4101bf
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410120
mov edx, dword [0x46b018]
lea eax, [esp + 0xc]
mov dword [edi], edx
add eax, 0xfffffffe
jmp 0x410140
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x410140
mov ecx, dword [str.7654]
mov dword [eax], ecx
mov ecx, dword [0x46bee0]
mov dword [eax + 4], ecx
mov cx, word [0x46bee4]
lea edi, [esp + 0xc]
mov word [eax + 8], cx
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410170
mov dword [edi], edx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
jne 0x41019b
lea eax, [esp + 8]
push eax
call fcn.004109a0
add esp, 4
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4101a2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x20]
call fcn.00401d60
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.004206a6
add esp, 0x210
ret
Function at 0x4101e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push 0
push 0x1a
lea eax, [esp + 0x10]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410210
sub eax, edx
sar eax, 1
je 0x4102ef
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410230
mov edx, dword [0x46b018]
lea eax, [esp + 0xc]
mov dword [edi], edx
add eax, 0xfffffffe
jmp 0x410250
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x410250
mov ecx, dword [str.7654.users]
mov dword [eax], ecx
mov ecx, dword [0x46c110]
mov dword [eax + 4], ecx
mov ecx, dword [0x46c114]
mov dword [eax + 8], ecx
mov ecx, dword [0x46c118]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x46c11c]
mov dword [eax + 0x10], ecx
mov cx, word [0x46c120]
lea edi, [esp + 0xc]
mov word [eax + 0x14], cx
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4102a0
mov dword [edi], edx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
jne 0x4102cb
lea eax, [esp + 8]
push eax
call fcn.004109a0
add esp, 4
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4102d2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
call fcn.00401d60
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.004206a6
add esp, 0x210
ret
Function at 0x4109a0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4109b0
sub eax, edx
sar eax, 1
mov ebp, eax
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004176e8
mov esi, eax
mov edx, esi
add esp, 4
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4109e5
xor edi, edi
test ebp, ebp
mov byte [esp + 0x10], 1
jl 0x410a4c
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [esi + edi*2], 0x5c
jne 0x410a2c
push esi
mov word [esi + edi*2], 0
call ebx
test eax, eax
jne 0x410a26
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x410a46
mov word [esi + edi*2], 0x5c
add edi, 1
cmp edi, ebp
jle 0x410a06
pop ebx
push esi
call fcn.004176ed
movzx eax, byte [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
ret
mov byte [esp + 0x14], 0
pop ebx
push esi
call fcn.004176ed
movzx eax, byte [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x410ad0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x828
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
mov esi, dword [esp + 0x830]
push 0x44
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00420780
xor eax, eax
push esi
lea ecx, [esp + 0x68]
push 0x46b720
push ecx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004206e5
add esp, 0x18
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410b62
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x828]
pop esi
xor ecx, esp
call fcn.004206a6
add esp, 0x828
ret
Function at 0x410c70
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
sub esp, 0x824
mov eax, dword [0x47edd4]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x206
lea eax, [esp + 0x16]
push ebp
push eax
mov word [esp + 0x1c], bp
call fcn.00420780
push 0x206
lea ecx, [esp + 0x63a]
push ebp
push ecx
mov word [esp + 0x640], bp
call fcn.00420780
push 0x206
lea edx, [esp + 0x236]
push ebp
push edx
mov word [esp + 0x23c], bp
call fcn.00420780
push 0x206
lea eax, [esp + 0x44a]
push ebp
push eax
mov word [esp + 0x450], bp
call fcn.00420780
add esp, 0x30
lea ecx, [esp + 0x628]
push ecx
push 0x104
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea edx, [esp + 0x424]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x420]
push 0x5c
push eax
call fcn.004206b5
add eax, 2
lea edx, [esp + 0x18]
add esp, 8
sub edx, eax
jmp 0x410d40
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x410d40
xor eax, eax
jmp 0x410d60
movzx ecx, word [esp + eax + 0x628]
mov word [esp + eax + 0x218], cx
add eax, 2
cmp cx, bp
jne 0x410d60
lea eax, [esp + 0x10]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x410d80
lea edi, [esp + 0x218]
sub eax, edx
add edi, 0xfffffffe
jmp 0x410da0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x410da0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebp
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x428]
push edx
call edi
test eax, eax
jne 0x410e4b
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
push 0x206
lea eax, [esp + 0x16]
push ebp
push eax
mov word [esp + 0x1c], bp
call fcn.00420780
push ebx
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x24]
push str._s.bak_d
push edx
call fcn.004206e5
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x238]
push ecx
call fcn.00421c9e
add esp, 0x24
push 5
push ebp
lea edx, [esp + 0x18]
push edx
call esi
cmp ebx, 0xa
jge 0x410e4b
push ebp
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x428]
push ecx
add ebx, 1
call edi
test eax, eax
je 0x410de0
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004206a6
add esp, 0x824
ret