joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1c]
mov edx, dword [esi + 0xdc]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x54]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push 0x6c3578
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x10
call edi
test eax, eax
jne 0x543b52
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push eax
push 0x6c3570
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x3c]
push edx
mov edx, dword [esi + 0xdc]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call edi
cmp eax, ebx
jne 0x543a5d
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
jne 0x543ada
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
fild qword [ebp - 0x24]
fmul qword [0x654fe0]
fcom qword [esi + 0xb8]
fnstsw ax
test ah, 1
je 0x543a5b
fld qword [esi + 0xb8]
fsub st(1)
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
fstp st(0)
mov eax, dword [ebp - 0x50]
cmp eax, 0xffffffff
je 0x543b52
push eax
lea ecx, [ebp - 0x44]
push 0x6bc0d4
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x44]
push edx
mov edx, dword [esi + 0xdc]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call edi
test eax, eax
jne 0x543b52
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x5439e5
cmp eax, 0xffffffff
je 0x5439e5
sub eax, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
fild qword [ebp - 0x34]
fmul qword [0x654fe0]
fsubr qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x5439e5
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x543b03
sub eax, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x2c]
fmul qword [0x654fe0]
fadd qword [esi + 0x80]
fstp qword [esi + 0x80]
jmp 0x543a5d
jae 0x543a5d
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x14], edx
push eax
mov eax, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
push eax
push ecx
lea edx, [ebp - 0x14]
push 0x6d9078
push edx
mov byte [ebp - 4], 1
call fcn.005f368b
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push eax
call fcn.0053cb80
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005fa859
jmp 0x543a5d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x544de1
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x544e1c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x544e03
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x544e14
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x544e1e
inc edi
add eax, 0x28
cmp edi, esi
jb 0x544df9
xor eax, eax
pop edi
pop esi
ret

Function at 0x545120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00544db1
push eax
push esi
push dword [ebp + 8]
call fcn.00544d66
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00544db1
push eax
push esi
push dword [ebp + 8]
call fcn.00544d66
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]

Function at 0x5451c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00544db1
push eax
push esi
push dword [ebp + 8]
call fcn.00544d66
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00544da1
or al, 0xbb
rol dword [esi], cl
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
invalid
Function at 0x547300
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x68]
test eax, eax
je 0x5473e4
mov eax, dword [esi + 0x60]
lea ecx, [ebp - 0x2c]
push eax
push 0x6bc0d4
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push edx
mov edx, dword [esi + 0x68]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5473b0
push eax
lea eax, [ebp - 0x170]
push 0x6d86d4
push eax
call fcn.005deb38
add esp, 0xc
lea ecx, [ebp - 0x170]
push ecx
mov ecx, esi
call fcn.00546cd0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x5473a4
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x20], edx
jmp 0x5473aa
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0x24], ecx
mov edx, dword [esi + 0x24]
push 1
push 0
push 0
push edx
call fcn.005e09d0
mov ecx, dword [esi + 0x1c]
xor edi, edi
add eax, ecx
mov ecx, dword [esi + 0x68]
adc edx, edi
push 0x10
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x548360
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x623368
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov ecx, 8
push 0
mov eax, dword [esi + 0x30]
sub ecx, eax
lea edx, [eax + esi + 0x28]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
mov edi, eax
push 0x6d9d44
push edi
mov ecx, esi
call fcn.00547580
test eax, eax
jne 0x5484d4
mov ecx, dword [esi + 0x30]
add ecx, edi
mov eax, ecx
mov dword [esi + 0x30], ecx
cmp eax, 8
jge 0x5483d3
mov eax, 0x2733
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
cmp byte [esi + 0x29], 0x5a
jne 0x548444
mov al, byte [esi + 0x28]
test al, al
je 0x5483e4
cmp al, 4
jne 0x548444
push 0x6d9d30
mov ecx, esi
call fcn.005474d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x54842f
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x20]
test eax, eax
mov dword [ecx], eax
jne 0x548424
mov edx, dword [esi + 0x184]
push 1
push ecx
mov ecx, esi
mov eax, dword [edx + 0x13c]
push eax
call fcn.00547660
test eax, eax
jne 0x5484d4
mov ecx, dword [esp + 0x24]
mov ax, word [esi + 0x2a]
mov word [ecx], ax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
mov edx, dword [0x6e7b6c]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x548466
mov eax, dword [esi + 0xb0]
mov eax, dword [eax]
mov ecx, dword [0x6ece58]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.005f368b
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
push 1
push eax
call fcn.00547400
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.0054f740
movsx edx, byte [esi + 0x29]
push edx
lea eax, [esp + 0x1c]
push 0x6d9d1c
push eax
call fcn.005f368b
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.005474d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005fa859
mov eax, 0x755d
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10
Function at 0x5484f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x623388
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov ecx, 2
push 0
mov eax, dword [esi + 0x30]
sub ecx, eax
lea edx, [eax + esi + 0x28]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
mov edi, eax
push 0x6d9d8c
push edi
mov ecx, esi
call fcn.00547580
test eax, eax
jne 0x548619
mov ecx, dword [esi + 0x30]
add ecx, edi
mov eax, ecx
mov dword [esi + 0x30], ecx
cmp eax, 2
jge 0x548563
mov eax, 0x2733
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 8
mov al, byte [esi + 0x29]
test al, al
je 0x54856e
cmp al, 2
jne 0x548578
cmp byte [esi + 0x28], 5
je 0x5485fd
push 0x6ece54
lea ecx, [esp + 0x1c]
call fcn.005fa5ce
mov ecx, dword [esp + 0x18]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00547400
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.0054f740
movsx eax, byte [esi + 0x29]
movsx ecx, byte [esi + 0x28]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x6d9d70
push edx
call fcn.005f368b
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
push eax
call fcn.005474d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005fa859
mov eax, 0x7580
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 8
push 0x6d9d58
mov ecx, esi
call fcn.005474d0
mov al, byte [esi + 0x29]
mov edx, dword [esp + 0x1c]
cmp al, 2
sete cl
mov byte [edx], cl
xor eax, eax
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x5488d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6233c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
je 0x54892b
push eax
mov dword [ebp - 4], ebx
call fcn.005f6c85
add esp, 4
jmp 0x548921
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x54893f
mov edi, dword [eax]
mov dword [ebp - 0x18], edi
jmp 0x54894c
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edi, ecx
cmp dword [ebp + 0xc], ebx
je 0x54895c
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x40], ebx
mov dword [ebp - 0x14], edx
jmp 0x54896c
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
mov ecx, esi
call fcn.00547660
mov dword [esi + 0x40], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 0x10], ecx
lea edi, [ecx + 0xa]
push edi
call fcn.005f6c5c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5489a3
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [ebp + 0x18]
and ecx, 3
test edx, edx
rep stosb byte es:[edi], al
setne al
inc eax
mov byte [ebx], 5
mov byte [ebx + 1], al
mov byte [ebx + 2], 0
mov ecx, dword [esi + 0x40]
neg ecx
sbb cl, cl
and cl, 2
inc cl
mov byte [ebx + 3], cl
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x5489ed
mov edx, dword [ebp - 0x14]
mov edi, 8
mov dword [ebx + 4], edx
jmp 0x548a20
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx + 4], dl
lea esi, [ebx + 5]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1c]
lea edi, [edx + 5]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x548a2c
mov eax, dword [ebp + 0x14]
jmp 0x548a4a
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x548a3b
mov eax, dword [eax + 0xc]
jmp 0x548a44
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx + 0x14]
push eax
call sub.WS2_32.dll_htons
mov edx, dword [ebp + 8]
mov word [edi + ebx], ax
push 0x6d9d04
add edi, 2
push 0
push edi
push ebx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
push 0x6d9e04
mov ecx, esi
mov edi, eax
call fcn.005474d0
push ebx
call fcn.005f6c85
add esp, 4
cmp edi, 0x2733
jne 0x548a8e
xor edi, edi
jmp 0x548a92
test edi, edi
jne 0x548a9c
mov dword [esi + 0x8c], 0x20
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x548ac0
Capabilities:
Check for peb beingdebugged flag
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x6233d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6e7b6c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x184]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x148]
mov edx, dword [eax + 0x144]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x6d9e4c
push eax
call fcn.005f368b
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
mov ebx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [edx], 1
mov ebp, ecx
mov ecx, dword [esi + 0x184]
push 0x6d9e38
mov edi, dword [ecx + 0x144]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
mov byte [ebx + 1], dl
mov eax, dword [esi + 0x184]
and edx, 0xff
mov edi, dword [eax + 0x148]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
mov byte [edx + ebx + 2], cl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ebp
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00547580
push 0x6d9e20
mov ecx, esi
mov edi, eax
call fcn.005474d0
cmp edi, 0x2733
mov dword [esi + 0x30], 0
jne 0x548ba2
xor edi, edi
jmp 0x548ba6
test edi, edi
jne 0x548bb0
mov dword [esi + 0x8c], 0x1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x548be0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6233f8
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov ecx, 2
push 0
mov eax, dword [esi + 0x30]
sub ecx, eax
lea edx, [eax + esi + 0x28]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
mov edi, eax
push 0x6d9d8c
push edi
mov ecx, esi
call fcn.00547580
test eax, eax
jne 0x548cf8
mov ecx, dword [esi + 0x30]
add ecx, edi
mov eax, ecx
mov dword [esi + 0x30], ecx
cmp eax, 2
jge 0x548c53
mov eax, 0x2733
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
mov al, byte [esi + 0x29]
test al, al
jne 0x548c86
mov al, byte [esi + 0x28]
cmp al, 5
je 0x548c65
cmp al, 1
jne 0x548c86
push 0x6d9e54
mov ecx, esi
call fcn.005474d0
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
push 0x6ece50
lea ecx, [esp + 0x1c]
call fcn.005fa5ce
mov ecx, dword [esp + 0x18]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00547400
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.0054f740
movsx eax, byte [esi + 0x29]
movsx ecx, byte [esi + 0x28]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x6d9d70
push edx
call fcn.005f368b
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
push eax
call fcn.005474d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.005fa859
mov eax, 0x757f
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x548d60
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0xf8]
mov ecx, 1
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x4a4], ebx
je 0x548dd2
mov edx, dword [eax]
mov dword [ebp - 0x2a0], 2
mov dword [ebp - 0x298], edx
mov edx, dword [eax]
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x4a4], ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x4a4]
sbb eax, eax
push edx
and eax, ecx
lea edx, [ebp - 0x2a0]
push eax
push ebx
lea eax, [edi + 1]
push edx
push eax
mov dword [ebp - 0x18], ebx
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x548e53
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
push edi
push ebx
lea ecx, [ebp - 0x9c]
push 0x6d9ea0
push ecx
call fcn.005deb38
add esp, 0x10
lea edx, [ebp - 0x9c]
mov ecx, esi
push edx
call fcn.005474d0
mov eax, dword [0x6ed9fc]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.0054f740
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, ebx
jne 0x548ed2
cmp dword [ebp + 0xc], ebx
je 0x548e7e
mov ecx, dword [0x6ed9f4]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.0054f740
mov edx, dword [0x6ed9f4]
push 1
push edx
mov ecx, esi
call fcn.00547400
mov eax, 0x7532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x548f20
mov edx, dword [eax]
lea ecx, [ebp - 0x4a4]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x548f08
mov ecx, dword [esi + 0xf8]
lea eax, [ebp - 0x2a0]
push eax
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x548f20
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x54b870
Capabilities:
Get disk size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6234f8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov edx, eax
or edx, ecx
je 0x54b8b6
mov ebp, dword [edi + 0x68]
mov ebx, dword [edi + 0x6c]
mov esi, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
sub eax, ebp
sbb ecx, ebx
sub eax, esi
sbb ecx, edx
mov ebp, eax
mov dword [esp + 0x38], ecx
jmp 0x54b8c3
mov ebp, 0x2da0
mov dword [esp + 0x38], 0
mov ecx, dword [edi + 0xb0]
push 0
push 0
lea eax, [esp + 0x34]
mov edx, dword [ecx + 0x30]
push 0
push eax
push edx
call fcn.005deee8
add esp, 0x14
push 0x6d9574
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x54b906
push 0x6da2f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b90a
mov ecx, 1
jmp 0x54b90c
mov eax, dword [esp + 0x1c]
xor ecx, ecx
or esi, 0xffffffff
or ebx, 0xffffffff
test ecx, ecx
je 0x54b93a
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push edx
call eax
test eax, eax
je 0x54b96d
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x54b96d
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x54b96d
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0x14]
imul esi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x38]
push 0
push 0xa
push edx
push ebp
call fcn.005dffe0
add eax, ebp
mov ebp, dword [esp + 0x38]
adc edx, ebp
cmp ebx, edx
jg 0x54ba0f
jl 0x54b992
cmp esi, eax
ja 0x54ba0f
and esi, ebx
cmp esi, 0xffffffff
je 0x54ba0f
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x10], eax
mov edx, dword [0x6eda3c]
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x50], 0
call fcn.005f368b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x50030
push 0x6bc018
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x6da2ac
mov ecx, edi
call fcn.005474d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.005fa859
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x54c960
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
push ebp
push esi
push edi
push 0x6bced8
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
je 0x54c9b8
push ebx
push 0x6bcec4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x54c9ac
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1a
push edi
call ebx
test eax, eax
jne 0x54c9a6
mov edi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop ebx
jne 0x54ca09
lea eax, [esp + 0x14]
push eax
push 1
push 0
push 0x6bce80
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x54ca09
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push ebp
push eax
push eax
push 0x6c05e0
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x54c9fe
mov edi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x54db20
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, 0xff
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x54db38
jmp dword [ecx*4 + 0x54dbc4]
mov al, 0x41
ret 4
mov al, 0x42
ret 4
mov al, 0x43
ret 4
mov al, 0x44
ret 4
mov al, 0x45
ret 4
mov al, 0x46
ret 4
mov al, 0x47
ret 4
mov al, 0x48
ret 4
mov al, 0x49
ret 4
mov al, 0x4a
ret 4
mov al, 0x4b
ret 4
mov al, 0x4c
ret 4
mov al, 0x4d
ret 4
mov al, 0x4e
ret 4
mov al, 0x4f
ret 4
mov al, 0x50
ret 4
mov al, 0x51
ret 4
mov al, 0x52
ret 4
mov al, 0x53
ret 4
mov al, 0x54
ret 4
mov al, 0x55
ret 4
mov al, 0x56
ret 4
mov al, 0x57
ret 4
mov al, 0x58
ret 4
mov al, 0x59
ret 4
mov al, 0x5a
ret 4