joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42db20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d662d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x10], esi
call fcn.00497770
lea ecx, [esi + 0xc]
lea eax, [ecx + 4]
mov dword [ecx], eax
mov word [eax], bx
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x20], ebx
mov dword [ecx + 0x84], ebx
call fcn.00401550
lea eax, [esi + 0x98]
mov dword [esi + 0x94], eax
mov dword [esi + 0x118], ebx
mov word [eax], bx
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x11c]
lea eax, [ecx + 4]
push 0xffffffffffffffff
push edx
mov dword [ecx], eax
mov dword [ecx + 0x84], ebx
mov word [eax], bx
call fcn.00401550
lea ecx, [esi + 0x1a4]
lea eax, [ecx + 4]
mov dword [ecx], eax
mov word [eax], bx
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x84], ebx
call fcn.00401550
lea ecx, [esi + 0x22c]
mov byte [esp + 0x18], 4
call fcn.00451880
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x238], ecx
mov ecx, dword [esp + 0x30]
xor edi, edi
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], 1
mov dword [esp + 0x20], edi
call fcn.0049c670
test eax, eax
jle 0x42dc80
push ebp
nop
mov ecx, dword [esp + 0x34]
push edi
call fcn.004979f0
push 0x210
mov ebp, eax
call fcn.004cab91
add esp, 4
cmp eax, ebx
je 0x42dc63
mov edi, dword [ebp]
mov dword [eax + 0x208], ebx
mov dword [eax + 0x20c], ebx
mov ebp, 0x104
mov ecx, eax
sub edi, eax
mov dx, word [edi + ecx]
cmp dx, bx
je 0x42dc53
mov word [ecx], dx
add ecx, 2
dec ebp
jne 0x42dc35
mov edi, dword [esp + 0x24]
sub ecx, 2
mov word [ecx], bx
jmp 0x42dc65
cmp ebp, ebx
jne 0x42dc5a
sub ecx, 2
mov edi, dword [esp + 0x24]
mov word [ecx], bx
jmp 0x42dc65
xor eax, eax
push eax
mov ecx, esi
call fcn.00497840
mov ecx, dword [esp + 0x34]
inc edi
mov dword [esp + 0x24], edi
call fcn.0049c670
cmp edi, eax
jl 0x42dc00
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x435ab0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 0
push 0
push 0
push 0x800a8
mov esi, ecx
mov ecx, dword [esp + 0x24]
push 0x90000000
push 0x4e61d0
mov dword [esi + 0xd4], ecx
push 0
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004985e0
test eax, eax
jne 0x435af1
pop esi
ret 8
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret 8

Function at 0x435d10
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
sub esp, 0x40
push esi
push edi
mov edi, dword [esp + 0x4c]
test edi, edi
mov esi, ecx
jne 0x435d29
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret 4
mov eax, dword [esi + 0x3c]
push ebx
lea ebx, [esi + 0x3c]
push edi
push eax
call fcn.0048332d
add esp, 8
test eax, eax
jne 0x435d49
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435d3e
mov ecx, esi
call fcn.00435b10
push edi
call fcn.00428c00
add esp, 4
test eax, eax
mov dword [esi + 0xc4], eax
je 0x435d3e
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], ecx
push 0x18
mov dword [esp + 0x24], ecx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [esi + 0xcc], ecx
push edi
mov ecx, ebx
mov dword [esi + 0xc8], eax
call fcn.00401550
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push edx
call edi
mov edx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x44], eax
push 2
mov dword [esp + 0x4c], eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
neg ecx
push ecx
neg eax
push eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
push 8
push ecx
call edi
mov eax, dword [esi + 0xd4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0xd0]
push 0x40
push eax
sub edx, eax
mov eax, dword [esp + 0x1c]
push ecx
sub eax, ecx
mov ecx, dword [esi + 4]
sub edx, 4
push edx
sub eax, 4
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x38], 0xfa
mov eax, dword [esi + 4]
xor edx, edx
mov dl, byte [esi + 0x38]
push 2
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
push 0
lea ecx, [esi + 0x10]
call fcn.00453fe0
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x40
ret 4
Function at 0x435f80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [ebx + 0x148]
xor eax, eax
cmp esi, 0x40
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea ebp, [ebx + 0xc4]
mov eax, 0x36363636
mov ecx, 0x10
mov edi, ebp
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x104]
mov ecx, 0x10
mov eax, 0x5c5c5c5c
rep stosd dword es:[edi], eax
jle 0x435fef
mov ecx, ebx
call fcn.00439c70
mov eax, dword [esp + 0x1c]
push esi
push eax
mov ecx, ebx
call fcn.0043b4c0
mov ecx, ebx
call fcn.0043b580
mov ecx, dword [ebx + 0x148]
push ecx
mov ecx, ebx
call fcn.0043b680
jmp 0x436009
mov edi, dword [ebx + 0x148]
mov ecx, esi
mov esi, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xffffff3b
lea eax, [ebx + 0xc5]
sub edi, ebx
jmp 0x436020
mov ecx, dword [ebx + 0x148]
lea esi, [edi + eax]
mov dl, byte [esi + ecx]
xor byte [eax - 1], dl
mov ecx, dword [ebx + 0x148]
mov dl, byte [esi + ecx + 1]
xor byte [eax], dl
mov ecx, dword [ebx + 0x148]
mov dl, byte [esi + ecx + 2]
xor byte [eax + 1], dl
mov ecx, dword [ebx + 0x148]
mov dl, byte [esi + ecx + 3]
xor byte [eax + 2], dl
add eax, 4
lea ecx, [edi + eax]
cmp ecx, 0x40
jb 0x436020
mov edi, dword [ebx + 0x14c]
mov esi, ebp
mov ebp, dword [esp + 0x18]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x14c]
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
add edi, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00439c70
mov eax, dword [ebx + 0x14c]
add ebp, 0x40
push ebp
push eax
mov ecx, ebx
call fcn.0043b4c0
mov ecx, ebx
call fcn.0043b580
mov ecx, dword [ebx + 0x144]
push ecx
mov ecx, ebx
call fcn.0043b680
mov edi, 0xfffffefb
lea eax, [ebx + 0x105]
sub edi, ebx
jmp 0x4360d0
mov edx, dword [ebx + 0x148]
lea esi, [edi + eax]
mov cl, byte [esi + edx]
xor byte [eax - 1], cl
mov edx, dword [ebx + 0x148]
mov cl, byte [esi + edx + 1]
xor byte [eax], cl
mov edx, dword [ebx + 0x148]
mov cl, byte [esi + edx + 2]
xor byte [eax + 1], cl
mov edx, dword [ebx + 0x148]
mov cl, byte [esi + edx + 3]
xor byte [eax + 2], cl
add eax, 4
lea edx, [edi + eax]
cmp edx, 0x40
jb 0x4360d0
mov edi, dword [ebx + 0x150]
mov ecx, 0x10
lea esi, [ebx + 0x104]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x150]
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
add eax, 0x40
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, ebx
call fcn.00439c70
mov edx, dword [ebx + 0x150]
push 0x54
push edx
mov ecx, ebx
call fcn.0043b4c0
mov ecx, ebx
call fcn.0043b580
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0043b680
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x436b50
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x50ba00]
push ebx
push esi
push edi
mov dword [esp + 0x22c], eax
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push 0x4e61d0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x124], ebx
mov word [esp + 0xa4], bx
call fcn.00401550
mov byte [esp + 0x1a8], bl
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x1a9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x80
lea ecx, [esp + 0x1ac]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x436bea
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x98]
lea eax, [esi + 4]
push 0xffffffffffffffff
mov dword [esi], eax
mov word [eax], bx
push edx
jmp 0x436c13
lea edx, [esp + 0x1a8]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
push 0xffffffffffffffff
jne 0x436c35
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
mov dword [esi], eax
mov word [eax], bx
mov eax, dword [esp + 0x9c]
push eax
mov ecx, esi
mov dword [esi + 0x84], ebx
call fcn.00401550
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp eax, ecx
jmp 0x436d8b
lea edx, [esp + 0x128]
push 0x4e61d0
lea ecx, [esp + 0x128]
mov dword [esp + 0x128], edx
mov dword [esp + 0x1ac], ebx
mov word [esp + 0x12c], bx
call fcn.00401550
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
cmp eax, ebx
je 0x436cca
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x124]
push 0x4e5d38
push edx
call fcn.00401720
add esp, 0xc
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00420890
mov edx, dword [eax]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0xa0]
call fcn.00401550
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x436cca
push eax
call fcn.00482838
add esp, 4
mov edx, dword [esp + 0x98]
push edx
call fcn.00482726
add esp, 4
test eax, eax
jle 0x436d3e
mov eax, dword [esp + 0x98]
push 0x4e5d34
push eax
call fcn.0048273c
add esp, 8
cmp eax, ebx
je 0x436d3e
sub eax, dword [esp + 0x98]
sar eax, 1
cmp eax, 0xffffffff
je 0x436d3e
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xa4]
call fcn.00436650
mov edx, dword [eax]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0xa0]
call fcn.00401550
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x436d3e
push eax
call fcn.00482838
add esp, 4
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x98]
lea eax, [esi + 4]
push 0xffffffffffffffff
push edx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x84], ebx
mov word [eax], bx
call fcn.00401550
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x436d7b
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x9c]
cmp eax, edx
je 0x436d96
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x22c]
mov eax, esi
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438490
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d72e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x20030
call fcn.00483900
mov eax, dword [0x50ba00]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4dbc9c
lea ecx, [ebp - 0x20040]
mov dword [ebp - 0x14], eax
call fcn.004d1a94
mov eax, dword [ebp + 8]
push ebx
push ebx
push 1
push 1
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x20040]
mov dword [ebp - 0x2001c], 1
mov byte [ebp - 4], 1
call fcn.004d267b
mov esi, eax
cmp esi, ebx
je 0x4385d0
lea ecx, [ebp - 0x2002c]
call fcn.004cb069
mov ecx, dword [ebp + 0xc]
push ebx
push 0x1001
push ecx
lea ecx, [ebp - 0x2002c]
mov byte [ebp - 4], 2
call fcn.004cb305
cmp eax, ebx
jne 0x438559
lea ecx, [ebp - 0x2002c]
mov byte [ebp - 4], 1
call fcn.004cb0a8
lea ecx, [ebp - 0x20040]
mov dword [ebp - 4], 0xffffffff
call fcn.004d21b1
xor eax, eax
jmp 0x438606
mov edx, dword [esi]
xor eax, eax
lea edi, [ebp - 0x20018]
mov ecx, 0x8000
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x20000
lea eax, [ebp - 0x20018]
push eax
mov ecx, esi
call dword [edx + 0x34]
cmp eax, ebx
jle 0x43859c
push eax
lea ecx, [ebp - 0x20018]
push ecx
lea ecx, [ebp - 0x2002c]
mov byte [ebp + eax - 0x20018], bl
call fcn.004cadbc
jmp 0x438559
lea ecx, [ebp - 0x2002c]
call fcn.004cb007
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x2002c]
mov byte [ebp - 4], 1
call fcn.004cb0a8
jmp 0x4385d0
lea ecx, [ebp - 0x20040]
mov dword [ebp - 4], ebx
call fcn.004d20b6
mov esi, dword [ebp - 0x2001c]
cmp esi, ebx
jne 0x4385f2
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20040]
mov dword [ebp - 4], 0xffffffff
call fcn.004d21b1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439bd0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x50ba00]
push ebx
mov ebx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x70]
push edi
push 0
push esi
mov dword [esp + 0x70], eax
push ebx
call fcn.004ca624
xor eax, eax
mov dword [esp + 0xc], 0x4e61c8
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push esi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 0x67452301
mov dword [esp + 0x64], 0xefcdab89
mov dword [esp + 0x68], 0x98badcfe
mov dword [esp + 0x6c], 0x10325476
call fcn.00439a70
push 0x10
call fcn.00483778
add esp, 4
mov esi, eax
push 0x10
push esi
lea ecx, [esp + 0x14]
call fcn.00439b30
mov ecx, dword [esp + 0x68]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00482423
add esp, 0x60
ret
Function at 0x439c70
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
ret

Function at 0x43b6b0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
lea ecx, [eax + 0x80]
mov dword [eax + 0xc0], ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

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

Disassembly:
mov eax, ecx
cmp dword [eax + 4], 0xffffffff
jne 0x43b73e
or eax, 0xffffffff
ret 8
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x43b74e
or eax, 0xffffffff
pop esi
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x43b747
push ebx
push edi
mov edi, dword [eax + 0x34]
mov ecx, edx
mov ebx, ecx
shr ecx, 2
add edi, 5
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x34]
mov byte [ecx + edx + 5], 0
mov ecx, dword [eax + 0x34]
add edx, 6
mov dword [ecx], edx
mov edx, dword [eax + 0x34]
mov byte [edx + 4], 4
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push 0
add edx, 4
push edx
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_send]
pop edi
pop ebx
pop esi
ret 8

Function at 0x43b8e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [0x50ba00]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 2], eax
mov dword [esp + 6], eax
push esi
mov dword [esp + 0xe], eax
push ecx
mov word [esp + 0x16], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, dword [esp + 0x24]
push edx
mov esi, eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 6], ax
mov eax, dword [esp + 0x1c]
mov word [esp + 4], 2
mov edx, dword [esp + 4]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x14]
pop esi
add esp, 0x14
jmp fcn.00482423
Function at 0x43bc50
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x30
mov eax, dword [0x50ba00]
push esi
push 0x11
push 2
push 2
mov dword [esp + 0x3c], eax
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x43bc83
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
call fcn.00482423
add esp, 0x30
ret
push edi
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x80
push 0xffff
push eax
mov word [esp + 0x24], 1
mov word [esp + 0x26], 0
call edi
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x20], 0x8001
call edi
test eax, eax
je 0x43bcf6
mov edx, dword [esi + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1001
push 0xffff
push edx
call edi
test eax, eax
jne 0x43bd9a
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 0x1002
push 0xffff
push ecx
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x20], 0x8001
call edi
test eax, eax
je 0x43bd3c
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 0x10]
push edx
push 0x1002
push 0xffff
push eax
call edi
test eax, eax
jne 0x43bd9a
mov ecx, dword [esi + 0x30]
push ecx
lea edx, [esi + 8]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0043b8e0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 4]
push 0x10
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x3c], edx
mov word [esp + 0x30], 2
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x43bdab
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
call fcn.00482423
add esp, 0x30
ret
mov ecx, dword [esp + 0x34]
pop edi
mov eax, 1
pop esi
call fcn.00482423
add esp, 0x30
ret

Function at 0x43bff0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x50ba00]
push esi
mov esi, ecx
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push 0x43b7b0
push esi
lea ecx, [esp + 0xc]
mov dword [esi], 0x4e6200
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
call fcn.00451890
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x10]
call fcn.004515a0
lea edx, [esp + 0x10]
push edx
push 0x202
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov eax, dword [esi + 8]
push eax
call fcn.00483778
mov ecx, dword [esi + 8]
sub ecx, 8
add esp, 4
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1a0]
mov eax, esi
pop esi
call fcn.00482423
add esp, 0x1a0
ret 4
Function at 0x43c420
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4d73cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov eax, dword [0x50ba00]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0x1b4], eax
push 0x7d0
lea ecx, [esi + 0x40]
mov dword [esp + 0xc], esi
mov dword [esi], 0x4e620c
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00451540
push 0x43b950
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], edi
mov dword [esi + 0x60], edi
call fcn.00451890
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x64]
call fcn.004515a0
push 0x43c2e0
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c8], 1
call fcn.00451890
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x84]
call fcn.004515a0
mov edi, dword [esp + 0x1c8]
push 0x3e8
push 0x20
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1cc], 2
call fcn.004516b0
lea eax, [esp + 0x24]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov ecx, dword [esp + 0x1b8]
mov dword [esi + 0x3c], edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1b0]
mov eax, esi
pop esi
call fcn.00482423
add esp, 0x1bc
ret 4

Function at 0x43caf0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov ecx, ebp
push edi
mov edi, dword [esp + 0x10]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x43cb00
sub ecx, esi
mov eax, ecx
xor esi, esi
test eax, eax
jle 0x43cbda
push ebx
mov bl, byte [esp + 0x14]
lea ebx, [ebx]
cmp byte [ebp], 0x3d
je 0x43cbd9
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x43cbd9
cmp cl, 0x41
jl 0x43cb4a
cmp cl, 0x5a
jg 0x43cb4a
sub cl, 0x41
jmp 0x43cb7a
cmp cl, 0x61
jl 0x43cb59
cmp cl, 0x7a
jg 0x43cb59
sub cl, 0x47
jmp 0x43cb7a
cmp cl, 0x30
jl 0x43cb68
cmp cl, 0x39
jg 0x43cb68
add cl, 4
jmp 0x43cb7a
cmp cl, 0x2b
jne 0x43cb71
mov cl, 0x3e
jmp 0x43cb7a
cmp cl, 0x2f
setne cl
add cl, 0x3f
inc ebp
cmp cl, 0x40
je 0x43cb30
cmp cl, 0x41
je 0x43cbd9
mov edx, esi
and edx, reloc.WSOCK32.dll_closesocket
jns 0x43cb94
dec edx
or edx, 0xfffffffc
inc edx
cmp edx, 3
ja case.default.0x43cb99
jmp dword [edx*4 + 0x43cbe8]
shl cl, 2
mov bl, cl
jmp case.default.0x43cb99
mov dl, cl
shr dl, 4
or dl, bl
mov byte [edi], dl
inc edi
shl cl, 4
mov bl, cl
jmp case.default.0x43cb99
mov dl, cl
shr dl, 2
or dl, bl
mov byte [edi], dl
inc edi
shl cl, 6
mov bl, cl
jmp case.default.0x43cb99
mov dl, bl
or dl, cl
mov byte [edi], dl
inc edi
inc esi
cmp esi, eax
jl 0x43cb20
pop ebx
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
sub eax, ecx
pop ebp
ret
Function at 0x448590
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov ecx, ebx
xor edi, edi
call fcn.0049c670
test eax, eax
jle 0x448602
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea esp, [esp]
push edi
mov ecx, ebx
call fcn.004979f0
test ebp, ebp
mov esi, eax
je 0x4485e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4485d3
mov eax, dword [esi + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x4485f4
mov ecx, esi
call fcn.00447e90
jmp 0x4485eb
test esi, esi
je 0x4485f4
mov ecx, esi
call fcn.00447ee0
push esi
call fcn.004cabc1
add esp, 4
mov ecx, ebx
inc edi
call fcn.0049c670
cmp edi, eax
jl 0x4485b0
pop esi
pop ebp
mov ecx, ebx
call fcn.004977a0
pop edi
pop ebx
ret 0xc