joyce8/EMBER2024-capa huggingface dataset:
Function at 0x541900
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 0x54191c
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 0x54195f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x541a0f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
push esi
call fcn.0059cff9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x541984
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 0x5419f9
cmp dword [esp + 0x14], esi
jne 0x5419f9
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.0059d022
mov eax, dword [ebp + 0x3154]
push eax
call fcn.0059d022
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.0059d022
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x541a0f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x544970
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c7cd0
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], 0x5cee98
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x67da2c]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x67da2c]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x67da2c]
mov dword [esi + 0x20], edx
mov eax, dword [0x67da2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x67da2c]
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 [0x67da2c]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x656f5c
push eax
mov dword [esi], 0x5f6638
call fcn.00599a28
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x656f5c
push edi
call fcn.00599a28
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x544a3d
push eax
lea eax, [esi + 0x1c]
push 0x656f5c
push eax
call fcn.00599a28
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x544a57
push eax
lea eax, [esi + 0x20]
push 0x656f5c
push eax
call fcn.00599a28
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 0x656f5c
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.00599a28
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x544aa3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x544aa3
push edx
lea eax, [esi + 0x30]
push 0x656f5c
push eax
call fcn.00599a28
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x544b70
push edi
call fcn.00584816
add esp, 4
test eax, eax
je 0x544b70
cmp dword [ebp], ebx
je 0x544b2c
push edi
call fcn.00584816
add esp, 4
test eax, eax
je 0x544b2c
mov eax, dword [ebp]
cmp eax, edi
ja 0x544b2c
push eax
call fcn.00584816
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x544b2c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401ee0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x544b14
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401ee0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x544b70
mov ecx, ebp
call fcn.00401070
push edi
call fcn.00584816
add esp, 4
test eax, eax
je 0x544b70
push edi
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x544b70
push edi
call fcn.00584816
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.005849ba
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 0x544bb0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5c7d40
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], 0x5f6638
mov dword [esp + 0x10], 7
call fcn.00544c80
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.005a0c5d
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.005a0c5d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.005a0c5d
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.005a0c5d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.005a0c5d
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.005a0c5d
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 0x544c6d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.00599ab5
mov edx, dword [esi + 4]
push edx
call fcn.0059d022
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x545c40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7dd0
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 0x545ca6
cmp dword [esi + 0x24], ebx
jl 0x545ca6
jg 0x545c8b
cmp dword [esi + 0x20], ebx
jbe 0x545ca6
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 0x545cb0
cmp edi, 0x15
jne 0x545c95
cmp dword [esi + 0x98], ebx
je 0x545c95
cmp dword [eax + 0xf8], 0x757b
jne 0x545c95
mov ecx, esi
call fcn.0054ae40
cmp eax, ebx
je 0x545dab
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.0050e040
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
push str._dkf
push eax
call fcn.005851fa
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.00511570
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 0x545d6e
mov eax, dword [esi + 0x30c4]
cmp ecx, dword [eax + 0x68]
jne 0x545d6e
push str.This_is_first_part__n
mov ecx, esi
call fcn.0050e040
mov byte [esi + 0x30d9], 1
mov byte [esi + 0x30db], bl
jmp 0x545d75
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.0050ff10
mov edx, dword [esi]
lea eax, [esi + 0x30c0]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
je 0x545c95
mov ecx, dword [esi + 0x30c4]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne 0x545c95
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 0x545e10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7de8
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.00546700
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 0x545e7b
push 0x601
call fcn.0059cff9
add esp, 4
mov dword [esi + 0x30ec], eax
mov eax, dword [esi + 0x30ec]
cmp eax, ebx
jne 0x545e9b
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.005860ec
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 0x545ef4
call fcn.00586dca
and eax, 0x800000ff
jns 0x545ee7
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x30ec]
inc edi
mov byte [ecx + edi - 1], al
jmp 0x545ecc
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.0050e0e0
mov ecx, dword [0x67da2c]
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.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0050e040
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.0050ed30
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 0x14
mov byte [ebp - 4], bl
call fcn.005a0c5d
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 0x547190
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.0050e0e0
mov ecx, eax
test ecx, ecx
je 0x5471d8
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.0050ed30
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 + 0x5f663c]
cmp eax, 0xc
mov dword [edi + 0x4664], eax
jne 0x547212
mov byte [esi + 0x10], 1
cmp dword [edi + 0x4664], 0xc
jge 0x547277
mov ecx, esi
call fcn.0054b940
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 0x5472c6
mov eax, dword [edi + 0x30c0]
push ecx
push eax
mov ecx, edi
call fcn.0050e590
test eax, eax
je 0x5472c6
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.005472e0
pop edi
pop esi
pop ecx
ret 4
Function at 0x5472e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4664]
test eax, eax
jle 0x547350
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.0050e0e0
mov ecx, eax
test ecx, ecx
je 0x547332
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 0x547460
mov ecx, esi
call fcn.0050ed30
mov eax, dword [esi + 0x4664]
mov edi, dword [esp + 0xc]
cmp eax, 3
jl 0x547378
lea edx, [esi + 0x4668]
push edx
call fcn.005463b0
add esp, 4
mov dword [edi + 8], eax
cmp dword [esi + 0x4664], 6
jl 0x5473b3
lea eax, [esi + 0x466b]
push eax
call fcn.005463b0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.0054b940
cmp dword [esi + 0x4664], 6
jle 0x5473b3
mov cl, byte [esi + 0x466e]
mov byte [edi + 5], cl
cmp dword [esi + 0x4664], 0xb
jne 0x5473ce
lea edx, [esi + 0x466f]
push edx
call fcn.00529f50
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.0x5473e5.9
xor edx, edx
mov dl, byte [eax + 0x547470]
jmp dword [edx*4 + 0x547468]
mov cl, 1
mov dl, byte [edi + 0x10]
mov eax, dword [edi + 8]
test dl, dl
mov dword [edi + 0x14], eax
jne 0x54740c
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 0x547438
mov eax, dword [esi + 0x30c0]
push 0
push eax
mov ecx, esi
mov dword [esi + 0x5c], 0x18
call fcn.0050e590
test eax, eax
jne 0x547460
push edi
mov ecx, esi
call fcn.00547480
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.0050e590
test eax, eax
jne 0x547460
push edi
mov ecx, esi
call fcn.005496b0
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x5496b0
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 0x5496ec
cmp dword [esi + 0x20], ebx
jne 0x5496ec
push eax
mov ecx, esi
call fcn.0054b880
test al, al
jne 0x5496ec
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.0050e040
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 0x549704
mov ebp, dword [edi + 0x3110]
cmp eax, ebp
jge 0x54970a
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x3114], ebx
je 0x549753
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.0050e0e0
mov ecx, eax
test ecx, ecx
je 0x549753
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 0x549770
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.0050ed30
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, eax
jne 0x549856
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x549801
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.00549af0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.0054b920
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x54a110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c8108
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.0054b800
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.0054b880
mov esi, dword [esp + 0x34]
push str._result
lea ecx, [esp + 0xc]
call fcn.005a0ccb
lea eax, [esp + 8]
push eax
push esi
call fcn.00546660
add esp, 8
lea ecx, [esp + 8]
add esi, eax
call fcn.005a0c5d
call fcn.00545120
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push esi
call fcn.005466b0
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.005466b0
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.00546760
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0054b840
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x54a930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c81c0
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.00506590
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.005069e0
test eax, eax
jge 0x54a987
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.0050e040
jmp 0x54ab00
push 0
lea ecx, [esp + 0x10]
call fcn.00506b40
mov ecx, eax
call fcn.00505ee0
push eax
lea ecx, [esp + 0xc]
call fcn.005a0ccb
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.00585ec4
add esp, 8
test eax, eax
jne 0x54aaf2
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.005a0ccb
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0054a840
test al, al
je 0x54aaf2
mov eax, dword [esi + 0x98]
test eax, eax
je 0x54aa75
mov edi, dword [esi + 0x80]
fld qword [edi + 0x2e0]
fcomp qword [0x5d5758]
fnstsw ax
test ah, 0x41
jne 0x54aa75
mov ecx, dword [esp + 0x30]
call fcn.00505ed0
fcomp qword [edi + 0x2e0]
fnstsw ax
test ah, 0x40
jne 0x54aae3
mov edx, dword [0x67da2c]
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.00599a28
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0050e040
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x54aade
mov ecx, dword [esp + 0x30]
call fcn.00505ed0
mov edx, dword [esi + 0x80]
fstp qword [edx + 0x2e0]
mov ecx, dword [esi + 0x30c4]
call fcn.0054dfb0
mov eax, dword [0x67da2c]
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.00599a28
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.0050e040
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.005a0c5d
mov eax, dword [0x6835dc]
push 1
push eax
mov ecx, esi
call fcn.0050df70
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005a0c5d
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00506600
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8