joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52efa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5adc70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x5b4e70
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x65ec1c]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x65ec1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x65ec1c]
mov dword [esi + 0x20], edx
mov eax, dword [0x65ec1c]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x65ec1c]
mov dword [esi + 0x30], ecx
lea ebp, [esi + 0x34]
lea edx, [ebp + 4]
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov word [edx], bx
mov ecx, dword [0x65ec1c]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x638fa8
push eax
mov dword [esi], 0x5db140
call fcn.0058148b
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x638fa8
push edi
call fcn.0058148b
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x52f06d
push eax
lea eax, [esi + 0x1c]
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x52f087
push eax
lea eax, [esi + 0x20]
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
lea eax, [esi + 0x2c]
push 0x638fa8
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.0058148b
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x52f0d3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x52f0d3
push edx
lea eax, [esi + 0x30]
push 0x638fa8
push eax
call fcn.0058148b
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x52f1a0
push edi
call fcn.0056ca2e
add esp, 4
test eax, eax
je 0x52f1a0
cmp dword [ebp], ebx
je 0x52f15c
push edi
call fcn.0056ca2e
add esp, 4
test eax, eax
je 0x52f15c
mov eax, dword [ebp]
cmp eax, edi
ja 0x52f15c
push eax
call fcn.0056ca2e
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x52f15c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00402e10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x52f144
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00402e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x52f1a0
mov ecx, ebp
call fcn.00401070
push edi
call fcn.0056ca2e
add esp, 4
test eax, eax
je 0x52f1a0
push edi
call fcn.0056ca2e
lea eax, [eax + eax + 2]
push eax
call fcn.00584a5c
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x52f1a0
push edi
call fcn.0056ca2e
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.0056ca09
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x24
Function at 0x52f1e0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5adce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x5db140
mov dword [esp + 0x10], 7
call fcn.0052f2b0
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.005886c0
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.005886c0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.005886c0
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.005886c0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.005886c0
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.005886c0
add esi, 4
mov dword [esp + 4], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 8
test eax, eax
je 0x52f29d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.00581518
mov edx, dword [esi + 4]
push edx
call fcn.00584a85
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x530270
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5add70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov edi, dword [esi + 0x5c]
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
mov eax, dword [esi + 0x30c4]
cmp dword [eax + 0xec], 2
jne 0x5302d6
cmp dword [esi + 0x24], ebx
jl 0x5302d6
jg 0x5302bb
cmp dword [esi + 0x20], ebx
jbe 0x5302d6
mov dword [esi + 0x5c], 7
mov dword [esi + 0x54], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x18
je 0x5302e0
cmp edi, 0x15
jne 0x5302c5
cmp dword [esi + 0x98], ebx
je 0x5302c5
cmp dword [eax + 0xf8], 0x757b
jne 0x5302c5
mov ecx, esi
call fcn.005351c0
cmp eax, ebx
je 0x5303db
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.004f8a80
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x38]
push edx
push str._dkf
push eax
call fcn.0056d05a
mov edx, dword [esi + 0x30c4]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov eax, dword [edx + 0xbc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.004fbf50
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
cmp eax, ebx
mov dword [esi + 0x98], eax
fstp qword [esi + 0x30c8]
jne 0x53039e
mov eax, dword [esi + 0x30c4]
cmp ecx, dword [eax + 0x68]
jne 0x53039e
push str.This_is_first_part__n
mov ecx, esi
call fcn.004f8a80
mov byte [esi + 0x30d9], 1
mov byte [esi + 0x30db], bl
jmp 0x5303a5
mov byte [esi + 0x30db], 1
mov byte [esi + 0x30dd], bl
mov byte [esi + 0x30de], bl
mov dword [esi + 0x46b8], ebx
mov dword [esi + 0x46bc], ebx
mov byte [esi + 0x30d5], bl
mov byte [esi + 0x30d4], bl
mov dword [esi + 0x310c], ebx
mov byte [esi + 0x30e1], bl
mov byte [esi + 0x30e0], bl
mov edx, dword [esi]
lea eax, [esi + 0x30c0]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
je 0x5302c5
mov ecx, dword [esi + 0x30c4]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne 0x5302c5
mov ecx, dword [esi + 0x30c4]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x530430
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5add88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.00530d10
mov eax, dword [esi + 0x30ec]
mov byte [esi + 0x30d5], bl
cmp eax, ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x4688], ebx
mov byte [esi + 0x30e1], bl
jne 0x530495
push 0x601
call fcn.00584a5c
add esp, 4
mov dword [esi + 0x30ec], eax
mov eax, dword [esi + 0x30ec]
cmp eax, ebx
jne 0x5304b5
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 3
lea eax, [ebp - 0x24]
push eax
call fcn.0056dcfc
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call sub.WSOCK32.dll_htonl
mov edx, dword [esi + 0x30ec]
mov edi, 9
mov dword [edx + 1], eax
mov eax, dword [esi + 0x30ec]
add eax, 5
mov dword [eax], ebx
cmp edi, 0x600
jg 0x53050e
call fcn.0056eb2a
and eax, 0x800000ff
jns 0x530501
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x30ec]
inc edi
mov byte [edi + ecx - 1], al
jmp 0x5304e6
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30c0]
push str.send_handshake
push ebx
push 0x601
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004f8b20
mov ecx, dword [0x65ec1c]
mov edi, eax
mov dword [ebp - 0x14], ecx
push edi
lea edx, [ebp - 0x14]
push str.sending_handshake__res___ld_n
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f8a80
mov ecx, esi
mov dword [esi + 0x30f0], ebx
mov dword [esi + 0x30f4], ebx
mov byte [esi + 0x30d6], bl
mov byte [esi + 0x30d7], bl
call fcn.004f9770
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 0x14
mov byte [ebp - 4], bl
call fcn.005886c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x531790
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
push 0
lea eax, [esp + 0xf]
push 1
mov ecx, dword [edi + 0x30c0]
push eax
push ecx
mov dword [edi + 0x3104], 0
call sub.WSOCK32.dll_recv
push str.recv_pheader_type
push eax
mov ecx, edi
call fcn.004f8b20
mov ecx, eax
test ecx, ecx
je 0x5317d8
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.004f9770
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
and cl, 0x3f
sar al, 6
and al, 3
mov byte [esi + 6], cl
mov byte [esi + 4], al
and eax, 0xff
mov eax, dword [eax*4 + 0x5db144]
cmp eax, 0xc
mov dword [edi + 0x4660], eax
jne 0x531812
mov byte [esi + 0x10], 1
cmp dword [edi + 0x4660], 0xc
jge 0x531877
mov ecx, esi
call fcn.00535c60
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
mov cl, byte [edi + edx*8 + 0x3140]
lea eax, [edi + edx*8 + 0x313c]
mov byte [esi + 4], cl
mov dl, byte [eax + 5]
mov byte [esi + 5], dl
mov cl, byte [eax + 6]
mov byte [esi + 6], cl
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov dl, byte [eax + 0x10]
mov byte [esi + 0x10], dl
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x20], edx
mov al, byte [eax + 0x24]
mov byte [esi + 0x24], al
mov ecx, dword [edi + 0x4660]
lea edx, [edi + 0x4664]
dec ecx
mov dword [edi + 0x4660], ecx
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x4660]
test eax, eax
mov dword [edi + 0x5c], 0x16
mov dword [edi + 0x30f8], ecx
jle 0x5318c6
mov eax, dword [edi + 0x30c0]
push ecx
push eax
mov ecx, edi
call fcn.004f8fd0
test eax, eax
je 0x5318c6
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.005318e0
pop edi
pop esi
pop ecx
ret 4
Function at 0x5318e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4660]
test eax, eax
jle 0x531950
mov ecx, dword [esi + 0x30f8]
push 0
sub eax, ecx
push eax
lea eax, [ecx + esi + 0x4664]
mov ecx, dword [esi + 0x30c0]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov edi, eax
push str.recv_pheader
push edi
mov ecx, esi
call fcn.004f8b20
mov ecx, eax
test ecx, ecx
je 0x531932
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
ret 4
mov edx, dword [esi + 0x30f8]
mov ecx, dword [esi + 0x4660]
add edx, edi
mov eax, edx
mov dword [esi + 0x30f8], edx
cmp eax, ecx
jne 0x531a60
mov ecx, esi
call fcn.004f9770
mov eax, dword [esi + 0x4660]
mov edi, dword [esp + 0xc]
cmp eax, 3
jl 0x531978
lea edx, [esi + 0x4664]
push edx
call fcn.005309c0
add esp, 4
mov dword [edi + 8], eax
cmp dword [esi + 0x4660], 6
jl 0x5319b3
lea eax, [esi + 0x4667]
push eax
call fcn.005309c0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.00535c60
cmp dword [esi + 0x4660], 6
jle 0x5319b3
mov cl, byte [esi + 0x466a]
mov byte [edi + 5], cl
cmp dword [esi + 0x4660], 0xb
jne 0x5319ce
lea edx, [esi + 0x466b]
push edx
call fcn.00514900
add esp, 4
mov dword [edi + 0xc], eax
xor eax, eax
xor cl, cl
mov al, byte [edi + 5]
add eax, 0xfffffff8
cmp eax, 0xe
ja case.0x5319e5.9
xor edx, edx
mov dl, byte [eax + 0x531a70]
jmp dword [edx*4 + 0x531a68]
mov cl, 1
mov dl, byte [edi + 0x10]
mov eax, dword [edi + 8]
test dl, dl
mov dword [edi + 0x14], eax
jne 0x531a0c
xor edx, edx
mov dl, byte [edi + 6]
mov edx, dword [esi + edx*4 + 0x453c]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x531a38
mov eax, dword [esi + 0x30c0]
push 0
push eax
mov ecx, esi
mov dword [esi + 0x5c], 0x18
call fcn.004f8fd0
test eax, eax
jne 0x531a60
push edi
mov ecx, esi
call fcn.00531a80
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0x30c0]
push 0
push ecx
mov ecx, esi
mov dword [esi + 0x5c], 0x17
call fcn.004f8fd0
test eax, eax
jne 0x531a60
push edi
mov ecx, esi
call fcn.00533a60
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x533a60
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jbe 0x533a9c
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x533a9c
push eax
mov ecx, esi
call fcn.00535bf0
test al, al
jne 0x533a9c
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.004f8a80
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 4
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ebp, dword [edi + 0x3110]
sub eax, ecx
cmp eax, ebp
jge 0x533ab0
mov ebp, eax
xor ebx, ebx
test ebp, ebp
je 0x533af1
mov eax, dword [esi + 0x20]
push ebx
add eax, ecx
mov ecx, dword [edi + 0x30c0]
push ebp
push eax
push ecx
call sub.WSOCK32.dll_recv
mov ebx, eax
push str.recv_pheader
push ebx
mov ecx, edi
call fcn.004f8b20
mov ecx, eax
test ecx, ecx
je 0x533af1
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, ecx
pop ebx
ret 4
mov ecx, dword [esi + 0x1c]
add ecx, ebx
cmp ebx, ebp
mov dword [esi + 0x1c], ecx
jne 0x533be4
xor eax, eax
mov cl, byte [esi + 4]
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8 + 0x313c]
mov byte [eax + 4], cl
mov dl, byte [esi + 5]
mov byte [eax + 5], dl
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0x10]
mov byte [eax + 0x10], dl
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov cl, byte [esi + 0x24]
mov byte [eax + 0x24], cl
mov ecx, edi
mov dword [edi + 0x5c], 0x15
call fcn.004f9770
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, eax
jne 0x533bd6
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x533b88
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x453c]
add edx, eax
mov dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
xor eax, eax
mov al, byte [esi + 6]
push esi
mov dword [edi + eax*4 + 0x453c], ecx
xor eax, eax
mov al, byte [esi + 6]
xor ecx, ecx
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8 + 0x315c], ecx
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x3158], ecx
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x314c], 0
mov ecx, edi
call fcn.00533e70
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00535c40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x534490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00535b70
mov eax, dword [edi + 0x4658]
push pe_nt_image_headers32
mov dword [esp + 0x48], 0
mov byte [esp + 0x1e], 3
lea ecx, [eax + eax*4]
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], 0x14
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x18]
shl edx, 1
mov dword [esp + 0x20], edx
call fcn.00535bf0
mov esi, dword [esp + 0x34]
push str._result
lea ecx, [esp + 0xc]
call fcn.0058872e
lea eax, [esp + 8]
push eax
push esi
call fcn.00530c70
add esp, 8
lea ecx, [esp + 8]
add esi, eax
call fcn.005886c0
call fcn.0052f750
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push esi
call fcn.00530cc0
add esi, eax
mov byte [esi], 5
mov eax, dword [edi + 0x4658]
mov dword [esp + 0x18], eax
inc esi
fild dword [esp + 0x18]
inc eax
mov dword [edi + 0x4658], eax
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
call fcn.00530cc0
mov edx, dword [esp + 0x4c]
add esp, 0x18
add esi, eax
lea eax, [esp + 0x14]
sub esi, edx
push eax
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.00530d70
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00535bb0
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x534cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004f1bf0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.004f2040
test eax, eax
jge 0x534d07
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.004f8a80
jmp 0x534e80
push 0
lea ecx, [esp + 0x10]
call fcn.004f21b0
mov ecx, eax
call fcn.004f1540
push eax
lea ecx, [esp + 0xc]
call fcn.0058872e
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x534e72
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.0058872e
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00534bc0
test al, al
je 0x534e72
mov eax, dword [esi + 0x98]
test eax, eax
je 0x534df5
mov edi, dword [esi + 0x80]
fld qword [edi + 0x2e0]
fcomp qword [0x5bb340]
fnstsw ax
test ah, 0x41
jne 0x534df5
mov ecx, dword [esp + 0x30]
call fcn.004f1530
fcomp qword [edi + 0x2e0]
fnstsw ax
test ah, 0x40
jne 0x534e63
mov edx, dword [0x65ec1c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x80]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x2e4]
push ecx
mov edx, dword [eax + 0x2e0]
lea eax, [esp + 0x38]
push edx
push str.Duration_dont_match__New_duration___f_n
push eax
call fcn.0058148b
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.004f8a80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x534e5e
mov ecx, dword [esp + 0x30]
call fcn.004f1530
mov edx, dword [esi + 0x80]
fstp qword [edx + 0x2e0]
mov ecx, dword [esi + 0x30c4]
call fcn.00538220
mov eax, dword [0x65ec1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x80]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x2e4]
push edx
mov eax, dword [ecx + 0x2e0]
lea ecx, [esp + 0x38]
push eax
push str.Duration___f_n
push ecx
call fcn.0058148b
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.004f8a80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.005886c0
mov eax, dword [0x664634]
push 1
push eax
mov ecx, esi
call fcn.004f89b0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004f1c60
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x537210
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.0056d05a
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0xbc]
add esp, 0xc
lea eax, [esp + 4]
push 0x10
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
add esp, 8
ret 8

Function at 0x537260
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.0056d05a
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
mov edx, dword [esi + 0xbc]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 8
ret 8

Function at 0x5372c0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x5ae28f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x48]
call fcn.004f25a0
mov ecx, dword [0x65ec1c]
xor eax, eax
mov dword [esp + 0x220], eax
mov dword [esi + 0xe8], ecx
lea edx, [esp + 0x88]
mov dword [esi + 0x140], eax
push edx
mov dword [esi + 0x148], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x188], eax
push 0x101
mov byte [esp + 0x228], 1
mov dword [esi], 0x5db788
mov dword [esi + 0x12c], 0x10
mov dword [esi + 0x130], 1
mov dword [esi + 0x128], eax
mov dword [esi + 0x144], eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 8], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], 1
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], 0xffffffff
mov dword [esi + 0x118], eax
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x537430
push 1
push 1
lea eax, [esp + 0x10]
push str.Cannot_find_Winsock_v_d._d_or_later__n
push eax
call fcn.0056d05a
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.005375c0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret