joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b6d30
Capabilities:
Read file via mapping

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push 0
push 0
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x5b6d56
pop ebx
pop ecx
ret 0x14
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], 1
lea ecx, [edi + 4]
push ecx
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x5b6df3
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
test ebx, ebx
jl 0x5b6dc4
jg 0x5b6d8f
cmp ebp, 0xffffffff
jbe 0x5b6dc4
add ebp, 8
push 1
adc ebx, 0
call fcn.0060106a
mov dword [edi + esi - 8], eax
mov edx, dword [str.mdat]
mov eax, ebx
push ebx
sar eax, 0x1f
mov dword [edi + esi - 4], edx
call fcn.0060106a
push ebp
mov dword [edi + esi], eax
call fcn.0060106a
mov dword [edi + esi + 4], eax
jmp 0x5b6dcd
push ebp
call fcn.0060106a
mov dword [edi + esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 0x14

Function at 0x5b6e10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
push esi
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 8]
push 0x20
rep stosd dword es:[edi], eax
call fcn.0060106a
mov ecx, dword [0x6edfa8]
mov edx, dword [str.isomiso2avc1mp41]
mov dword [esp + 8], eax
mov eax, dword [str.ftypisom]
mov dword [esp + 0xc], eax
mov eax, dword [0x6edf94]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x6edf98]
mov dword [esp + 0x18], edx
mov edx, dword [0x6edf9c]
push 8
mov byte [esp + 0x1a], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.0060106a
mov esi, dword [esp + 0x44]
mov ecx, dword [str.mdat]
mov dword [esp + 0x28], eax
mov eax, dword [str.free]
push 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
push esi
lea edx, [esp + 0x10]
push 0x30
push edx
push eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5b6eca
cmp dword [esi], 0x30
jne 0x5b6eca
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov dword [eax], 0x28
mov dword [eax + 4], 0
mov eax, 1
add esp, 0x30
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 0xc
Function at 0x5b6ee0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
push 0x24
call fcn.0060106a
mov dword [esp + 0xc], eax
mov eax, dword [str.edts]
push 0x1c
mov dword [esp + 0x14], eax
call fcn.0060106a
mov ecx, dword [str.elst]
push 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.0060106a
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x78]
push eax
call fcn.0060106a
push 1
mov dword [esp + 0x28], eax
call fcn.0060106a
mov esi, dword [esi + 0xcc]
mov dword [esp + 0x2a], eax
push esi
call fcn.0060106a
mov ecx, dword [esp + 0x34]
lea edx, [esp + 8]
mov dword [esp + 0x28], eax
push 0
push edx
lea eax, [esp + 0x14]
push 0x24
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x5b9770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x652150
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], 0x658828
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6f7b78]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x6f7b78]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x6f7b78]
mov dword [esi + 0x20], edx
mov eax, dword [0x6f7b78]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6f7b78]
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 [0x6f7b78]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x6c910c
push eax
mov dword [esi], 0x664108
call fcn.0061fae1
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x6c910c
push edi
call fcn.0061fae1
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x5b983d
push eax
lea eax, [esi + 0x1c]
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x5b9857
push eax
lea eax, [esi + 0x20]
push 0x6c910c
push eax
call fcn.0061fae1
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 0x6c910c
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.0061fae1
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x5b98a3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5b98a3
push edx
lea eax, [esi + 0x30]
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x5b9970
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5b9970
cmp dword [ebp], ebx
je 0x5b992c
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5b992c
mov eax, dword [ebp]
cmp eax, edi
ja 0x5b992c
push eax
call fcn.00609a4e
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x5b992c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401f20
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x5b9914
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401f20
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x5b9970
mov ecx, ebp
call fcn.00401070
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5b9970
push edi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x5b9970
push edi
call fcn.00609a4e
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.00609a95
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 0x5b99b0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6521c0
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], 0x664108
mov dword [esp + 0x10], 7
call fcn.005b9a80
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.00622d8a
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00622d8a
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.00622d8a
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00622d8a
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.00622d8a
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.00622d8a
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 0x5b9a6d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.0061fb6e
mov edx, dword [esi + 4]
push edx
call fcn.00622af4
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5bb0c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
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 + 0x8c]
mov dword [ebp - 4], ebx
call dword [eax + 0x20]
mov eax, dword [esi + 0x31dc]
cmp dword [eax + 0x134], 2
jne 0x5bb12f
cmp dword [esi + 0x54], ebx
jl 0x5bb12f
jg 0x5bb10e
cmp dword [esi + 0x50], ebx
jbe 0x5bb12f
mov dword [esi + 0x8c], 7
mov dword [esi + 0x84], 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 0x5bb139
cmp edi, 0x15
jne 0x5bb11e
cmp dword [esi + 0xd0], ebx
je 0x5bb11e
cmp dword [eax + 0x140], 0x757b
jne 0x5bb11e
mov ecx, esi
call fcn.005c1d90
cmp eax, ebx
je 0x5bb246
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.00567a50
mov ecx, dword [esi + 0x90]
lea eax, [ebp - 0x28]
mov edx, dword [ecx + 0x60]
push edx
push str._dkf
push eax
call fcn.0060a593
mov edx, dword [esi + 0x31dc]
add esp, 0xc
lea ecx, [ebp - 0x28]
mov eax, dword [edx + 0x104]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.00570480
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], 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 + 0xd0], eax
mov dword [esi + 0xd8], ebx
fstp qword [esi + 0x31e0]
jne 0x5bb209
mov eax, dword [esi + 0x31dc]
cmp ecx, dword [eax + 0xb0]
jne 0x5bb209
push str.This_is_first_part__n
mov ecx, esi
call fcn.00567a50
mov byte [esi + 0x31f1], 1
mov byte [esi + 0x31f3], bl
jmp 0x5bb210
mov byte [esi + 0x31f3], 1
mov byte [esi + 0x31f5], bl
mov byte [esi + 0x31f6], bl
mov dword [esi + 0x4a18], ebx
mov dword [esi + 0x4a1c], ebx
mov byte [esi + 0x31ed], bl
mov byte [esi + 0x31ec], bl
mov dword [esi + 0x3228], ebx
mov byte [esi + 0x31f9], bl
mov byte [esi + 0x31f8], bl
mov ecx, esi
mov byte [esi + 0xcd], 1
call fcn.0056bd00
mov edx, dword [esi]
lea eax, [esi + 0x31d8]
push eax
mov ecx, esi
call dword [edx + 0x18]
cmp eax, ebx
je 0x5bb11e
mov ecx, dword [esi + 0x31dc]
cmp eax, 0x7569
mov dword [ecx + 0x140], eax
jne 0x5bb11e
mov ecx, dword [esi + 0x31dc]
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 0x5bd880
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xb0]
mov dword [edi + 0x3220], 0
cmp dword [eax + 0x24], 5
jne 0x5bd8ab
lea ecx, [esp + 0xb]
push 1
push ecx
mov ecx, edi
call fcn.005bbd80
jmp 0x5bd8c0
mov eax, dword [edi + 0x31d8]
push 0
lea edx, [esp + 0xf]
push 1
push edx
push eax
call fcn.00601142
push str.recv_pheader_type
push eax
mov ecx, edi
call fcn.00567b10
mov ecx, eax
test ecx, ecx
je 0x5bd8e4
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.00569ea0
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
sar al, 6
and al, 3
and cl, 0x3f
mov byte [esi + 4], al
mov byte [esi + 6], cl
jne 0x5bd90e
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
cmp cl, 1
jne 0x5bd91c
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
and eax, 0xff
mov eax, dword [eax*4 + 0x66410c]
cmp eax, 0xc
mov dword [edi + 0x49bc], eax
jne 0x5bd937
mov byte [esi + 0x10], 1
cmp dword [edi + 0x49bc], 0xc
jge 0x5bd99c
mov ecx, esi
call fcn.005c27e0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov dl, byte [edi + ecx*8 + 0x349c]
lea eax, [edi + ecx*8 + 0x3498]
mov byte [esi + 4], dl
mov cl, byte [eax + 5]
mov byte [esi + 5], cl
mov dl, byte [eax + 6]
mov byte [esi + 6], dl
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov cl, byte [eax + 0x10]
mov byte [esi + 0x10], cl
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov dl, byte [eax + 0x24]
mov byte [esi + 0x24], dl
mov ecx, dword [edi + 0x49bc]
xor eax, eax
dec ecx
mov dword [edi + 0x49bc], ecx
lea ecx, [edi + 0x49c0]
mov dword [edi + 0x49c0], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [edi + 0x3214], eax
mov eax, dword [edi + 0x49bc]
mov dword [edi + 0x8c], 0x16
test eax, eax
jle 0x5bd9ea
mov ecx, edi
call fcn.005bb4e0
test eax, eax
je 0x5bd9ea
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.005bda00
pop edi
pop esi
pop ecx
ret 4
Function at 0x5c0060
Capabilities:
Enumerate pe sections

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 0x5c009c
cmp dword [esi + 0x20], ebx
jne 0x5c009c
push eax
mov ecx, esi
call fcn.005c2720
test al, al
jne 0x5c009c
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.00567a50
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 + 0x346c]
sub eax, edx
cmp ebp, ebx
jne 0x5c00b4
mov ebp, dword [edi + 0x3468]
cmp eax, ebp
jge 0x5c00ba
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x346c], ebx
je 0x5c0122
mov eax, dword [edi + 0xb0]
cmp dword [eax + 0x24], 5
jne 0x5c00e3
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
add ecx, edx
push ebp
push ecx
mov ecx, edi
call fcn.005bbd80
jmp 0x5c00fb
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
add edx, eax
mov eax, dword [edi + 0x31d8]
push ebp
push edx
push eax
call fcn.00601142
mov ebx, eax
push str.recv_pheader
push ebx
mov ecx, edi
call fcn.00567b10
mov ecx, eax
test ecx, ecx
je 0x5c0122
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 0x5c013f
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x346c], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov dl, byte [esi + 4]
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8 + 0x3498]
mov byte [eax + 4], dl
mov cl, byte [esi + 5]
mov byte [eax + 5], cl
mov dl, byte [esi + 6]
mov byte [eax + 6], dl
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov cl, byte [esi + 0x10]
mov byte [eax + 0x10], cl
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov dl, byte [esi + 0x24]
mov byte [eax + 0x24], dl
mov ecx, edi
mov dword [edi + 0x8c], 0x15
mov dword [edi + 0x346c], 0
call fcn.00569ea0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x5c0222
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x5c01d3
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x4898]
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 + 0x4898], 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 + 0x34b8], ecx
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x34b4], ecx
xor eax, eax
mov al, byte [esi + 6]
add eax, 0x151
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8], 0
mov ecx, edi
call fcn.005c04f0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.005c27c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x5c1860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652750
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.0055b660
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.0055bab0
test eax, eax
jge 0x5c18b7
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.00567a50
jmp 0x5c1a31
push 0
lea ecx, [esp + 0x10]
call fcn.0055bc10
mov ecx, eax
call fcn.0055afb0
push eax
lea ecx, [esp + 0xc]
call fcn.00622df8
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.0060b39a
add esp, 8
test eax, eax
jne 0x5c1a23
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.00622df8
lea ecx, [esp + 0x14]
push ecx
call fcn.005c1770
add esp, 0xc
test al, al
je 0x5c1a23
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x5c19a6
mov edi, dword [esi + 0xb0]
fld qword [edi + 0x378]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x5c19a6
mov ecx, dword [esp + 0x30]
call fcn.0055af80
fcomp qword [edi + 0x378]
fnstsw ax
test ah, 0x40
jne 0x5c1a14
mov edx, dword [0x6f7b78]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x37c]
push ecx
mov edx, dword [eax + 0x378]
lea eax, [esp + 0x38]
push edx
push str.Duration_dont_match__New_duration___f_n
push eax
call fcn.0061fae1
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.00567a50
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x5c1a0f
mov ecx, dword [esp + 0x30]
call fcn.0055af80
mov edx, dword [esi + 0xb0]
fstp qword [edx + 0x378]
mov ecx, dword [esi + 0x31dc]
call fcn.005c5200
mov eax, dword [0x6f7b78]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0xb0]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x37c]
push edx
mov eax, dword [ecx + 0x378]
lea ecx, [esp + 0x38]
push eax
push str.Duration___f_n
push ecx
call fcn.0061fae1
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00567a50
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.00622d8a
mov eax, dword [0x6fde58]
push 1
push eax
mov ecx, esi
call fcn.00567980
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00622d8a
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0055b6d0
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x5c3e90
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.0060a593
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x104]
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, 0x10
ret 8

Function at 0x5c3ee0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.0060a593
mov eax, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 4]
push edx
mov edx, dword [esi + 0x104]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 0x10
ret 8

Function at 0x5c43b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c4447
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.bUseSpeedLimiter
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
jne 0x5c4447
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esi + 0x1a0], eax
mov eax, dword [esi + 0x23c]
push 0
push 0
push str.psnSpeedLimit
push eax
mov dword [esi + 0x174], 1
mov dword [esp + 0x20], 8
call edi
test eax, eax
jne 0x5c4447
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x168], ecx
mov dword [esi + 0x16c], edx
mov dword [esi + 0x170], 1
pop edi
pop esi
add esp, 0x10
ret

Function at 0x5c4450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c44cf
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.nSkFr1
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
jne 0x5c44cf
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esi + 0x190], eax
mov eax, dword [esi + 0x23c]
push 0
push 0
push str.dLstDrSk1
push eax
mov dword [esp + 0x20], 8
call edi
test eax, eax
jne 0x5c44cf
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x198], ecx
mov dword [esi + 0x19c], edx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x5c50f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c51f3
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push 8
push ecx
push 0
push 0
push 0x6e03bc
push eax
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esi + 0x1c8]
cmp eax, 0x64
mov dword [esp + 8], eax
jle 0x5c515a
mov eax, dword [esi + 0x23c]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.Speed
push eax
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
cmp ecx, 4
je 0x5c5174
cmp ecx, 5
je 0x5c5174
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
je 0x5c5197
fld qword [esi + 0x188]
mov edx, dword [esi + 0x23c]
lea ecx, [esp + 0x14]
push 8
push ecx
push 0
push 0
push str.dwnlDuration
push edx
fstp qword [esp + 0x2c]
call edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5c51f3
mov eax, dword [esi + 0x190]
test eax, eax
jle 0x5c51f3
mov ecx, dword [esi + 0x23c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 4
push eax
push 4
push 0
push str.nSkFr1
push ecx
call edi
mov edx, dword [esi + 0x198]
mov eax, dword [esi + 0x19c]
lea ecx, [esp + 0x14]
push 8
push ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x23c]
push 0
push 0
push str.dLstDrSk1
push edx
mov dword [esp + 0x30], eax
call edi
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x5c5200
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc]
fld qword [ecx + 0x378]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x5c52e9
mov eax, dword [ecx + 0x2fc]
test eax, eax
jne 0x5c5242
mov edi, dword [esi + 0x1b0]
mov ecx, esi
call fcn.005c4650
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b0], edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [eax]
test eax, eax
je 0x5c5260
push 0
push 0x146d
push 0x111
push eax
call edi
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x5c527d
mov edx, dword [esi + 0x238]
push edx
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x5c5295
push 0
push 0x146d
push 0x111
push eax
call edi
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x5c52e9
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add ecx, 0x378
push 8
push ecx
push 0
push 0
push str.Duration
push eax
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
je 0x5c52e9
lea eax, [esp + 8]
push 4
push eax
mov edx, ecx
mov ecx, dword [esi + 0x23c]
push 4
push 0
push str.nAggrV
push ecx
mov dword [esp + 0x20], edx
call edi
pop edi
pop esi
pop ecx
ret