joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d37e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], 0x41
xor edx, edx
mov byte [ebp - 0x34], 5
mov byte [ebp - 0x33], 0x41
mov byte [ebp - 0x32], 0x2e
mov byte [ebp - 0x31], 0x41
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x41
mov byte [ebp - 0x2e], 0x38
mov byte [ebp - 0x2d], 0x41
mov byte [ebp - 0x2c], 0x2e
mov byte [ebp - 0x2b], 0x41
mov byte [ebp - 0x2a], 0x34
mov byte [ebp - 0x29], 0x41
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x41
mov byte [ebp - 0x26], 0x36
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x2f
mov byte [ebp - 0x21], 0x41
mov byte [ebp - 0x20], 0x35
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x35
mov byte [ebp - 0x1b], 0x41
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x41
mov byte [ebp - 0x16], 0x22
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0x2f
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x35
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0xe], 0x28
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x2f
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x34
mov byte [ebp - 9], 0x41
mov byte [ebp - 8], 0x24
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0x7e
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], 0x41
mov al, byte [ebp - 0x34]
mov byte [ebp - 3], 0
mov al, byte [ebp + edx - 0x34]
mov ecx, dword [ebp - 0x38]
xor cl, al
mov byte [ebp + edx - 0x34], cl
inc edx
cmp edx, 0x31
jb 0x40d458
lea eax, [ebp - 0x34]
mov byte [ebp - 3], 0
push eax
push 0x24
call fcn.0040d32b
sub eax, 6
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
leave
ret
Function at 0x4132cb
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x1d
jb 0x4132d1
pop edi
mov byte [esi + 0x21], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4132ef
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0xd
jb 0x4132f5
pop edi
mov byte [esi + 0x11], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x413330
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x1b
jb 0x413336
pop edi
mov byte [esi + 0x1f], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x413363
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0xb
jb 0x413369
pop edi
mov byte [esi + 0xf], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4133a4
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x25
jb 0x4133aa
pop edi
mov byte [esi + 0x29], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4133f5
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x81
jb 0x4133fb
pop edi
mov byte [esi + 0x85], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x41342d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x23
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x413436
pop edi
pop esi
mov byte [ecx + 0x27], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x41344e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x29
jb 0x413454
pop edi
mov byte [esi + 0x2d], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x413490
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x2f
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x413499
pop edi
pop esi
mov byte [ecx + 0x33], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x4134ce
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x19
jb 0x4134d4
pop edi
mov byte [esi + 0x1d], 0
lea eax, [esi + 4]
pop esi
ret
Function at 0x41352e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 9
jb 0x413534
pop edi
mov byte [esi + 0xd], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x413561
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x17
jb 0x413567
pop edi
mov byte [esi + 0x1b], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x413594
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x17
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x41359d
pop edi
pop esi
mov byte [ecx + 0x1b], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x4135b5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0xf
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x4135be
pop edi
pop esi
mov byte [ecx + 0x13], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x4135e5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x5b
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x4135ee
pop edi
pop esi
mov byte [ecx + 0x5f], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x413624
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 5
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x41362d
pop edi
pop esi
mov byte [ecx + 9], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x413663
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x27
lea esi, [ecx + 4]
pop ebx
mov dl, byte [esi]
mov eax, dword [ecx]
xor al, dl
mov byte [esi], al
inc esi
sub ebx, 1
jne 0x41366c
pop edi
pop esi
mov byte [ecx + 0x2b], bl
lea eax, [ecx + 4]
pop ebx
ret

Function at 0x413684
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x5b
jb 0x41368a
pop edi
mov byte [esi + 0x5f], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x4136a8
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x43
jb 0x4136ae
pop edi
mov byte [esi + 0x47], 0
lea eax, [esi + 4]
pop esi
ret
Function at 0x10005e38
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10005e77
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10005e77
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10005e77
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10005e77
cmp dword [ecx + 0x74], 0xe
jbe 0x10005e77
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10007a0a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100116c8
push 0x100116c0
push str.FlsAlloc
push 0x1f
call fcn.10007926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007a3e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f130]
call esi
jmp 0x10007a44
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007a88
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100116d8
push 0x100116d0
push str.FlsGetValue
push 0x21
call fcn.10007926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007abf
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007ac7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100116e0
push 0x100116d8
push str.FlsSetValue
push 0x22
call fcn.10007926
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007b01
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10009a0a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10009aa7
push ebx
push esi
call fcn.100099d3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10009967
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10009a54
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10009aa6
push edi
push eax
call fcn.10009c2d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10009a74
call fcn.100077d3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10009aa5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10009967
add esp, 0x20
test eax, eax
jne 0x10009a93
push edi
call fcn.100077d3
jmp 0x10009a9b
push ebx
call fcn.100077d3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000e560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e58d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e58d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x11524e7c
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7ce66531
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40be70
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40befc
push esi
call fcn.0041f9e0
add esp, 4
test al, al
jne 0x40befc
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40be93
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00428e90
add esp, 0xc
test eax, eax
je 0x40bec7
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00428e90
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40bec9
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x40bef5
mov al, byte [esi]
push eax
call fcn.0041bdf0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x40bed7
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x416d40
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x6db], 0
je 0x416ddd
cmp dword [esi + 0x1ac], 0
je 0x416d97
push esi
call fcn.00406d60
push 1
push esi
mov byte [esp + 0x14], al
call fcn.00406fe0
push dword [esi + 0x15c]
mov eax, dword [esi + 0x1ac]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.00406fe0
add esp, 0x28
pop esi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x416dac
sub eax, 1
je 0x416dac
sub eax, 1
jne 0x416ddd
push dword [esi + 0x158]
lea eax, [ecx*2 + 0x45c744]
push 1
add eax, ecx
push 2
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
push dword [esi + 0x158]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x20
pop esi
ret
Function at 0x418ba0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x418bba
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x45c974
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcspbrk
add esp, 8
test eax, eax
je 0x418c02
test ebp, ebp
je 0x418bf3
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_LoadLibraryW]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x418c28
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418c28
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_GetSystemDirectoryW]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x418d02
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418c45
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418cf8
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x418cf8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418c86
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418ca1
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x418cc0
test ebp, ebp
je 0x418cef
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x46c004]
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_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x46c004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x41f9e0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x41fa28
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00457062
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.00457062
add esp, 0x18
ret

Function at 0x41fb90
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41fbce
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x108], 0
jne 0x41fbbf
push 0
call fcn.0041fb90
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x108], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x108], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x41fbe3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x4295f0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040c1f0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.00428920
push dword [esp + 0x40]
mov edi, eax
call fcn.00428920
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x429685
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0040c1f0
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.0040c2a0
add esp, 0x20
test edx, edx
ja 0x4296a9
jb 0x429677
cmp eax, 0x3e8
ja 0x4296a9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x429640
test edi, edi
je 0x429692
push edi
call fcn.0045837d
add esp, 4
test esi, esi
je 0x42969f
push esi
call fcn.0045837d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x4296b6
push edi
call fcn.0045837d
add esp, 4
test esi, esi
je 0x4296c3
push esi
call fcn.0045837d
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x429ae0
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 0x429c6f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x429c5a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x429b3c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429b30
sub eax, edx
inc eax
jmp 0x429b3e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x429b4f
lea ebp, [ecx + 0xe]
jmp 0x429b5b
cmp ecx, 0x17
jne 0x429bfc
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x429bfc
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x429bfc
cmp ecx, ebp
jb 0x429bfc
add eax, 0x20
add eax, ebp
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x429c4b
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 sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x429be8
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x429bf8
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x429b22
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x429c1c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x429c56
test edi, edi
je 0x429c3b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x46c004]
add esp, 4
mov edi, esi
test esi, esi
jne 0x429c24
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 0x429c0b
test edi, edi
jne 0x429c66
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 0x42a070
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x42a096
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x42a0e0
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 0x42a190
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.00411810
add esp, 0xc
cmp eax, 4
je 0x42a123
mov ecx, eax
jmp 0x42a14d
cmp byte [0x46c568], 0
jne 0x42a157
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 0x42a192
mov eax, dword [esp + 0x1c]
jmp 0x42a174
imul eax, dword [0x46c564], 0x41c64e6d
add eax, 0x3039
mov dword [0x46c564], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x42a188
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x42a178
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x42a100
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42a1a0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0x8c
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, edx
push ebp
mov ebp, dword [esp + 0x98]
and eax, 0xfffffffe
push edi
lea edi, [esp + 0x10]
cmp eax, 0x100
jae 0x42a309
test dl, 1
je 0x42a309
dec edx
mov ecx, 0x2b
push ebx
mov ebx, edx
mov dword [esp + 0xa4], edx
shr ebx, 1
push esi
mov esi, edi
je 0x42a2b3
nop word [eax + eax]
push 4
lea eax, [esp + 0x14]
mov edi, 4
push eax
push dword [esp + 0x1c]
cmp ebx, edi
cmovb edi, ebx
call fcn.00411810
add esp, 0xc
cmp eax, 4
je 0x42a236
mov ecx, eax
jmp 0x42a260
cmp byte [0x46c568], 0
jne 0x42a26e
push 2
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 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 0x42a2f0
mov eax, dword [esp + 0x10]
jmp 0x42a28b
imul eax, dword [0x46c564], 0x41c64e6d
add eax, 0x3039
mov dword [0x46c564], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x10], eax
test edi, edi
je 0x42a2a0
nop
mov byte [esi], al
dec ebx
inc esi
shr eax, 8
sub edi, 1
jne 0x42a290
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x42a210
mov edx, dword [esp + 0xa8]
lea edi, [esp + 0x18]
mov eax, ecx
test eax, eax
jne 0x42a2f0
test edx, edx
je 0x42a2ea
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [eax + 0x45ed44]
mov byte [ebp], al
movzx eax, byte [ecx + 0x45ed44]
mov byte [ebp + 1], al
add ebp, 2
sub edx, 2
jne 0x42a2c0
mov byte [ebp], 0
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00457062
add esp, 0x8c
ret
mov ecx, dword [esp + 0x90]
mov eax, 0x2b
pop edi
pop ebp
xor ecx, esp
call fcn.00457062
add esp, 0x8c
ret
Function at 0x42a330
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memset
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