joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424270
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4242a2
push esi
call fcn.004356f0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42429b
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x424325
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x424310
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x4242ca
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x42430a
cmp eax, 2
je 0x424310
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4242c0
cmp eax, 3
je 0x4242ed
cmp eax, 1
jne 0x4242c0
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x4242c0
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x4242c0
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.00424170
pop esi
ret 4
cmp ecx, 0xcc
je 0x42433c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.00424170
pop esi
ret 4
Function at 0x434e66
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x434e75
xor eax, eax
jmp 0x434f58
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x434f38
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
inc edx
dec edi
jne 0x434e95
pop edi
test eax, eax
je 0x434f52
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x451458]
inc edx
dec eax
jne 0x434f3c
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x4010cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458004]
jne 0x4010d6
repz ret
jmp fcn.004016e5

Function at 0x4056ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x458004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004044d5
and dword [ebp - 0x14], 0
cmp dword [0x45ab38], 0
mov dword [ebp - 0x18], eax
jne 0x40575e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405806
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405806
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45ab38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45ab3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45ab40], eax
call edi
push eax
call esi
mov dword [0x45ab48], eax
test eax, eax
je 0x40575e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45ab44], eax
mov eax, dword [0x45ab44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057b7
cmp dword [0x45ab48], ecx
je 0x4057b7
push eax
call esi
push dword [0x45ab48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057b7
test ebx, ebx
je 0x4057b7
call edi
test eax, eax
je 0x4057ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4057ae
test byte [ebp - 8], 1
jne 0x4057b7
or dword [ebp + 0x10], 0x200000
jmp 0x4057ea
mov eax, dword [0x45ab3c]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057ea
mov eax, dword [0x45ab40]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45ab38]
call esi
test eax, eax
je 0x405806
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405808
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010cc
leave
ret
Function at 0x44dad0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x44dae4
call fcn.0044da50
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x44dad7
pop esi
cmp ebx, 0x2d
jne 0x44dafe
mov dword [0x84bb98], 0xa62e7790
mov dword [0x84bb9c], 0xffffffff
ret

Function at 0x44db00
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x458004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x458db8]
push ebx
mov ebx, dword [0x84bb8c]
push edi
mov edi, dword [0x84970c]
call fcn.0044daa0
cmp dword [0x84bb8c], 0x2f
jne 0x44db6d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0044dad0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010cc
add esp, 0x24
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6f4c27e3
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x60874233
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42d7d0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d84c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408ec4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00408ca0
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x42d828
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408e78
jmp 0x42d834
mov eax, ebx
mov edx, 0x42d85c
call fcn.00408610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d853
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax

Function at 0x42f468
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f509
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x420cf8]
call fcn.0040b244
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x420cf8]
call fcn.0040b120
add esp, 4
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x42f4da
push 0
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WriteFile
mov ebx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, dword [0x420cf8]
call fcn.0040b244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f510
lea eax, [ebp - 4]
mov edx, dword [0x420cf8]
call fcn.0040b244
pop eax
jmp eax
Function at 0x42fa60
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.004082dc
xor eax, eax
push ebp
push 0x42fb5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov bl, 1
cmp dword [esi], 0xffffffff
jne 0x42facc
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004211a4
mov eax, dword [ebp - 0xc]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
jmp 0x42fb2a
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x42faee
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetEndOfFile
test eax, eax
jne 0x42fb38
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004211a4
mov eax, dword [ebp - 0x10]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
inc ebx
cmp bl, 0xb
jne 0x42fa91
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fb64
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00408298
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax

Function at 0x42fbe8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42fcd3
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [ebx]
lea edx, [ebp - 4]
mov eax, dword [ebx]
call fcn.00421f08
mov eax, 1
mov edx, dword [esi]
movzx edx, byte [edx]
mov ecx, dword [esi]
xor byte [ecx + eax], dl
inc eax
cmp eax, 0x10
jne 0x42fc12
xor eax, eax
mov edx, dword [esi]
movzx edx, byte [edx + eax]
shl edx, 4
movzx edx, dl
shr edx, 4
movzx ecx, dl
mov ebx, dword [esi]
movzx ecx, byte [ebx + ecx]
movzx edx, dl
mov ebx, dword [esi]
add ebx, edx
mov edx, dword [esi]
movzx edx, byte [edx + eax]
mov byte [ebx], dl
mov edx, dword [esi]
mov byte [edx + eax], cl
inc eax
cmp eax, 0x10
jne 0x42fc24
xor eax, eax
mov edx, dword [esi]
movzx edx, byte [edx + 0xf]
mov ecx, dword [esi]
xor byte [ecx + eax], dl
inc eax
cmp eax, 0xf
jne 0x42fc58
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 3]
shl edx, 6
movzx eax, dl
shr eax, 6
mov edx, eax
xor eax, eax
movzx ecx, dl
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
mov ebx, dword [esi]
xor byte [ebx + eax], cl
inc eax
cmp eax, 0x10
jne 0x42fc7d
xor eax, eax
mov edx, eax
and edx, 0x80000003
jns 0x42fca3
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx]
mov ecx, dword [esi]
xor byte [ecx + eax], dl
inc eax
cmp eax, 0x10
jne 0x42fc94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fcda
lea eax, [ebp - 4]
mov edx, dword [0x420cf8]
call fcn.0040b244
pop eax
jmp eax
Function at 0x43045c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea eax, [ebp + 0xc]
call fcn.004082dc
xor eax, eax
push ebp
push 0x430578
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov bl, 1
cmp dword [esi], 0xffffffff
jne 0x4304cd
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004211a4
mov eax, dword [ebp - 0x10]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
jmp 0x430545
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x430506
push 0
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x430506
cmp edi, dword [ebp - 0xc]
je 0x430553
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle
push 0x1f4
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
call fcn.004211a4
mov eax, dword [ebp - 0x14]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
inc ebx
cmp bl, 0xb
jne 0x430490
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43057f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408298
lea eax, [ebp + 0xc]
call fcn.00408210
pop eax
jmp eax
Function at 0x4307d4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea eax, [ebp + 8]
call fcn.004082dc
xor eax, eax
push ebp
push 0x4308eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov bl, 1
cmp dword [esi], 0xffffffff
jne 0x430843
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004211a4
mov eax, dword [ebp - 0x10]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
jmp 0x4308b8
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x43087c
push 0
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x43087c
cmp edi, dword [ebp - 0xc]
je 0x4308c6
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004211a4
mov eax, dword [ebp - 0x14]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
inc ebx
cmp bl, 0xb
jne 0x430808
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4308f2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408298
lea eax, [ebp + 8]
call fcn.00408210
pop eax
jmp eax
Function at 0x430b30
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x430b39
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.004082dc
lea eax, [ebp - 8]
call fcn.004082dc
xor eax, eax
push ebp
push 0x430c8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
cmp edi, 0xffffffff
jne 0x430baa
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004211a4
mov eax, dword [ebp - 0xc]
call fcn.00408ca0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
jne 0x430baa
mov edi, 0x80
mov eax, 1
and eax, edi
cmp eax, 1
jne 0x430c2c
and edi, 0xfffffffe
test edi, edi
jne 0x430bc2
mov edi, 0x80
push edi
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004211a4
mov eax, dword [ebp - 0x14]
call fcn.00408ca0
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004211a4
mov eax, dword [ebp - 0x1c]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x430c6e
jmp 0x430c6c
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004211a4
mov eax, dword [ebp - 0x24]
call fcn.00408ca0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x430c6e
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430c92
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00408298
pop eax
jmp eax

Function at 0x430e28
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004082dc
xor eax, eax
push ebp
push 0x430ebf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov bl, 0xa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00430ca0
mov eax, dword [ebp - 0x2c]
call fcn.00408ca0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x430e94
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x430e9f
push 0x64
call sub.kernel32.dll_Sleep
dec bl
jne 0x430e5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430ec6
lea eax, [ebp - 0x2c]
call fcn.00408210
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax
Function at 0x436e18
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x420d30]
call fcn.0040b244
mov eax, dword [ebp - 8]
mov edx, dword [0x420d30]
call fcn.0040b244
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x436f1b
xor edx, edx
push ebp
push 0x436f08
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x65c]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 0xc]
push eax
call sub.WS2_32.DLL_WSAIoctl
inc eax
je 0x436efe
mov eax, dword [ebp - 0x10]
mov ecx, 0x4c
cdq
idiv ecx
mov esi, eax
dec esi
test esi, esi
jl 0x436efe
inc esi
lea edi, [ebp - 0x658]
push esi
push edi
mov esi, edi
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp dword [ebp - 0x1c], 0x100007f
je 0x436ef8
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x19]
push eax
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 0x1b]
movzx ebx, byte [ebp - 0x1c]
mov edx, ebx
call fcn.00420e34
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x19]
push eax
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp - 0x1b]
mov edx, ebx
call fcn.00420e34
add edi, 0x4c
dec esi
jne 0x436eae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x436f12
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437e34
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x4448c4]
add eax, 0xcc
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x437e59
mov eax, dword [0x4448c4]
mov byte [eax + 0x9c], 1
ret

Function at 0x438b98
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004082dc
xor eax, eax
push ebp
push 0x438c2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov bl, 0xa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00438a10
mov eax, dword [ebp - 0x2c]
call fcn.00408ca0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x438c04
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x438c0f
push 0x64
call sub.kernel32.dll_Sleep
dec bl
jne 0x438bcd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438c36
lea eax, [ebp - 0x2c]
call fcn.00408210
lea eax, [ebp - 4]
call fcn.00408210
pop eax
jmp eax