joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4274a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov edi, 0x400
lea esi, [edi - 1]
push esi
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.005306b0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x427620
push edi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.005306b0
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00533027
add esp, 0x1c
jmp 0x427550
lea eax, [esp + 0x20]
cmp dword [esp + 0xc], eax
je 0x427524
push dword [esp + 0xc]
call fcn.0053061e
pop ecx
add edi, edi
push edi
push 1
call fcn.00530848
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0xc], eax
je 0x4275ef
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
lea ecx, [edi - 1]
push ecx
push eax
call fcn.00533027
add esp, 0x10
test eax, eax
jl 0x427510
push dword [esp + 0xc]
call fcn.00530f70
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [esp + 0x18], ebx
pop ecx
mov dword [esp + 0x18], eax
jle 0x4275d7
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push 0x32
pop ebx
cmp dword [esp + 0x10], ebx
jg 0x427583
mov ebx, dword [esp + 0x10]
xor esi, esi
test ebx, ebx
jle 0x4275c1
mov ecx, dword [esp + 0xc]
lea edi, [ecx + eax]
push 0
mov eax, ebx
sub eax, esi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x427604
cmp esi, ebx
jge 0x4275b9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, dword [esp + 0x1c]
cmp esi, ebx
jl 0x427590
mov eax, dword [esp + 0x18]
sub dword [esp + 0x10], 0x32
add eax, 0x32
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x427576
lea eax, [esp + 0x20]
cmp dword [esp + 0xc], eax
je 0x4275eb
push dword [esp + 0xc]
call fcn.0053061e
pop ecx
xor eax, eax
jmp 0x427630
lea eax, [edi + edi]
push eax
push str.Send___FAILED:_Could_not_parse_large_email_because_OUT_OF_MEMORY:_Could_not_allocate__d_bytes.
call fcn.0042b70b
pop ecx
pop ecx
push 8
pop eax
jmp 0x427630
lea eax, [esp + 0x20]
cmp dword [esp + 0xc], eax
je 0x427618
push dword [esp + 0xc]
call fcn.0053061e
pop ecx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
jmp 0x427630
push str.A_NULL_format_was_passed_into_SendMails_Send__
call fcn.0042bd38
pop ecx
mov eax, 0x2726
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret
Function at 0x427645
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x1ff
xor ebx, ebx
push edi
lea eax, [ebp - 0x207]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x208], bl
call fcn.005306b0
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x210], ebx
je 0x4277b5
cmp byte [esi], bl
je 0x4277b5
call fcn.004fa8e4
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x210]
push eax
push 0x4004667f
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp dword [ebp - 0x210], ebx
ja 0x4276c3
xor esi, esi
jmp 0x4276e0
push ebx
push edi
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x4277a9
call fcn.004fa8e4
sub eax, dword [ebp - 0x20c]
cmp eax, dword [ebp + 0xc]
jbe 0x4276f9
cmp dword [ebp + 0xc], ebx
jne 0x4277a2
cmp esi, ebx
jg 0x427707
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4276a2
mov byte [ebp + esi - 0x208], bl
jmp 0x427774
push dword [ebp - 0x214]
call fcn.00530f70
push eax
push dword [ebp - 0x214]
lea eax, [ebp - 0x208]
push eax
call fcn.00533508
add esp, 0x10
test eax, eax
je 0x4277b1
cmp dword [ebp + 0xc], 0x3e8
jbe 0x427754
lea esi, [ebp - 0x208]
call fcn.00427810
test eax, eax
je 0x427754
mov dword [ebp + 0xc], 0x3e8
lea ecx, [ebp - 0x208]
call fcn.004cd99a
call fcn.004fa8e4
sub eax, dword [ebp - 0x20c]
cmp eax, dword [ebp + 0xc]
jbe 0x427774
cmp dword [ebp + 0xc], ebx
jne 0x427785
lea eax, [ebp - 0x208]
push eax
call fcn.00530f70
test eax, eax
pop ecx
ja 0x427710
call fcn.004fa8e4
sub eax, dword [ebp - 0x20c]
cmp eax, dword [ebp + 0xc]
jbe 0x4276a2
cmp dword [ebp + 0xc], ebx
je 0x4276a2
mov eax, 0x274c
jmp 0x4277ba
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
jmp 0x4277ba
xor eax, eax
jmp 0x4277ba
mov eax, 0x2726
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x42cffa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.004ccc0d
test eax, eax
je 0x42d015
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [0x60df34], 0
je 0x42d022
xor eax, eax
jmp 0x42d010
mov ecx, dword [ebp + 8]
push 0
xor edx, edx
mov dword [0x60df34], 1
call fcn.004328fa
cmp eax, dword [ebp + 0xc]
pop ecx
ja 0x42d049
xor eax, eax
and dword [0x60df34], 0
jmp 0x42d010
push dword [ebp + 8]
call fcn.00433510
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x42d05d
or eax, 0xffffffff
jmp 0x42d040
mov edi, dword [ebx]
cmp edi, dword [ebp + 0xc]
ja 0x42d06d
push ebx
call fcn.0053061e
pop ecx
jmp 0x42d058
mov esi, edi
sub esi, dword [ebp + 0xc]
cmp byte [esi + ebx + 4], 0xa
je 0x42d08a
mov eax, dword [ebp + 0xc]
shr eax, 2
mov ecx, edi
inc esi
sub ecx, eax
cmp esi, ecx
jb 0x42d072
jmp 0x42d08b
inc esi
mov ecx, dword [ebp + 8]
push 0x4e6
push str..Error.c
mov edx, 0x54f4b4
call fcn.00434df1
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
je 0x42d064
push eax
sub edi, esi
push edi
lea eax, [esi + ebx + 4]
push 1
push eax
call fcn.00531aad
mov ecx, dword [ebp - 4]
call fcn.00435239
push ebx
call fcn.0053061e
xor eax, eax
add esp, 0x14
inc eax
jmp 0x42d040
Function at 0x42ef8c
Capabilities:
Download url
Receive data

Disassembly:
push 0x22c
push 0x5eeec8
call fcn.00549b0c
mov esi, dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 0x128], bl
mov edi, 0x103
push edi
push ebx
lea eax, [ebp - 0x127]
push eax
call fcn.005306b0
add esp, 0xc
mov byte [ebp - 0x230], bl
push edi
push ebx
lea eax, [ebp - 0x22f]
push eax
call fcn.005306b0
add esp, 0xc
mov dword [ebp - 0x234], 1
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x42eff5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x80070057
jmp 0x42f102
mov edx, dword [esi]
call fcn.004ccc0d
test eax, eax
jne 0x42efe4
mov eax, dword [esi]
mov dword [ebp - 0x23c], eax
mov edi, dword [esi + 4]
mov dword [ebp - 0x238], edi
push eax
mov esi, 0x104
mov ecx, esi
lea eax, [ebp - 0x128]
call fcn.004ccc3f
pop ecx
mov dword [ebp - 0x23c], eax
cmp edi, ebx
je 0x42f046
push edi
mov ecx, esi
lea eax, [ebp - 0x230]
call fcn.004ccc3f
pop ecx
mov edi, eax
mov dword [ebp - 0x238], edi
mov eax, dword [0x60df44]
lea ecx, [eax + 0xf]
mov eax, dword [0x60df40]
cmp eax, ecx
jle 0x42f069
mov dword [0x60df44], eax
push eax
push str.:8:URLDownloadToFileTimeOut_Helper___has_determined_that_over__d_helper_threads_may_be_stuck_
call fcn.0042bd38
pop ecx
pop ecx
inc dword [0x60df40]
call fcn.00432263
test eax, eax
je 0x42f07f
mov eax, edi
call fcn.004314ff
lea eax, [ebp - 0x128]
push eax
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
call esi
push ebx
push ebx
push edi
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x128]
push eax
call esi
dec dword [0x60df40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x60df3c], eax
call fcn.00432263
test eax, eax
je 0x42f0d7
push ebx
xor edx, edx
mov ecx, edi
call fcn.004328fa
pop ecx
cmp eax, 5
jae 0x42f0f5
mov dword [ebp - 0x234], 0x80004005
jmp 0x42f0f5
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x234]
call fcn.00549b54
ret 4
Function at 0x42faf9
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, 0x103
push ebx
xor edi, edi
lea eax, [ebp - 0x113]
push edi
push eax
mov byte [ebp - 0x114], 0
call fcn.005306b0
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x358]
push edi
push eax
mov dword [ebp - 0x35c], edi
call fcn.005306b0
add esp, 0xc
mov edx, esi
mov dword [ebp - 0x360], edi
call fcn.004ccc0d
test eax, eax
je 0x42fb65
or eax, 0xffffffff
jmp 0x42fcb5
push esi
mov ecx, 0x104
lea eax, [ebp - 0x114]
call fcn.004ccc3f
pop ecx
mov edx, eax
call fcn.004cd7e8
mov esi, edx
call fcn.004cd889
push 0x22
mov edi, esi
call fcn.004cd66d
pop ecx
mov eax, edi
push eax
dec esi
call fcn.00530f70
cmp byte [eax + esi], 0x2a
pop ecx
je 0x42fbd6
mov eax, edi
push eax
call fcn.00530f70
cmp byte [eax + esi], 0x5c
pop ecx
je 0x42fbc0
push 0x55f6cc
mov eax, 0x104
mov esi, edi
call fcn.004ccd0f
pop ecx
push 0x552e64
mov eax, 0x104
lea esi, [ebp - 0x114]
call fcn.004ccd0f
pop ecx
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x42fcb5
lea edx, [ebp - 0x330]
call fcn.004ccc0d
test eax, eax
jne 0x42fc92
cmp byte [ebp - 0x330], 0x2e
je 0x42fc92
cmp dword [ebp + 0xc], eax
je 0x42fc21
test byte [ebp - 0x35c], 2
jne 0x42fc92
test byte [ebp - 0x35c], 0x10
je 0x42fc8c
cmp dword [ebp + 0x10], eax
je 0x42fc92
push ebx
push eax
lea eax, [ebp - 0x21b]
push eax
mov byte [ebp - 0x21c], 0
call fcn.005306b0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.005312a0
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004cd0b7
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp + 0xc]
push eax
call fcn.0042faf9
add esp, 0xc
add dword [ebp - 0x360], eax
jmp 0x42fc92
inc dword [ebp - 0x360]
lea eax, [ebp - 0x35c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42fbf7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x360]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x430397
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x8d]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x7c], edi
mov byte [ebp + 0x8c], bl
call fcn.005306b0
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.005306b0
add esp, 0x18
mov edx, edi
call fcn.004ccc0d
test eax, eax
jne 0x4304c5
mov edx, dword [ebp - 0x80]
call fcn.004ccc0d
test eax, eax
jne 0x4304c5
push dword [ebp - 0x80]
lea edi, [esi + 1]
mov ecx, edi
lea eax, [ebp + 0x8c]
call fcn.004ccc3f
mov edx, eax
call fcn.004cd7e8
mov esi, edx
call fcn.004cd889
mov eax, esi
push eax
call fcn.00530f70
pop ecx
pop ecx
jmp 0x430449
lea ecx, [ebp + eax + 0x8c]
cmp byte [ecx], 0x5c
jne 0x43044e
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x43043b
lea esi, [ebp + 0x8c]
call fcn.004ccf41
push dword [ebp - 0x7c]
mov ecx, edi
lea eax, [ebp - 0x78]
call fcn.004ccc3f
mov edx, eax
call fcn.004cd7e8
mov esi, edx
call fcn.004cd889
mov eax, esi
push eax
call fcn.00530f70
pop ecx
pop ecx
jmp 0x43048b
lea ecx, [ebp + eax - 0x78]
cmp byte [ecx], 0x5c
jne 0x430490
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x430480
lea eax, [ebp - 0x78]
call fcn.004ccf84
mov edx, eax
lea ecx, [ebp + 0x8c]
call fcn.004cd1ce
cmp dword [ebp + 0x1a0], ebx
lea eax, [ebp + 0x8c]
je 0x4304c1
push 0xb
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x4304c7
push 0xa
jmp 0x4304b5
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
add ebp, 0x194
leave
ret
Function at 0x4304df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x15]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x14], edi
mov byte [esp + 0x1c], 0
call fcn.005306b0
add esp, 0xc
push edi
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.004ccc3f
pop ecx
mov esi, eax
call fcn.004cd889
push 0
push 0x5c
call fcn.004cd934
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4305a5
test al, 0x10
je 0x4305a5
mov eax, esi
push 1
push eax
call fcn.00430603
mov eax, esi
push 1
push eax
call fcn.0043061f
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov dword [esp + 0xc], eax
jne 0x43059f
lea edi, [esp + 0x10]
call fcn.00432263
test eax, eax
je 0x43059f
push dword [esp + 0xc]
mov eax, edi
push str._GetLastError_
push eax
push dword [esp + 0x14]
push str.:3:DeleteDirectory___s___FAILED:_DeleteFiles___s___1__0__FAILED:__s_ld
call fcn.0042b70b
add esp, 0x14
push dword [esp + 0xc]
jmp 0x4305cf
xor esi, esi
cmp eax, 0xffffffff
je 0x4305cd
call fcn.00432263
test eax, eax
je 0x4305cd
push edi
call fcn.00432310
test eax, eax
pop ecx
jne 0x4305cd
push edi
push str.:3:DeleteDirectory___s___FAILED:_The_given_file_is_not_a_directory_
call fcn.0042b70b
pop ecx
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret
Function at 0x430d9d
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
call fcn.004ccc0d
test eax, eax
jne 0x430ed2
mov edx, dword [ebp + 0xc]
call fcn.004ccc0d
test eax, eax
jne 0x430ed2
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x20
push 3
push ebx
push 7
push 0x80
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x430e4f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x430e21
mov dword [ebp - 8], 1
jmp 0x430e4a
cmp dword [0x5fb6e4], ebx
je 0x430e4a
push str._GetLastError_
push dword [ebp + 0x10]
mov dword [0x5fb6e4], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:6:CopyFileWithDates___s_____s____d__encountered_a_problem:_GetFileTime___FAILED:__s
call fcn.0042b70b
add esp, 0x14
call fcn.00435716
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00431386
add esp, 0xc
test eax, eax
je 0x430ed2
cmp dword [ebp - 8], ebx
jne 0x430e6e
xor eax, eax
inc eax
jmp 0x430ed4
push ebx
push SQLGetDiagRec
push 3
push ebx
push 7
push 0x100
push dword [ebp + 0xc]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x430e69
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x430ecb
inc dword [0x60df54]
cmp dword [0x60df54], 0xa
jge 0x430ecb
push str._GetLastError_
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:6:_1_of_10:_CopyFileWithDates___s_____s____d__encountered_a_problem:_SetFileTime___FAILED:__s
call fcn.0042b70b
add esp, 0x14
call fcn.00435716
jmp 0x430e69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431386
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov dword [ebp - 0x114], ebx
call fcn.004ccc0d
test eax, eax
jne 0x4314ee
mov edx, edi
call fcn.004ccc0d
test eax, eax
jne 0x4314ee
push ebx
call fcn.00530f70
mov esi, 0x104
cmp eax, esi
pop ecx
jae 0x4314a3
push edi
call fcn.00530f70
cmp eax, esi
pop ecx
jae 0x4314a3
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x43149e
push edi
call fcn.00432310
test eax, eax
pop ecx
je 0x43146c
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.005306b0
add esp, 0xc
push dword [ebp - 0x114]
mov ecx, esi
lea eax, [ebp - 0x110]
call fcn.004ccc3f
pop ecx
mov esi, eax
call fcn.004ccf41
mov edx, esi
call fcn.004ccc0d
test eax, eax
jne 0x4314ee
mov edx, edi
mov ecx, esi
call fcn.004cd1ce
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x4314f0
cmp dword [ebp + 0x10], 0
jne 0x4314ee
call fcn.00432263
test eax, eax
je 0x4314ee
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x4314ee
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
jmp 0x43145f
xor eax, eax
inc eax
jmp 0x4314f0
mov eax, ebx
call fcn.004cfb60
mov esi, eax
mov eax, edi
call fcn.004cfb60
test esi, esi
mov edi, eax
je 0x4314e3
test edi, edi
je 0x4314dc
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
mov ebx, eax
call fcn.0053061e
pop ecx
push edi
call fcn.0053061e
pop ecx
mov eax, ebx
jmp 0x4314f0
push esi
call fcn.0053061e
pop ecx
test edi, edi
je 0x4314ee
push edi
call fcn.0053061e
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret

Function at 0x4314ff
Capabilities:
Delete file

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.004ccc0d
test eax, eax
je 0x431513
xor eax, eax
jmp 0x43154f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x43154c
call fcn.00432263
test eax, eax
je 0x43154c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x43150f
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
jmp 0x43154f
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x432310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x432327
test al, 0x10
je 0x432327
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x4324b6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.005306b0
push esi
lea eax, [esp + 0x161]
push ebx
push eax
mov byte [esp + 0x168], bl
call fcn.005306b0
push 0x13c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.005306b0
add esp, 0x24
cmp edi, ebx
je 0x432608
cmp byte [edi], bl
je 0x432608
push edi
lea ecx, [esi + 1]
lea eax, [esp + 0x25c]
call fcn.004ccc3f
push eax
lea eax, [esp + 0x158]
push eax
call fcn.005312a0
add esp, 0xc
lea esi, [esp + 0x150]
call fcn.004ccf41
mov eax, dword [0x60df44]
lea ecx, [eax + 0xf]
mov eax, dword [0x60df40]
cmp eax, ecx
jle 0x432580
push eax
push str.:8:DoesFileExist_Helper___has_determined_that_over__d_helper_threads_may_be_stuck_
mov dword [0x60df44], eax
call fcn.0042bd38
pop ecx
pop ecx
inc dword [0x60df40]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x60df40]
mov esi, eax
cmp esi, 0xffffffff
je 0x432608
cmp byte [esp + 0x3c], 0x2e
je 0x4325f1
lea edx, [esp + 0x3c]
call fcn.004ccc0d
test eax, eax
jne 0x4325f1
cmp byte [esp + 0x150], 0x2a
jne 0x432621
cmp byte [esp + 0x152], 0x2a
jne 0x432621
cmp byte [esp + 0x151], 0x3f
je 0x432621
movsx eax, byte [esp + 0x151]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005313b0
test eax, eax
pop ecx
pop ecx
jne 0x432621
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4325a6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x43260a
Function at 0x43262d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
je 0x4327d5
cmp byte [edi], 0x30
je 0x4327d5
mov esi, 0x104
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
push edi
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.004ccc3f
pop ecx
push 0x22
mov edi, eax
call fcn.004cd66d
cmp dword [ebp + 8], ebx
pop ecx
jbe 0x4326b8
push 0xf7b
push str..File.c
mov eax, edi
push eax
push 0x432822
push ebx
mov ecx, str.CreateDirectorySuper
call fcn.0043556e
mov edi, eax
jmp 0x4326ba
xor edi, edi
cmp edi, ebx
jne 0x432718
cmp dword [ebp + 8], ebx
jbe 0x4326e1
push str._GetLastError_
push ecx
call fcn.00412e07
pop ecx
push eax
push dword [esp + 0x18]
push str.:8:CreateDirectorySuper___FAILED_to_create_thread_to_create_directory___s_._NumThreads_d:__s
call fcn.0042b70b
add esp, 0x10
push ebx
push dword [esp + 0x14]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x432710
cmp eax, 0x50
je 0x432710
cmp eax, 0xb7
je 0x432710
cmp eax, 0x4c7
je 0x432710
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4327d5
xor eax, eax
inc eax
jmp 0x4327d7
call fcn.004fa8e4
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
jmp 0x43274d
cmp dword [esp + 0xc], 0x103
jne 0x432784
call fcn.004fa8e4
sub eax, dword [esp + 0x14]
cmp eax, dword [ebp + 8]
ja 0x43275b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
push eax
push edi
call esi
test eax, eax
jne 0x43272d
jmp 0x432784
push dword [esp + 0x10]
call fcn.004fa8e4
sub eax, dword [esp + 0x18]
push eax
push str.:5:CreateDirectorySuper___timed_out_after__ldms_while_creating___s_
call fcn.0042bd38
add esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [0x60df3c], 0x5b4
call fcn.00435716
push dword [0x60df3c]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [esp + 0xc], ebx
jne 0x432710
mov eax, dword [esp + 0x10]
call fcn.004327ec
test eax, eax
jne 0x4327cd
push dword [0x60df3c]
push str._GetLastError_
push dword [ebp + 8]
push dword [esp + 0x1c]
push str.:3:FYI:_CreateDirectorySuper__s___lu___FAILED:__s_ld
call fcn.0042bd38
add esp, 0x14
push dword [0x60df3c]
call esi
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret