joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c4e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, dword [ebp + 0x30d0]
cmp esi, 0x186a0
jbe 0x53c4fc
mov esi, 0x186a0
mov eax, dword [ebp + 0x80]
push 0
push 0
push 3
mov ecx, dword [eax + 0x30]
push 0
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x53c53f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x53c5ef
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
push esi
call fcn.005970d9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x53c564
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0x753b
pop ebx
add esp, 0xc
ret 4
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53c5d9
cmp dword [esp + 0x14], esi
jne 0x53c5d9
mov edi, dword [ebp + 0x3154]
mov ecx, esi
mov esi, ebx
xor eax, eax
mov edx, dword [esp + 0x20]
push ebx
repe cmpsb byte [esi], byte es:[edi]
setne cl
mov byte [edx], cl
call fcn.00597102
mov eax, dword [ebp + 0x3154]
push eax
call fcn.00597102
add esp, 8
mov dword [ebp + 0x3154], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push ebx
call fcn.00597102
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x53c5ef
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x53f560
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c1570
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], 0x5c8eb0
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6754cc]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x6754cc]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x6754cc]
mov dword [esi + 0x20], edx
mov eax, dword [0x6754cc]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6754cc]
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 [0x6754cc]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x64efa8
push eax
mov dword [esi], 0x5eee48
call fcn.00593b08
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x64efa8
push edi
call fcn.00593b08
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x53f62d
push eax
lea eax, [esi + 0x1c]
push 0x64efa8
push eax
call fcn.00593b08
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x53f647
push eax
lea eax, [esi + 0x20]
push 0x64efa8
push eax
call fcn.00593b08
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 0x64efa8
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.00593b08
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x53f693
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x53f693
push edx
lea eax, [esi + 0x30]
push 0x64efa8
push eax
call fcn.00593b08
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x53f760
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f760
cmp dword [ebp], ebx
je 0x53f71c
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f71c
mov eax, dword [ebp]
cmp eax, edi
ja 0x53f71c
push eax
call fcn.0057e90a
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x53f71c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401fb0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x53f704
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401fb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x53f760
mov ecx, ebp
call fcn.00401070
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x53f760
push edi
call fcn.0057e90a
lea eax, [eax + eax + 2]
push eax
call fcn.005970d9
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x53f760
push edi
call fcn.0057e90a
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.0057eaaa
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 0x53f7a0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5c15e0
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], 0x5eee48
mov dword [esp + 0x10], 7
call fcn.0053f870
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.0059ad3d
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.0059ad3d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.0059ad3d
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.0059ad3d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.0059ad3d
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.0059ad3d
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 0x53f85d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.00593b95
mov edx, dword [esi + 4]
push edx
call fcn.00597102
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x540830
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1670
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 0x540896
cmp dword [esi + 0x24], ebx
jl 0x540896
jg 0x54087b
cmp dword [esi + 0x20], ebx
jbe 0x540896
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 0x5408a0
cmp edi, 0x15
jne 0x540885
cmp dword [esi + 0x98], ebx
je 0x540885
cmp dword [eax + 0xf8], 0x757b
jne 0x540885
mov ecx, esi
call fcn.00545a30
cmp eax, ebx
je 0x54099b
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.00508d80
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
push str._dkf
push eax
call fcn.0057f2ea
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.0050c2b0
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 0x54095e
mov eax, dword [esi + 0x30c4]
cmp ecx, dword [eax + 0x68]
jne 0x54095e
push str.This_is_first_part__n
mov ecx, esi
call fcn.00508d80
mov byte [esi + 0x30d9], 1
mov byte [esi + 0x30db], bl
jmp 0x540965
mov byte [esi + 0x30db], 1
mov byte [esi + 0x30dd], bl
mov byte [esi + 0x30de], bl
mov dword [esi + 0x46c0], ebx
mov dword [esi + 0x46c4], 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 ecx, esi
mov byte [esi + 0x96], 1
call fcn.0050ac50
mov edx, dword [esi]
lea eax, [esi + 0x30c0]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
je 0x540885
mov ecx, dword [esi + 0x30c4]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne 0x540885
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 0x540a00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1688
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.005412f0
mov eax, dword [esi + 0x30ec]
mov byte [esi + 0x30d5], bl
cmp eax, ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x468c], ebx
mov byte [esi + 0x30e1], bl
mov byte [esi + 0x96], bl
jne 0x540a6b
push 0x601
call fcn.005970d9
add esp, 4
mov dword [esi + 0x30ec], eax
mov eax, dword [esi + 0x30ec]
cmp eax, ebx
jne 0x540a8b
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.005801dc
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 0x540ae4
call fcn.00580eba
and eax, 0x800000ff
jns 0x540ad7
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x30ec]
inc edi
mov byte [ecx + edi - 1], al
jmp 0x540abc
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.00508e20
mov ecx, dword [0x6754cc]
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.00593b08
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00508d80
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.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 0x14
mov byte [ebp - 4], bl
call fcn.0059ad3d
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 0x541d80
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.00508e20
mov ecx, eax
test ecx, ecx
je 0x541dc8
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.00509a70
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 + 0x5eee4c]
cmp eax, 0xc
mov dword [edi + 0x4664], eax
jne 0x541e02
mov byte [esi + 0x10], 1
cmp dword [edi + 0x4664], 0xc
jge 0x541e67
mov ecx, esi
call fcn.00546530
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
mov cl, byte [edi + edx*8 + 0x3144]
lea eax, [edi + edx*8 + 0x3140]
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 + 0x4664]
lea edx, [edi + 0x4668]
dec ecx
mov dword [edi + 0x4664], ecx
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x4664]
test eax, eax
mov dword [edi + 0x5c], 0x16
mov dword [edi + 0x30f8], ecx
jle 0x541eb6
mov eax, dword [edi + 0x30c0]
push ecx
push eax
mov ecx, edi
call fcn.005092d0
test eax, eax
je 0x541eb6
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.00541ed0
pop edi
pop esi
pop ecx
ret 4
Function at 0x541ed0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4664]
test eax, eax
jle 0x541f40
mov ecx, dword [esi + 0x30f8]
push 0
sub eax, ecx
push eax
lea eax, [ecx + esi + 0x4668]
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.00508e20
mov ecx, eax
test ecx, ecx
je 0x541f22
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 + 0x4664]
add edx, edi
mov eax, edx
mov dword [esi + 0x30f8], edx
cmp eax, ecx
jne 0x542050
mov ecx, esi
call fcn.00509a70
mov eax, dword [esi + 0x4664]
mov edi, dword [esp + 0xc]
cmp eax, 3
jl 0x541f68
lea edx, [esi + 0x4668]
push edx
call fcn.00540fa0
add esp, 4
mov dword [edi + 8], eax
cmp dword [esi + 0x4664], 6
jl 0x541fa3
lea eax, [esi + 0x466b]
push eax
call fcn.00540fa0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.00546530
cmp dword [esi + 0x4664], 6
jle 0x541fa3
mov cl, byte [esi + 0x466e]
mov byte [edi + 5], cl
cmp dword [esi + 0x4664], 0xb
jne 0x541fbe
lea edx, [esi + 0x466f]
push edx
call fcn.00501eb0
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.0x541fd5.9
xor edx, edx
mov dl, byte [eax + 0x542060]
jmp dword [edx*4 + 0x542058]
mov cl, 1
mov dl, byte [edi + 0x10]
mov eax, dword [edi + 8]
test dl, dl
mov dword [edi + 0x14], eax
jne 0x541ffc
xor edx, edx
mov dl, byte [edi + 6]
mov edx, dword [esi + edx*4 + 0x4540]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x542028
mov eax, dword [esi + 0x30c0]
push 0
push eax
mov ecx, esi
mov dword [esi + 0x5c], 0x18
call fcn.005092d0
test eax, eax
jne 0x542050
push edi
mov ecx, esi
call fcn.00542070
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.005092d0
test eax, eax
jne 0x542050
push edi
mov ecx, esi
call fcn.005442a0
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x5442a0
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x18]
mov edi, ecx
cmp eax, ebx
jbe 0x5442dc
cmp dword [esi + 0x20], ebx
jne 0x5442dc
push eax
mov ecx, esi
call fcn.00546470
test al, al
jne 0x5442dc
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.00508d80
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 4
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ebp, dword [edi + 0x3114]
sub eax, edx
cmp ebp, ebx
jne 0x5442f4
mov ebp, dword [edi + 0x3110]
cmp eax, ebp
jge 0x5442fa
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x3114], ebx
je 0x544343
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov ecx, dword [edi + 0x30c0]
push 0
add eax, edx
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.00508e20
mov ecx, eax
test ecx, ecx
je 0x544343
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
je 0x544360
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x3114], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov cl, byte [esi + 4]
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8 + 0x3140]
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
mov dword [edi + 0x3114], 0
call fcn.00509a70
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, eax
jne 0x544446
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x5443f1
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x4540]
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 + 0x4540], ecx
xor eax, eax
mov al, byte [esi + 6]
add eax, 0x13c
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8], 0
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x315c], 0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x3150], 0
mov ecx, edi
call fcn.005446e0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00546510
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x544d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c19a8
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.005463f0
mov eax, dword [edi + 0x465c]
push 0x100
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.00546470
mov esi, dword [esp + 0x34]
push str._result
lea ecx, [esp + 0xc]
call fcn.0059adab
lea eax, [esp + 8]
push eax
push esi
call fcn.00541250
add esp, 8
lea ecx, [esp + 8]
add esi, eax
call fcn.0059ad3d
call fcn.0053fd10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push esi
call fcn.005412a0
add esi, eax
mov byte [esi], 5
mov eax, dword [edi + 0x465c]
mov dword [esp + 0x18], eax
inc esi
fild dword [esp + 0x18]
inc eax
mov dword [edi + 0x465c], eax
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
call fcn.005412a0
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.00541350
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00546430
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x545520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c1a60
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.00501520
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.00501970
test eax, eax
jge 0x545577
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.00508d80
jmp 0x5456f0
push 0
lea ecx, [esp + 0x10]
call fcn.00501ad0
mov ecx, eax
call fcn.00500e70
push eax
lea ecx, [esp + 0xc]
call fcn.0059adab
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.0057ffb4
add esp, 8
test eax, eax
jne 0x5456e2
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.0059adab
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00545430
test al, al
je 0x5456e2
mov eax, dword [esi + 0x98]
test eax, eax
je 0x545665
mov edi, dword [esi + 0x80]
fld qword [edi + 0x2e0]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x41
jne 0x545665
mov ecx, dword [esp + 0x30]
call fcn.00500e60
fcomp qword [edi + 0x2e0]
fnstsw ax
test ah, 0x40
jne 0x5456d3
mov edx, dword [0x6754cc]
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.00593b08
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.00508d80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x5456ce
mov ecx, dword [esp + 0x30]
call fcn.00500e60
mov edx, dword [esi + 0x80]
fstp qword [edx + 0x2e0]
mov ecx, dword [esi + 0x30c4]
call fcn.00548ac0
mov eax, dword [0x6754cc]
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.00593b08
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00508d80
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.0059ad3d
mov eax, dword [0x67b02c]
push 1
push eax
mov ecx, esi
call fcn.00508cb0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0059ad3d
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00501590
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x547aa0
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.0057f2ea
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 0x547af0
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.0057f2ea
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 0x547b50
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x5c1bbf
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.00501ed0
mov ecx, dword [0x6754cc]
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], 0x5ef490
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 0x547cc0
push 1
push 1
lea eax, [esp + 0x10]
push str.Cannot_find_Winsock_v_d._d_or_later__n
push eax
call fcn.0057f2ea
add esp, 0x10
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00547e50
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret