joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4262b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x1505
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xc]
jae 0x426303
mov edx, dword [ebp - 8]
shl edx, 5
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
push edx
call fcn.00439e50
add esp, 4
movsx eax, al
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x4262c6
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x3f
div ecx
mov eax, edx
mov esp, ebp
pop ebp
ret

Function at 0x4275f0
Capabilities:
Convert ip address from string

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x42761c
cmp byte [eax], 0
je 0x42761c
lea ecx, [esp + 8]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
je 0x427616
mov eax, 0x2b
ret
mov eax, dword [esp + 8]
jmp 0x427622
xor eax, eax
mov dword [esp + 8], eax
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov eax, dword [esp + 8]
push dword [eax + 0x920]
call fcn.0051dfe0
add esp, 8
xor eax, eax
ret

Function at 0x427640
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x48
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x50]
test eax, eax
je 0x427688
cmp byte [eax], 0
je 0x427688
lea ecx, [esp + 4]
push ecx
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
je 0x427699
mov eax, 0x2b
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00472312
add esp, 0x48
ret
push 0x41
lea eax, [esp + 8]
push 0
push eax
call fcn.004f3400
add esp, 0xc
lea eax, [esp + 4]
push eax
push dword [esi + 0x920]
call fcn.0051e010
mov ecx, dword [esp + 0x50]
add esp, 8
xor eax, eax
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x48
ret
Function at 0x42d3f0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x14
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x42d45a
cmp byte [esi], 0
je 0x42d45a
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x42d433
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00472312
add esp, 0x14
ret
lea eax, [esp + 4]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x42d45a
mov eax, 2
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00472312
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x14
ret

Function at 0x433560
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x69a], 0
je 0x4335ec
cmp dword [esi + 0x194], 0
je 0x4335b3
push esi
call fcn.00421690
push 1
push esi
mov byte [esp + 0x14], al
call fcn.00421b70
push dword [esi + 0x144]
mov eax, dword [esi + 0x194]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.00421b70
add esp, 0x28
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x4335ec
push dword [esi + 0x140]
lea eax, [eax + eax*2]
push 1
add eax, 0x555230
push 2
push eax
call fcn.004f682f
push dword [esi + 0x140]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004f682f
add esp, 0x20
pop esi
ret
Function at 0x436ac0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x555b64
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x436ada
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x555b78
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x555b88
push esi
call fcn.00502555
add esp, 8
test eax, eax
je 0x436b22
test ebp, ebp
je 0x436b13
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 0x436b48
push 0x555b90
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436b48
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 0x436c42
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436b65
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 0x436c38
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x436c38
mov edx, ebx
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x436bb0
sub edx, ecx
mov ecx, 0x555ba0
sar edx, 1
lea edx, [ebx + edx*2]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x436bd0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436be5
sub ecx, edx
sar ecx, 1
lea ecx, [ebx + ecx*2]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x436c00
test ebp, ebp
je 0x436c2f
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x1341004]
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 [0x1341004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x437a80
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x44
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
mov ebx, 0x5518c7
mov dword [esp + 0x14], eax
mov ebp, ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x5518c7
push eax
push dword [esi + 0x1c]
mov dword [esp + 0x14], 0x5518c7
push dword [esi + 0x18]
call fcn.00445ef0
add esp, 0xc
test eax, eax
jne 0x437bb6
push edi
mov edi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x40]
push eax
push dword [esi + 0xc]
push 0x17
call edi
cmp eax, 1
jne 0x437af7
mov dword [esp + 0x14], 0x554fb4
mov dword [esp + 0x10], 0x554fb0
lea eax, [esp + 0x40]
push eax
push dword [esi]
push 0x17
call edi
cmp eax, 1
jne 0x437b11
mov ebx, 0x554fb4
mov ebp, 0x554fb0
mov eax, dword [esi + 0x14]
mov ecx, 0x5518c7
mov edi, 0x555bac
cmp eax, 8
je 0x437b39
cmp eax, 0x10
je 0x437b32
cmp eax, 0x20
mov edx, ecx
cmove edx, edi
jmp 0x437b3e
mov edx, 0x555ba8
jmp 0x437b3e
mov edx, 0x555ba4
mov eax, dword [esi + 8]
cmp eax, 8
je 0x437b5a
cmp eax, 0x10
je 0x437b53
cmp eax, 0x20
cmove ecx, edi
jmp 0x437b5f
mov ecx, 0x555ba8
jmp 0x437b5f
mov ecx, 0x555ba4
push dword [esi + 0x24]
movzx eax, byte [esi + 0x20]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push dword [esp + 0x2c]
inc eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x76c
push eax
movzx eax, word [esi + 0x10]
push eax
push dword [esp + 0x34]
movzx eax, word [esi + 4]
push dword [esi + 0xc]
push dword [esp + 0x40]
push edx
push eax
push ebp
push dword [esi]
push ebx
push ecx
push 0x555be0
push dword [esp + 0x64]
call fcn.00438920
add esp, 0x50
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x44
ret

Function at 0x43ce90
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x13413f8]
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 0x43ced9
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43ced9
xor al, al
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00472312
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x18
ret

Function at 0x43cef0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43cf0f
cmp dword [esi + 0x84], 0
je 0x43cf0f
push 2
push 3
push esi
call fcn.0043b150
add esp, 0xc
push dword [esp + 0xc]
call fcn.0043c910
add esp, 4
test esi, esi
je 0x43cf33
cmp dword [esi + 0x84], 0
je 0x43cf33
push 3
push esi
call fcn.0043b190
add esp, 8
pop esi
ret
Function at 0x43d030
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43d070
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x114], 0
jne 0x43d05f
push 0
call fcn.0043d030
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x114], cl
mov ecx, dword [esi + 0x7c]
xor eax, eax
pop esi
cmp byte [ecx + 0x114], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x43d08c
xor esi, esi
xor eax, eax
test esi, esi
pop esi
setg al
ret
push eax
mov esi, 1
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
test esi, esi
pop esi
setg al
ret
Function at 0x43dd10
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x43dd20
push dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 0x10], xmm0
sub esi, ecx
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
lea eax, [esp + 8]
push eax
push 0x5566a0
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jge 0x43dd69
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x31]
push eax
push 1
call dword [0x1341010]
mov esi, eax
add esp, 8
test esi, esi
je 0x43dd61
movups xmm0, xmmword [esp + 0xc]
lea eax, [esi + 0x20]
mov dword [esi], 0
mov dword [esi + 0x18], eax
mov edx, edi
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], 0x10
movups xmmword [eax], xmm0
mov ecx, dword [esi + 0x18]
add ecx, 0x10
mov dword [esi + 0x14], ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x43ddc1
push edi
push dword [esp + 0x24]
call fcn.0043de00
add esp, 8
test eax, eax
jne 0x43dde8
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret
pop edi
mov dword [eax + 0x1c], esi
pop esi
add esp, 0x14
ret

Function at 0x43de00
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x30
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov esi, dword [esp + 0x3c]
mov ecx, esi
push edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43de20
sub ecx, edx
lea eax, [ecx + 0x3d]
push eax
push 1
call dword [0x1341010]
mov edi, eax
add esp, 8
test edi, edi
jne 0x43de51
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00472312
add esp, 0x30
ret
push dword [esp + 0x3c]
mov eax, 0x17
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
lea eax, [esp + 0x24]
push eax
push 0x55669c
push 0x17
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x43de3e
movups xmm0, xmmword [esp + 0x24]
push 0x1c
lea ecx, [esp + 0xc]
mov dword [edi], 0
lea eax, [edi + 0x20]
mov dword [edi + 4], 0x17
push ecx
push eax
movups xmmword [esp + 0x1c], xmm0
mov dword [edi + 8], 1
mov dword [edi + 0xc], 6
mov dword [edi + 0x10], 0x1c
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
call fcn.004f37d0
mov ecx, dword [edi + 0x18]
add esp, 0xc
add ecx, 0x1c
mov dword [edi + 0x14], ecx
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x43dee3
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x30
ret
Function at 0x43df60
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x6c
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x7c]
push edi
xor edi, edi
mov dword [esp + 0xc], esi
cmp byte [ebp + 0x69a], 0
je 0x43e137
cmp byte [esi + 0x18], 0
push ebx
lea ebx, [esi + 0x18]
je 0x43e136
lea eax, [esp + 0x34]
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43e136
lea eax, [esp + 0x38]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43e136
mov ecx, dword [esp + 0x10]
mov eax, 0x556810
cmp byte [ebx], 0
mov esi, dword [esi]
cmovne eax, ebx
push dword [ecx + 0x14]
push eax
push 0x556818
push ebp
call fcn.004336c0
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.00421020
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00421020
add esp, 0x20
test esi, esi
je 0x43e0aa
nop
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x43e021
cmp ecx, 2
jne 0x43e09f
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
setne al
shl eax, 4
add ebx, eax
sub ecx, 2
je 0x43e053
sub ecx, 0x15
jne 0x43e068
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x43e063
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call sub.WS2_32.dll_inet_ntop
push ebx
call fcn.0046f1e0
add esp, 4
test eax, eax
je 0x43e087
push 2
push 0x555270
push ebx
call fcn.00420fe0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x43e0ca
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.00420f80
mov edi, eax
add esp, 8
test edi, edi
jne 0x43e0ca
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43e010
lea eax, [esp + 0x24]
push eax
call fcn.0046f1e0
add esp, 4
test eax, eax
je 0x43e0da
lea eax, [esp + 0x24]
push eax
call fcn.00421040
add esp, 4
jmp 0x43e0df
push 0x556834
push ebp
call fcn.004336c0
add esp, 8
jmp 0x43e11f
mov eax, 0x556810
push eax
push 0x55684c
push ebp
call fcn.004336c0
lea eax, [esp + 0x20]
push eax
call fcn.0046f1e0
add esp, 0x10
test eax, eax
je 0x43e10b
lea eax, [esp + 0x14]
push eax
call fcn.00421040
add esp, 4
jmp 0x43e110
mov eax, 0x556810
push eax
push 0x556858
push ebp
call fcn.004336c0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.00420ff0
lea eax, [esp + 0x28]
push eax
call fcn.00420ff0
add esp, 8
pop ebx
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00472312
add esp, 0x6c
ret
Function at 0x446640
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00426d60
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.00445a60
push dword [esp + 0x40]
mov edi, eax
call fcn.00445a60
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 0x4466d5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00426d60
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.00426e00
add esp, 0x20
test edx, edx
ja 0x4466f9
jb 0x4466c7
cmp eax, 0x3e8
ja 0x4466f9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x446690
test edi, edi
je 0x4466e2
push edi
call fcn.004fa841
add esp, 4
test esi, esi
je 0x4466ef
push esi
call fcn.004fa841
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x446706
push edi
call fcn.004fa841
add esp, 4
test esi, esi
je 0x446713
push esi
call fcn.004fa841
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret

Function at 0x4475d0
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 0x44767b
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.0042ce80
add esp, 0xc
cmp eax, 4
jne 0x447636
cmp byte [0x1342de0], 0
jne 0x447642
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
mov ecx, eax
test eax, eax
jne 0x44767d
mov eax, dword [esp + 0x1c]
jmp 0x44765f
imul eax, dword [0x1342de4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1342de4], eax
rol eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x447673
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x447663
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x4475f0
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x447690
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 0x44772f
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0042ce80
add esp, 0xc
cmp eax, 4
jne 0x447710
cmp byte [0x1342de0], 0
jne 0x4476f3
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x447714
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
ret
imul eax, dword [0x1342de4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1342de4], eax
rol eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x447714
test eax, eax
jne 0x447734
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x4476b0
xor edx, edx
div ebp
mov al, byte [edx + 0x557d60]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x4476b0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x447740
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.004f3400
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
Function at 0x44a7a0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x1341008]
mov edi, eax
add esp, 8
test edi, edi
je 0x44a777
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x44a78f
cmp esi, ebx
je 0x44a78f
cmp esi, 0x8000
ja 0x44a78f
cmp esi, ebx
jb 0x44a788
push esi
push edi
call dword [0x1341008]
mov edi, eax
add esp, 8
test edi, edi
jne 0x44a740
push ebp
call dword [0x1341004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x1341004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
jmp 0x44a720

Function at 0x44f2a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
mov byte [esp + 0x12], cl
lea ecx, [esp + 0x10]
push 3
mov eax, dword [esi + 0x18]
push ecx
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x19], bl
push dword [eax + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x44f2ec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x55a090
push esi
call fcn.004335f0
add esp, 0xc
push dword [esp + 0x14]
push ebx
push 0x55a0ac
push esi
call fcn.0044eba0
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x44f450
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov eax, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x124]
mov dword [esp + 8], eax
jne 0x44f59e
push esi
push edi
lea eax, [ebp + 0x1cc4]
lea edi, [ebp + 0x1ec4]
mov dword [edi], eax
cmp eax, edi
jae 0x44f488
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f493
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f49e
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, word [ebp + 0x1caa]
push eax
call esi
mov ecx, dword [esp + 0x18]
movzx edx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x44f4d0
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f4da
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f4e4
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f4ee
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f4f9
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x44f504
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
lea esi, [ebp + 0x1cc4]
mov dword [ebp + 0x1ec8], eax
sub eax, esi
sub eax, 2
mov dword [edi], esi
push eax
lea eax, [ebp + 0x1cc6]
push eax
push 0x3e
push ebx
call fcn.0044ecb0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 3
push esi
push dword [eax + 0x1a0]
call edi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x44f55e
call esi
push eax
push 0x55a090
push ebx
call fcn.004335f0
add esp, 0xc
push 4
lea eax, [ebp + 0x1cc7]
push eax
push ebx
call fcn.0044f310
add esp, 0xc
lea eax, [ebp + 0x1ccb]
push 0
push 2
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1a0]
call edi
test eax, eax
jns 0x44f59c
call esi
push eax
push 0x55a090
push ebx
call fcn.004335f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret