joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436916
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x4c621c]
call fcn.0043e858
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x436a16
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x43696c
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x436964
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x4369ac
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x4369ee
push 0x22
pop edx
cmp cx, dx
je 0x43699e
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x43698e
xor ecx, ecx
cmp word [eax], cx
je 0x4369ee
mov ecx, eax
add eax, 2
jmp 0x4369f0
test dx, dx
je 0x4369f6
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x43699e
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x4369e4
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x4369ee
cmp cx, dx
je 0x4369e1
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4369d1
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x4369b6
jmp 0x43699e
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x4369f8
xor edx, edx
cmp dword [ebp], ebx
jne 0x436a01
test edi, edi
jne 0x436a1e
test edx, edx
je 0x436a06
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x43695a
test edi, edi
jne 0x436a2f
mov eax, ebx
jmp 0x436a33
test esi, esi
je 0x436a2f
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x436a33
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x437210
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x4c2350], 0
jne 0x43721e
call fcn.00437190
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x4c2354]
call esi
test eax, eax
jne 0x437241
call fcn.00437190
push dword [0x4c2354]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x437250
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x4372b0
mov ebx, 0x10
test edi, edi
jns 0x4372b9
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x437282
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4372d0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x4c2350], 0
jne 0x4372de
call fcn.00437190
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x4c2354]
call esi
mov edx, eax
test edx, edx
jne 0x437305
call fcn.00437190
push dword [0x4c2354]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x437338
mov ebx, 0x10
test esi, esi
jns 0x437341
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x437350
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x437f91
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push fcn.00437edc
push 0x10
push 0x2c
call fcn.0043ea9c
push 0
push 0
push 8
mov dword [0x4c2370], eax
call fcn.0043e8c3
cmp word [0x4c2368], 0
mov dword [0x4c6250], eax
jne 0x438076
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x437fe9
mov word [0x4c2368], di
jmp 0x437ff1
xor eax, eax
mov word [0x4c2368], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4c2384], eax
test eax, eax
je 0x438075
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x496cb8
push eax
call esi
push 0x496cc4
push dword [0x4c2384]
mov dword [0x4c2374], eax
call esi
push str.getnameinfo
push dword [0x4c2384]
mov dword [0x4c2378], eax
call esi
push str.WSAStringToAddressA
push dword [0x4c2384]
mov dword [0x4c237c], eax
call esi
cmp dword [0x4c2374], 0
mov dword [0x4c2380], eax
pop esi
je 0x438075
cmp dword [0x4c2378], 0
je 0x438075
cmp dword [0x4c237c], 0
je 0x438075
test eax, eax
je 0x438075
mov dword [0x4c236c], edi
pop edi
add esp, 0x190
ret
Function at 0x43841b
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x840
push ebx
push ebp
push esi
push edi
push dword [0x4c6250]
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.0043e858
mov ebp, dword [esp + 0x854]
xor edi, edi
inc edi
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp word [ebp + 0x20], di
jne 0x43848a
push esi
push esi
push dword [ebp]
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
cmp esi, 0xffffffff
je 0x4385ec
lea eax, [ebp + 0x28]
push 0x18
push eax
call fcn.0043f1d6
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x10], edi
mov dword [ecx], edi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebp
mov eax, dword [ebp + 0x24]
mov dword [ebx + 4], eax
mov dword [ebx], ecx
jmp 0x4385ec
cmp word [ebp + 0x22], si
je 0x4384be
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x1c
push eax
lea eax, [esp + 0x38]
push eax
push esi
push 0x800
lea eax, [esp + 0x60]
push eax
push dword [ebp]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4384ea
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x28]
push eax
push esi
push 0x800
lea eax, [esp + 0x60]
push eax
push dword [ebp]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
mov dword [esp + 0x14], eax
test edi, edi
jle 0x4385ec
lea ebx, [ebp + 0x28]
mov dword [esp + 0x10], 2
mov esi, dword [ebx]
jmp 0x43852e
xor eax, eax
cmp word [ebp + 0x22], ax
je 0x438513
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
jmp 0x43851b
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 0xc]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x438534
mov esi, dword [esi]
test esi, esi
jne 0x438501
jmp 0x43853e
lea ebx, [esi + 8]
test esi, esi
jne 0x43857d
lea ebx, [ebp + 0x28]
push 0x40
push ebx
call fcn.0043f1d6
mov ebx, eax
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov dword [ebx], eax
lea edi, [ebx + 4]
mov dword [ebx + 0x24], ebp
mov al, byte [ebp + 0x22]
mov byte [ebx + 0x20], al
xor eax, eax
cmp word [ebp + 0x22], ax
je 0x438573
push 7
pop ecx
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
jmp 0x43857f
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x43856d
xor eax, eax
cmp dword [ebx + 0x2c], 0
jne 0x4385ad
push edi
push eax
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
lea ecx, [esp + 0x54]
mov dword [ebx + 0x2c], eax
push ecx
push eax
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x4385e0
mov eax, dword [ebx + 0x30]
add eax, edi
push eax
push dword [ebx + 0x2c]
push 8
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
lea eax, [esp + 0x50]
push edi
push eax
mov eax, dword [ebx + 0x30]
add eax, ecx
mov dword [ebx + 0x2c], ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [ebx + 0x30], edi
mov eax, dword [esp + 0x20]
mov dword [eax], ebx
mov ecx, dword [ebp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x840
ret
Function at 0x438805
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
xor eax, eax
inc eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
cmp dword [edi], eax
jne 0x438888
mov esi, dword [edi + 8]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], esi
push eax
lea eax, [esi + 1]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x43887f
je 0x438884
lea eax, [ebp - 0x120]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x438884
lea eax, [ebp + 8]
push eax
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x43887f
cmp dword [ebp + 8], ebx
je 0x43887f
push 2
jmp 0x438881
push 4
pop esi
jmp 0x4388e2
mov esi, ebx
jmp 0x4388e2
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x800
lea eax, [ebp - 0x920]
push eax
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp + 8], eax
test eax, eax
jle 0x4388e2
push 2
pop esi
push eax
push ebx
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
push ecx
mov dword [edi + 0x30], ecx
lea ecx, [ebp - 0x920]
push ecx
push eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x438ec2
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
lea eax, [ebp - 0x100]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0xff
push eax
mov dword [0x4c6254], esi
mov dword [0x4c6264], esi
mov dword [0x4c6268], edi
mov dword [0x4c626c], esi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x438f6e
cmp edi, 0x10000000
jne 0x438f4a
cmp dword [0x4c236c], esi
je 0x438f6e
mov eax, dword [0x4c238c]
test eax, eax
je 0x438f26
push eax
call dword [0x4c2378]
mov dword [0x4c238c], esi
push 0x4c238c
push esi
push esi
lea eax, [ebp - 0x100]
push eax
call dword [0x4c2374]
test eax, eax
jne 0x438f6e
mov eax, dword [0x4c238c]
mov dword [0x4c626c], eax
jmp 0x438f6b
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x438f6e
push 0x10
push eax
push 0x4c6258
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43908b
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [esi], 1
jne 0x4390b1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
jmp 0x4390ee
cmp dword [esi + 0x2c], ebx
je 0x4390ee
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi + 0x30]
jle 0x4390c1
mov edi, dword [esi + 0x30]
push edi
push dword [esi + 0x34]
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0x30], edi
add esp, 0xc
add dword [esi + 0x34], edi
cmp dword [esi + 0x30], ebx
jne 0x4390ee
push dword [esi + 0x2c]
push ebx
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x2c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43917f
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, 0xffffffff
jne 0x4391a2
lea eax, [ebp + 0xc]
push eax
push 0x4004667f
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4391e9
push 2
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4391e2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2745
je 0x4391e6
cmp eax, 0x2746
je 0x4391e6
cmp eax, 0x2749
je 0x4391e6
cmp eax, 0x274a
je 0x4391e6
xor esi, esi
jmp 0x4391e9
test esi, esi
jne 0x4391e9
push 0xfffffffffffffffe
pop esi
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x4396b5
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
lea eax, [ebp - 0x40]
push 0x40
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 6
jne 0x4396e6
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x60]
jmp 0x439768
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x439742
mov eax, dword [ebp + 8]
sub eax, 0
je 0x43973a
dec eax
je 0x439732
dec eax
je 0x43972a
dec eax
je 0x439722
dec eax
je 0x43971a
dec eax
jne 0x439742
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x43976a
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x43976a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x43976a
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jmp 0x43976a
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jmp 0x43976a
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x43976a
cmp dword [ebp + 8], 7
jne 0x439766
push 0x2c
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x439766
mov eax, dword [ebp - 0x68]
jmp 0x439768
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x439a0b
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebp
mov ebp, eax
mov eax, dword [0x4c23a4]
push esi
test eax, eax
jne 0x439a30
push fcn.00439b38
push 0x10
push 0x258
call fcn.0043ea9c
mov dword [0x4c23a4], eax
push dword [esp + 0xc]
push eax
call fcn.0043ea08
mov esi, eax
test esi, esi
je 0x439b31
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x439a52
mov edi, 0x4966bc
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x439a62
xor eax, eax
cmp word [ebx], ax
jne 0x439a67
mov ebx, 0x4971a8
push edi
call sub.MSVCRT.dll_wcslen
push ebx
mov dword [esp + 0x24], eax
call sub.MSVCRT.dll_wcslen
add eax, dword [esp + 0x24]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x439b18
push edi
push eax
call sub.MSVCRT.dll_wcscpy
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
test eax, eax
je 0x439ac8
cmp word [edi + eax*2 - 2], 0x5c
mov edi, dword [esp + 0x18]
je 0x439acc
push 0x4971b0
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
jmp 0x439acc
mov edi, dword [esp + 0x18]
push ebx
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x439af0
xor eax, eax
mov ebp, esi
mov dword [esi + 4], eax
jmp 0x439b06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x439b04
mov dword [esi + 4], 1
mov ebp, esi
xor eax, eax
push edi
push eax
push dword [0x4c1d94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x439b2f
cmp dword [esp + 0x14], 0xffffffff
je 0x439b23
mov esi, dword [esp + 0x14]
push esi
push dword [0x4c23a4]
call fcn.0043e97a
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc

Function at 0x439dc9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x439e41
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x439e22
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x439e1f
cmp ecx, 0x5c
je 0x439e1f
cmp ecx, 0x2f
jne 0x439e2c
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x439e0c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x439e43
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43a1ed
Capabilities:
Copy file

Disassembly:
cmp dword [esp + 4], 0
je 0x43a20d
cmp dword [esp + 8], 0
je 0x43a20d
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x43a20f
xor eax, eax
ret 8

Function at 0x43a2b6
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x43a38b
push ebx
push edi
push pe_nt_image_headers32
push 3
push edi
push 3
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a38a
push esi
mov esi, dword [ebp + 0x10]
push esi
call fcn.0043c15c
push esi
mov word [ebp - 0x20], ax
call fcn.0043c182
push esi
mov word [ebp - 0x1e], ax
call fcn.0043c1a4
push esi
mov word [ebp - 0x1c], ax
call fcn.0043c1c5
push esi
mov word [ebp - 0x1a], ax
call fcn.0043c1e6
push esi
mov word [ebp - 0x18], ax
call fcn.0043c207
push esi
mov word [ebp - 0x16], ax
call fcn.0043c228
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp dword [ebp + 0xc], 1
mov eax, edi
mov ecx, edi
pop esi
jne 0x43a369
lea eax, [ebp - 8]
jmp 0x43a377
cmp dword [ebp + 0xc], 2
jne 0x43a374
lea ecx, [ebp - 8]
jmp 0x43a377
lea edi, [ebp - 8]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43a3ad
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x43a3d6
test byte [esp + 8], 2
je 0x43a3ca
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43a3d8
xor eax, eax
ret 8

Function at 0x43a9d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x43aa0c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x43b470
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0
jne 0x43b491
push esi
call fcn.0043a9d0
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
cmp ebx, edi
jl 0x43b505
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x43b4f2
dec ecx
je 0x43b4dd
sub ecx, 2
je 0x43b4ca
push edi
push eax
push dword [esp + 0x1c]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x14]
mov word [eax], cx
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x14]
mov dl, byte [eax]
mov eax, edi
mov byte [ecx], dl
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
ret 0xc
push ebp
mov ebp, dword [esp + 0x18]
sub eax, ebx
add eax, dword [esi + 4]
push ebx
push eax
push ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x43b54a
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
add eax, ebx
pop esi
pop ebx
ret 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp edi, eax
jle 0x43b56b
mov edi, eax
push edi
push dword [esi + 4]
push ebp
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0xc], edi
lea eax, [ebx + edi]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x43b590
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp dword [esi + 0x1c], 0
jne 0x43b697
cmp dword [esi + 0x14], 1
jne 0x43b5db
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x43b658
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x43b643
dec eax
je 0x43b62c
sub eax, 2
je 0x43b617
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.0043a9d0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x43b685
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x20]
add ecx, eax
jmp 0x43b601
xor eax, eax
pop esi
add esp, 0xc
ret 0xc