joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403930
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 0
push edi
jne 0x403951
push esi
call fcn.00403560
mov dword [esi + 0x14], 1
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ebx, edi
jl 0x4039c6
mov eax, dword [esi + 0x10]
add eax, dword [esi + 4]
mov ecx, edi
sub eax, ebx
dec ecx
je 0x4039b3
dec ecx
je 0x40399e
sub ecx, 2
je 0x40398b
push edi
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.CRTDLL.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ax, word [eax]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov dl, byte [eax]
mov eax, dword [esp + 0x14]
mov byte [eax], dl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esi + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
sub ecx, ebx
add ecx, dword [esi + 4]
push ebx
push ecx
push ebp
call sub.CRTDLL.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
sub edi, ebx
add ebp, ebx
push 0
cmp edi, eax
jl 0x403a0f
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
mov dword [esi + 0xc], 0
pop esi
add eax, ebx
pop ebx
ret 0xc
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esi]
push edx
push eax
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 0x403a32
mov edi, eax
mov ecx, dword [esi + 4]
push edi
push ecx
push ebp
call sub.CRTDLL.dll_memcpy
sub dword [esi + 0xc], edi
add esp, 0xc
pop ebp
lea eax, [ebx + edi]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [0x848520], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x429158]
mov edx, dword [0x42915c]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
call fcn.00401260
mov eax, dword [0x429160]
mov ecx, dword [0x429164]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x848520]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401348
push 0
lea edx, [ebp - 0x438]
push edx
push 0
call ebx
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x848520]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401362
mov dword [0x847abc], 0xedeb2e40
jmp 0x401374
cmp ecx, 0x3eb
jne 0x401374
mov dword [0x847470], 0
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov esi, edi
shr esi, cl
mov dword [0x847ab8], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x848520], 0x9e6
jne 0x4013ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x848520], 0x121
jne 0x401412
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x848520], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401456
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x848520]
mov ecx, dword [0x847474]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x401504
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x848520], 0x959
jne 0x4014ee
push 0
push 0
call esi
push str.magubidowofanelocidegezifi_wuf_kogizanubobowufefore_taroyopopusenexokuraxupamocor
push 0
push 0
call edi
push 0
push 0
push str.cimiyuvipu
push str.kofegezadojupirucosopigerasicoc
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x848520], 0x400
push esi
push edi
jne 0x401803
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.00401900
mov ecx, esi
call fcn.00401920
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
nop
cmp esi, 0xa50
jge 0x401823
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401839
cmp edi, 0x78d9a205
jne 0x401842
inc esi
cmp esi, 0x1c5d
jl 0x401810
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x40186f
inc esi
cmp esi, 0x4f6a4
jl 0x401850
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
cmp esi, 0x2b259d
jle 0x401894
cmp ebx, 0x785074d5
jne 0x40189d
inc esi
cmp esi, 0x11915
jl 0x401880
mov edx, dword [0x42939c]
mov dword [0x848520], edx
call fcn.00401540
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
lea ebx, [ebx]
cmp dword [0x848520], 0x51f
jne 0x4018dc
push 0
lea eax, [ebp - 0x824]
push eax
push 0x425e18
call esi
sub edi, 1
jne 0x4018c0
mov eax, dword [0x847474]
mov dword [0x847ab4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4042cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4287a8]
jne 0x4042d5
repz ret
jmp fcn.00408dcc
Function at 0x40b15a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f76
and dword [ebp - 4], 0
cmp dword [0x42a22c], 0
mov ebx, eax
jne 0x40b20b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2bc
push eax
call fcn.00404f04
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a22c], eax
call esi
push eax
call fcn.00404f04
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a230], eax
call esi
push eax
call fcn.00404f04
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a234], eax
call esi
push eax
call fcn.00404f04
pop ecx
mov dword [0x42a23c], eax
test eax, eax
je 0x40b20b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f04
pop ecx
mov dword [0x42a238], eax
mov eax, dword [0x42a238]
cmp eax, ebx
je 0x40b263
cmp dword [0x42a23c], ebx
je 0x40b263
push eax
call fcn.00404f7f
push dword [0x42a23c]
mov esi, eax
call fcn.00404f7f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b263
test edi, edi
je 0x40b263
call esi
test eax, eax
je 0x40b25a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b25a
test byte [ebp - 0xc], 1
jne 0x40b263
or dword [ebp + 0x10], 0x200000
jmp 0x40b29c
mov eax, dword [0x42a230]
cmp eax, ebx
je 0x40b29c
push eax
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b29c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b29c
mov eax, dword [0x42a234]
cmp eax, ebx
je 0x40b29c
push eax
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b29c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a22c]
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b2bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414734
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x414755
jl 0x41474c
test edi, edi
jne 0x414755
xor eax, eax
xor edx, edx
jmp 0x414816
cmp dword [ebx + 0x38], 0
je 0x41476a
push eax
push edi
push dword [ebp + 8]
call fcn.0041481c
jmp 0x414816
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4147b1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4147b1
cmp eax, edi
jb 0x41478b
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0046c000
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4147b7
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x41480b
mov ecx, ebx
call fcn.00413fba
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4147f6
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00477017
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x41480b
jmp 0x4147c9
test edx, edx
je 0x41480b
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00477017
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x41eac0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41eb6f
push esi
call fcn.00432df0
add esp, 4
test al, al
jne 0x41eb6f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41eae7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0043c620
add esp, 0xc
test eax, eax
je 0x41eb1b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0043c620
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41eb1d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x41eb4e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.0042fc90
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x41eb30
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42c9d0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x499d24
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x42c9ea
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x499d40
push esi
call fcn.0047b3a0
add esp, 8
test eax, eax
je 0x42ca32
test ebp, ebp
je 0x42ca23
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x42ca58
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ca58
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x42cb0f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ca75
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x4b100c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42cb05
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42cb05
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42caa7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cac0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x42cad0
test ebp, ebp
je 0x42cafc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4b1010]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x4b1010]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x432fa0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x432fde
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x432fcf
push 0
call fcn.00432fa0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x104], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x432ff3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret

Function at 0x433d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4b13c0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp byte [eax + 0x6cb], 0
je 0x433f42
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x433f41
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call fcn.00440ed0
add esp, 0xc
test eax, eax
jg 0x433f41
lea eax, [esp + 0x34]
push eax
push ebx
push 0x17
call fcn.00440ed0
add esp, 0xc
test eax, eax
jg 0x433f41
cmp byte [ebx], 0
mov eax, str._none_
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp]
cmovne eax, ebx
mov ebp, dword [esp + 0x14]
push eax
push str.Host__s:_d_was_resolved.
push ebp
call fcn.0042a2c0
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.0041f960
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0041f960
add esp, 0x20
test esi, esi
je 0x433eb4
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x433e28
cmp ecx, 2
jne 0x433ea9
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x433e57
sub ecx, 0x15
jne 0x433e6f
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x433e67
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call fcn.0045c250
add esp, 0x10
push ebx
call fcn.0041f980
add esp, 4
test eax, eax
je 0x433e8e
push 2
push 0x499914
push ebx
call fcn.0041f920
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x433ed4
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0041f8d0
mov edi, eax
add esp, 8
test edi, edi
jne 0x433ed4
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x433e17
lea eax, [esp + 0x24]
push eax
call fcn.0041f980
add esp, 4
test eax, eax
je 0x433ee4
lea eax, [esp + 0x24]
push eax
call fcn.0041f990
add esp, 4
jmp 0x433ee9
push str.too_many_IP__cant_show
push ebp
call fcn.0042a2c0
add esp, 8
jmp 0x433f29
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.0042a2c0
lea eax, [esp + 0x20]
push eax
call fcn.0041f980
add esp, 0x10
test eax, eax
je 0x433f15
lea eax, [esp + 0x14]
push eax
call fcn.0041f990
add esp, 4
jmp 0x433f1a
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.0042a2c0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0041f930
lea eax, [esp + 0x28]
push eax
call fcn.0041f930
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.0046a6e8
add esp, 0x6c
ret
Function at 0x43cd80
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0041ee20
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.00482110
push dword [esp + 0x40]
mov edi, eax
call fcn.00482110
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x43ce15
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0041ee20
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0041eed0
add esp, 0x20
test edx, edx
ja 0x43ce39
jb 0x43ce07
cmp eax, 0x3e8
ja 0x43ce39
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x43cdd0
test edi, edi
je 0x43ce22
push edi
call fcn.00476052
add esp, 4
test esi, esi
je 0x43ce2f
push esi
call fcn.00476052
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x43ce46
push edi
call fcn.00476052
add esp, 4
test esi, esi
je 0x43ce53
push esi
call fcn.00476052
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x43d330
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x43d4bf
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43d4aa
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43d38c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d380
sub eax, edx
inc eax
jmp 0x43d38e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x43d39f
lea ebp, [ecx + 0xe]
jmp 0x43d3ab
cmp ecx, 0x17
jne 0x43d44c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x43d44c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43d44c
cmp ecx, ebp
jb 0x43d44c
add eax, 0x20
add eax, ebp
push eax
call dword [0x4b100c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43d49b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.0046c000
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x43d438
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0046c000
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x43d448
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43d372
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x43d46c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x43d4a6
test edi, edi
je 0x43d48b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x4b1010]
add esp, 4
mov edi, esi
test esi, esi
jne 0x43d474
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x43d45b
test edi, edi
jne 0x43d4b6
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x43d8c0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.004785bd
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x43d8e6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x43d930
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x43d9e0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.00424480
add esp, 0xc
cmp eax, 4
je 0x43d973
mov ecx, eax
jmp 0x43d99d
cmp byte [0x4b2aa8], 0
jne 0x43d9a7
push 2
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x43d9e2
mov eax, dword [esp + 0x1c]
jmp 0x43d9c4
imul eax, dword [0x4b2aa4], 0x41c64e6d
add eax, 0x3039
mov dword [0x4b2aa4], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x43d9d8
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x43d9c8
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x43d950
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43d9f0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x43da6b
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop word [eax + eax]
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00424480
add esp, 0xc
cmp eax, 4
jne 0x43da4c
cmp byte [0x4b2aa8], 0
jne 0x43da75
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x43da70
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x43da10
xor edx, edx
div ebp
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x43da10
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
imul eax, dword [0x4b2aa4], 0x41c64e6d
add eax, 0x3039
mov dword [0x4b2aa4], eax
ror eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x43da54

Function at 0x43daa0
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.0046c5a0
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret