joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a47
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
sub esi, edx
push edi
xor edi, edi
cmp edx, dword [ebp + 0xc]
cmova esi, eax
test esi, esi
je 0x405a77
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x405a62
jmp 0x405a79
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
ret 8

Function at 0x40752f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x407551
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040760d
jmp 0x407608
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x407572
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x407574
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x4075fc
jg 0x407587
test esi, esi
je 0x4075fc
test ecx, ecx
jl 0x4075c9
jg 0x407591
test eax, eax
je 0x4075c9
cmp ebx, ecx
jg 0x4075a3
jl 0x40759b
cmp esi, eax
jae 0x4075a3
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00717660
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x4075cf
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x4075fc
jg 0x4075d9
test esi, esi
je 0x4075fc
cmp dword [edi + 0x4c], 0
je 0x4075fc
mov ecx, edi
call fcn.0040622b
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.007210aa
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
leave
ret 0xc

Function at 0x40d343
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 5
mov ebx, eax
xor edi, edi
cmp byte [ebp + 8], 0
pop eax
cmovne edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret
Function at 0x4207b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ecx - 1]
mov ebx, edx
mov dword [ebp - 8], edi
sar ebx, 1
mov eax, edi
mov dword [ebp - 4], edx
cmp edi, ebx
jge 0x42081b
mov ecx, dword [ebp + 8]
lea esi, [eax + eax]
lea eax, [esi + 2]
imul eax, eax, 0x1c
add ecx, eax
lea eax, [ecx - 0x1c]
push eax
call fcn.00428d1b
movzx eax, al
inc esi
xor eax, 1
imul edi, edi, 0x1c
add eax, esi
imul esi, eax, 0x1c
mov dword [ebp + 0xc], eax
add edi, dword [ebp + 8]
mov ecx, edi
add esi, dword [ebp + 8]
push esi
call fcn.004026f7
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov edi, eax
cmp eax, ebx
jl 0x4207d2
mov ecx, dword [ebp + 0x10]
cmp eax, ebx
jne 0x420845
test cl, 1
jne 0x420845
imul eax, ecx, 0x1c
mov ecx, dword [ebp + 8]
imul edi, edi, 0x1c
lea esi, [ecx - 0x1c]
add esi, eax
add edi, ecx
push esi
mov ecx, edi
call fcn.004026f7
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov edi, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp - 8]
push edi
push ecx
call fcn.004208fa
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4430f7
Capabilities:
Enumerate processes

Disassembly:
push 0x2a0
mov eax, 0x78f5a1
call fcn.006fee7b
mov dword [ebp - 0x298], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x443161
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
call fcn.00410f08
lea ecx, [ebp - 0x294]
call fcn.0040c459
mov eax, edi
jmp 0x4432f6
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x443185
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x443141
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x298]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x288]
push eax
call fcn.00441482
test ebx, ebx
jle 0x4431d2
cmp dword [ebp - 0x288], ebx
jne 0x443282
mov eax, dword [ebp - 0x26c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x288]
mov ecx, edi
call fcn.00442fd9
test al, al
jne 0x443259
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x260]
push eax
call fcn.0043da4c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00409030
pop ecx
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004026f7
lea ecx, [ebp - 0x58]
call fcn.004036d4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00406385
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x294]
call fcn.00441449
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004036d4
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4431a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x298]
lea esi, [ebx + 4]
push esi
call fcn.0040353e
pop ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebx + 0x34]
call fcn.0040dd3a
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x294]
push eax
call fcn.00410f08
push esi
mov byte [ebp - 4], 4
call fcn.0040355d
pop ecx
lea ecx, [ebp - 0x2ac]
call fcn.0040630b
lea ecx, [ebp - 0x294]
call fcn.0040c459
mov eax, dword [ebp - 0x2a0]
call fcn.006fee25
ret 8
Function at 0x443b98
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x443bf9
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop ebx
sete al
xor ecx, ebp
call fcn.006fedff
leave
ret
Function at 0x4492e0
Capabilities:
Copy file

Disassembly:
push 0xf4
mov eax, 0x7903f7
call fcn.006fee7b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x100], edi
call fcn.004090c3
mov ebx, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004090c3
add esp, 0x10
mov edi, eax
push 0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00448d01
cmp dword [ebx + 0x14], 8
mov cl, al
jb 0x44933a
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x449342
mov edi, dword [edi]
xor eax, eax
test cl, cl
sete al
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
lea ecx, [ebp - 0x28]
cmp esi, 1
sete bl
call fcn.00406385
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00406385
cmp esi, 1
je 0x4493ef
call fcn.004056b5
push 2
pop esi
push esi
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404c30
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], esi
push str.Failed_to_copy_from_
push eax
call fcn.00401b53
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._due_to
push dword [ebp - 0xfc]
push 0x7bca30
push dword [ebp - 0x100]
push esi
call fcn.00403c14
pop ecx
pop ecx
push eax
call fcn.00401b53
pop ecx
pop ecx
push eax
call fcn.00403c14
pop ecx
pop ecx
push eax
call fcn.00401b53
pop ecx
pop ecx
mov ecx, eax
call fcn.00412dee
lea ecx, [ebp - 0xf8]
call fcn.00404f66
mov al, bl
call fcn.006fee25
ret

Function at 0x4493f7
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004090c3
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x44941e
mov eax, dword [eax]
push ebx
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00406385
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
Function at 0x44969f
Capabilities:
Get disk size

Disassembly:
push 0x6c
mov eax, 0x7904b5
call fcn.006fee7b
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], ebx
push eax
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x64], xmm0
call fcn.00408517
and dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004090c3
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4496ed
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00406385
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004036d4
test esi, esi
jne 0x4497c5
push dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
push eax
call fcn.00449a3c
pop ecx
pop ecx
xor eax, eax
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], esi
je 0x449785
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408517
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x78], 1
call fcn.004090c3
add esp, 0x10
cmp dword [eax + 0x14], 8
push 3
pop ebx
jb 0x44976a
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x449785
mov byte [ebp - 0x5c], 0
test bl, 2
je 0x449795
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.00406385
test bl, 1
je 0x4497a2
lea ecx, [ebp - 0x58]
call fcn.004036d4
cmp byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
je 0x4497c0
or eax, 0xffffffff
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.004036d4
jmp 0x4497f2
call fcn.004036d4
mov ecx, dword [ebp - 0x6c]
mov eax, ecx
mov edx, dword [ebp - 0x68]
or eax, edx
jne 0x4497e1
cmp dword [ebp - 0x64], eax
jne 0x4497db
cmp dword [ebp - 0x60], eax
je 0x4497e1
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x74]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 0xc], eax
mov eax, edi
call fcn.006fee25
ret
Function at 0x449984
Capabilities:
Get file version info

Disassembly:
push 0x38
mov eax, 0x790512
call fcn.006fee7b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004090c3
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x29]
push eax
push esi
call fcn.00448e76
push dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x449a24
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x7bca54
push dword [ebp - 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449a24
cmp dword [ebp - 0x30], 0x34
jb 0x449a24
mov ecx, dword [ebp - 0x34]
mov bl, 1
movzx eax, word [ecx + 0xa]
mov dword [edi], eax
movzx eax, word [ecx + 8]
mov dword [edi + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [edi + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0x40]
call fcn.0040c404
lea ecx, [ebp - 0x28]
call fcn.00406385
mov al, bl
call fcn.006fee25
ret
Function at 0x449c73
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x254
mov eax, 0x790564
call fcn.006fee7b
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x260], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x9360d0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x8f33bc]
cmp eax, dword [ecx + 0xc]
jg 0x449dfa
cmp byte [0x8f33b8], 0
jne 0x449d52
cmp esi, 0x12
jne 0x449d16
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x7bca58
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00441059
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], 1
push 0x5c
mov ecx, esi
call fcn.00406cd8
push esi
mov ecx, ebx
call fcn.004020e8
lea ecx, [ebp - 0x234]
call fcn.004036d4
jmp 0x449df2
cmp esi, 0x13
jne 0x449d52
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str._CommonProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00441059
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], 2
jmp 0x449cf5
and dword [ebp - 0x260], 0
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0044a6f1
mov esi, eax
lea edi, [ebp - 0x244]
pop ecx
pop ecx
lea eax, [ebp - 0x260]
movsd dword es:[edi], dword [esi]
push eax
push 0
push 0
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x244]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x449de4
push dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
push eax
call fcn.00441059
pop ecx
pop ecx
mov esi, eax
push 0x5c
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00406cd8
push esi
lea ecx, [ebp - 0x234]
call fcn.004020e8
lea ecx, [ebp - 0x25c]
call fcn.004036d4
push dword [ebp - 0x260]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x234]
push eax
jmp 0x449cff
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, ebx
call fcn.006fee25
ret
mov edi, 0x8f33bc
push edi
call fcn.006ff6c2
cmp dword [0x8f33bc], 0xffffffff
pop ecx
jne 0x449cae
and dword [ebp - 4], 0
call fcn.0068d3c8
push edi
cmp dword [eax + 0x1c], 1
sete byte [0x8f33b8]
or dword [ebp - 4], 0xffffffff
call fcn.006ff678
pop ecx
jmp 0x449cae

Function at 0x44a136
Capabilities:
Get disk information

Disassembly:
push 0x4c
mov eax, 0x790627
call fcn.006fee7b
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00449a3c
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
jne 0x44a165
lea ecx, [ebp - 0x40]
call fcn.004036d4
jmp 0x44a1c0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408517
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004090c3
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00406385
lea ecx, [ebp - 0x58]
call fcn.004036d4
lea ecx, [ebp - 0x40]
call fcn.004036d4
cmp esi, 3
je 0x44a1be
cmp esi, 2
je 0x44a1be
cmp esi, 6
jne 0x44a1c0
mov bl, 1
mov al, bl
call fcn.006fee25
ret
Function at 0x44a1c8
Capabilities:
Create directory

Disassembly:
push 0x140
mov eax, 0x79066a
call fcn.006fee7b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x90]
mov esi, dword [ebp + 0xc]
push edi
push eax
call fcn.004497fa
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x90], ebx
jne 0x44a301
lea ecx, [ebp - 0x88]
call fcn.00447ab7
test al, al
je 0x44a213
mov bl, 1
jmp 0x44a301
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00408f42
pop ecx
pop ecx
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
je 0x44a2f1
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0044a1c8
pop ecx
pop ecx
test al, al
je 0x44a2f1
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004090c3
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x44a255
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x44a275
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x149], bl
cmp eax, 0xb7
jne 0x44a27c
mov byte [ebp - 0x149], 1
lea ecx, [ebp - 0x58]
call fcn.00406385
cmp byte [ebp - 0x149], 0
je 0x44a292
xor eax, eax
inc eax
jmp 0x44a2ef
call fcn.004056b5
push 2
push eax
lea ecx, [ebp - 0x148]
call fcn.00404c30
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 2
push str.Failed_to_create_directory_at_
push eax
call fcn.00401b53
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._due_to
push edi
push esi
call fcn.00403c14
pop ecx
pop ecx
push eax
call fcn.00401b53
pop ecx
pop ecx
mov ecx, eax
call fcn.00412dee
lea ecx, [ebp - 0x148]
call fcn.00404f66
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.004036d4
lea ecx, [ebp - 0x40]
call fcn.004036d4
lea ecx, [ebp - 0x80]
call fcn.004036d4
mov al, bl
call fcn.006fee25
ret

Function at 0x44a3bc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0xffffffff
jne 0x44a3cd
mov eax, dword [esi + 0x34]
jmp 0x44a449
mov ecx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
cdq
mov ebx, eax
mov eax, dword [ebp + 0x10]
add ebx, ecx
adc edx, eax
cmp dword [esi + 4], edx
jl 0x44a444
jg 0x44a3ec
cmp dword [esi], ebx
jb 0x44a444
xor ebx, ebx
cmp eax, ebx
ja 0x44a3fe
cmp ecx, 0x80000000
jae 0x44a3fe
push ebx
push ebx
jmp 0x44a406
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push ebx
push eax
push ecx
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x44a444
push ebx
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44a438
cmp dword [ebp + 0x14], edi
jne 0x44a444
xor eax, eax
jmp 0x44a447
test eax, eax
jne 0x44a444
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44a447
push 0x26
pop eax
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x44a44e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], eax
call fcn.00447b73
test al, al
jne 0x44a4a4
xor ebx, ebx
mov dword [esi], 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], bl
push eax
lea ecx, [esi + 4]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ebx
call fcn.004020e8
lea ecx, [ebp - 0x1c]
jmp 0x44a59e
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004090c3
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x44a4bb
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call fcn.00406385
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x44a4eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x44a483
mov eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push edi
push eax
mov dword [ebp - 0x44], edx
call fcn.00448e53
pop ecx
pop ecx
push ebx
mov edi, dword [eax]
lea ecx, [ebp - 0x34]
push edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], bl
call fcn.0040c4dd
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x40]
push ebx
push ecx
push edi
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push edi
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
cmp eax, 1
jne 0x44a566
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], eax
jne 0x44a574
lea eax, [ebp - 0x34]
mov dword [esi], ebx
push eax
lea ecx, [esi + 4]
call fcn.004020e8
jmp 0x44a59b
test eax, eax
jne 0x44a574
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x44a57a
mov dword [esi], 0x26
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
push eax
lea ecx, [esi + 4]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], bl
call fcn.004020e8
lea ecx, [ebp - 0x1c]
call fcn.004036d4
lea ecx, [ebp - 0x34]
call fcn.004036d4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret

Function at 0x44a627
Capabilities:
Move file

Disassembly:
push 0x34
mov eax, 0x7906c7
call fcn.006fee7b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004090c3
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004090c3
add esp, 0x10
cmp dword [edi + 0x14], 8
jb 0x44a65e
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x44a666
mov eax, dword [eax]
push 0xb
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x28]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00406385
lea ecx, [ebp - 0x40]
call fcn.00406385
mov al, bl
call fcn.006fee25
ret