joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433d70
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd5f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x80], 0
jne 0x433dbc
push str.NT_EventLog_not_opened.
call fcn.0040df90
lea ecx, [eax + 4]
call fcn.00417d20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
push ebx
call fcn.0042b3a0
mov esi, eax
mov ecx, dword [esi + 0x10]
cmp ecx, 0x7c5f
jbe 0x433dea
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0x7c5f
jb 0x433de1
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0xf8be], cx
cmp dword [esi + 0x14], 8
jb 0x433df2
mov esi, dword [esi]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
mov eax, dword [edi]
mov ecx, edi
push 0
push 1
push dword [edi + 0x84]
push 0x1000
push ebx
call dword [eax + 0x24]
movzx eax, ax
mov ecx, edi
push eax
mov eax, dword [edi]
push ebx
call dword [eax + 0x20]
movzx eax, ax
push eax
push dword [edi + 0x80]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x433ec4
call fcn.0040df90
lea ebx, [eax + 4]
push dword [ebx + 0xc]
lea esi, [ebx + 0xc]
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
mov edi, dword [ecx]
cmp edi, 0xffffffff
jne 0x433e6b
mov edx, 0x4ff85c
call fcn.00417e40
mov edi, dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
push dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
cmp edi, 1
je 0x433ec4
call fcn.0040df90
mov esi, eax
mov dword [ebp - 0x10], esi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.Cannot_report_event_in_NT_EventLog.
push str.log4cplus:ERROR
push 0x535610
mov dword [ebp - 4], 1
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
push eax
call fcn.004183f0
add esp, 0xc
push dword [esi]
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4364d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov eax, ecx
push ebp
push esi
push edi
mov ebp, dword [eax + 4]
xor esi, esi
push esi
push dword [ebx + 4]
mov dword [esp + 0x18], eax
push dword [ebx + 0x10]
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x436526
nop dword [eax]
test edi, edi
je 0x436537
mov ecx, dword [ebx + 4]
add esi, edi
cmp esi, ecx
jge 0x436537
mov eax, dword [ebx + 0x10]
sub ecx, esi
push 0
push ecx
add eax, esi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
jne 0x436500
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.004bad04
mov dword [eax], esi
mov esi, edi
test esi, esi
jg 0x436551
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
test esi, esi
pop esi
pop ebp
setg al
pop ebx
pop ecx
ret 4
pop edi
mov dword [ebx + 8], esi
test esi, esi
pop esi
pop ebp
setg al
pop ebx
pop ecx
ret 4

Function at 0x436630
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0xc
cmp dword [0x535a10], 2
push ebx
push ebp
push esi
push edi
je 0x43674b
call fcn.0040e0d0
mov esi, eax
mov ecx, 1
mov ebp, 0x535a10
xor eax, eax
lock cmpxchg dword [ebp], ecx
sub eax, 0
je 0x4366f7
sub eax, 1
je 0x4366a0
sub eax, 1
je 0x43674b
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.Unknown_WinSock_state.
push eax
push str.log4cplus:ERROR
push 0x417e10
push 0x535610
mov ecx, esi
call fcn.00418040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
xor eax, eax
lock xadd dword [ebp], eax
sub eax, 1
je 0x4366ec
sub eax, 1
je 0x43674b
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.Unknown_WinSock_state.
push eax
push str.log4cplus:ERROR
push 0x417e10
push 0x535610
mov ecx, esi
call fcn.00418040
jmp 0x4366b0
call ebx
test eax, eax
jne 0x4366b0
push eax
call edi
jmp 0x4366b0
push 0x535880
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x43673c
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [ebp], ecx
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x502ce0
push eax
push str.log4cplus:ERROR
push 0x417e10
push 0x535610
mov ecx, esi
call fcn.00418040
mov ecx, 2
mov eax, 1
lock cmpxchg dword [ebp], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x436760
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov dword [esp + 0x14], edx
mov ebx, ecx
call fcn.00436630
push 0x80
xor eax, eax
cmp byte [ebp + 8], al
push 0
push 0
setne al
push 0
inc eax
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0xffffffff
je 0x436876
mov edx, ebx
lea ecx, [esp + 0x28]
call fcn.004290b0
cmp dword [eax + 0x14], 0x10
jb 0x4367b8
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
call fcn.00405530
mov eax, dword [esp + 0x10]
mov ecx, 2
test eax, eax
je 0x4367ec
cmp word [eax + 8], cx
jne 0x4367ec
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
jmp 0x436822
cmp dword [ebx + 0x14], 8
mov word [esp + 0x18], cx
mov dword [esp + 0x10], 0x10
jb 0x436801
mov ebx, dword [ebx]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 2
push ebx
call dword [sym.imp.WS2_32.dll_WSAStringToAddressW]
cmp eax, 0xffffffff
je 0x43686d
cmp dword [esp + 0x10], 0x10
jne 0x43686d
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [sym.imp.WS2_32.dll_connect]
mov word [esp + 0x1a], ax
mov eax, 2
mov word [esp + 0x18], ax
push 0x10
lea eax, [esp + 0x1c]
push eax
push esi
call ebx
cmp eax, 0xffffffff
jne 0x43685b
call edi
cmp eax, 0x2714
je 0x436841
jmp 0x436876
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
call edi
mov edi, eax
cmp esi, 0xffffffff
je 0x436886
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call fcn.004bad04
mov dword [eax], edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4368a0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfc58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov byte [ebp - 0xe], dl
mov dword [ebp - 0x18], ecx
call fcn.00436630
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], str.unknown
push eax
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00436a90
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub ebx, esi
lea eax, [ebx - 1]
push eax
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
mov edi, eax
test edi, edi
je 0x436950
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
jne 0x436953
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x24]
call fcn.00436a10
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub ebx, esi
lea eax, [ebx - 1]
push eax
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
mov edi, eax
test edi, edi
jne 0x436916
mov dword [ebp - 0x14], esi
test edi, edi
jne 0x4369a9
cmp byte [ebp - 0xe], 0
je 0x4369a9
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43696e
mov eax, dword [eax]
jmp 0x436971
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov edx, eax
mov ecx, edi
call fcn.00428d80
test esi, esi
je 0x4369d8
mov eax, dword [ebp - 0x1c]
mov ecx, esi
sub eax, ecx
cmp eax, 0x1000
jb 0x4369cf
test cl, 0x1f
jne 0x4369eb
mov esi, dword [esi - 4]
cmp esi, ecx
jae 0x4369f0
sub ecx, esi
cmp ecx, 4
jb 0x4369f5
cmp ecx, 0x23
ja 0x4369fa
jmp 0x4369cf
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov edx, dword [ebp - 0x14]
call fcn.00428d80
test esi, esi
je 0x4369d8
mov eax, dword [ebp - 0x1c]
mov ecx, esi
sub eax, ecx
cmp eax, 0x1000
jb 0x4369cf
test cl, 0x1f
jne 0x4369ff
jmp 0x436994
push esi
call fcn.004943b0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004af5bc
call fcn.004af5bc
call fcn.004af5bc
call fcn.004af5bc
call fcn.004af5bc
int3
Function at 0x43df80
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0308
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xe4]
call fcn.0043e270
mov eax, dword [ebp - 0xe4]
mov dword [eax], vtable.CFFPlayWrapper.0
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 4], 0
lea ecx, [ebp - 0xe6]
call fcn.0043db40
push eax
push 0x80
mov ecx, dword [ebp - 0xe4]
add ecx, 8
call fcn.0043dbc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe7]
call fcn.0043db40
push eax
push 0x80
mov ecx, dword [ebp - 0xe4]
add ecx, 0x1c
call fcn.0043dbc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.0043db40
push eax
push 0x80
mov ecx, dword [ebp - 0xe4]
add ecx, 0x30
call fcn.0043dbc0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xe4]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0xe4]
add ecx, 0x4c
call fcn.004056f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 0x64], 0
mov ecx, dword [ebp - 0xe4]
add ecx, 0x68
call fcn.0043dd60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xe4]
add ecx, 0x70
call fcn.0043dd60
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe4]
add ecx, 0xa8
call fcn.004056f0
mov byte [ebp - 4], 6
push 0xa8
lea ecx, [ebp - 0xe0]
call fcn.00446cb0
push 1
lea ecx, [ebp - 0xe0]
call fcn.0043e5e0
mov byte [ebp - 4], 7
mov byte [ebp - 0xe5], 0
push 0
lea edx, [ebp - 0xe5]
push edx
call fcn.00461450
add esp, 4
mov ecx, eax
call fcn.0040cdd0
movzx eax, al
test eax, eax
je 0x43e144
push 0x43bb70
push 0x4e7ae0
push 0x4e7ae4
push 0x4e7ae8
push 0x4e7b08
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00409a10
add esp, 8
push eax
call fcn.00409a10
add esp, 8
push eax
call fcn.00409a10
add esp, 8
push eax
call fcn.00409a10
add esp, 8
mov ecx, eax
call fcn.00406600
push 0x18
lea ecx, [ebp - 0x38]
call fcn.00446cb0
push 1
push 0
lea ecx, [ebp - 0xe0]
call fcn.00448750
push eax
lea ecx, [ebp - 0xe0]
call fcn.00448750
push eax
push 0x28
push 0x4e7b10
lea ecx, [ebp - 0x38]
call fcn.0045eba0
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0xe0]
call fcn.00448180
mov ecx, eax
call fcn.00447960
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xe4]
add eax, 0xc0
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0xe4]
call fcn.00440630
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0045f050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.0043fba0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x4459c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d18
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x11], 0
push 0x10
lea ecx, [ebp - 0x34]
call fcn.00446cb0
lea ecx, [ebp - 0x34]
call fcn.0043e210
mov dword [ebp - 4], 0
push 0x10
lea ecx, [ebp - 0x24]
call fcn.00446cb0
lea ecx, [ebp - 0x24]
call fcn.0043e210
mov byte [ebp - 4], 1
mov byte [ebp - 0x55], 0
push 0
lea eax, [ebp - 0x55]
push eax
call fcn.00461450
add esp, 4
mov ecx, eax
call fcn.0040cdd0
movzx ecx, al
test ecx, ecx
je 0x445ab6
push 0x4e97b4
push 0x4e9790
push 0x4e9788
lea ecx, [ebp - 0x34]
call fcn.004380b0
mov ecx, eax
call fcn.00438d10
mov ecx, eax
call fcn.00438000
lea edx, [ebp - 0x11]
push edx
push 0x4e97f8
mov eax, dword [ebp + 8]
push eax
push str.iMillSeconds:
push 0x4e97e4
push str.CFFPlayWrapper::WaitForPlayThread
push 0x4e97b8
lea ecx, [ebp - 0x24]
call fcn.004380b0
mov ecx, eax
call fcn.00438d10
mov ecx, eax
call fcn.00438000
mov ecx, eax
call fcn.00438f20
mov ecx, eax
call fcn.00438fd0
mov ecx, eax
call fcn.00438e70
mov ecx, eax
call fcn.00439340
push 0x20
lea ecx, [ebp - 0x54]
call fcn.00446cb0
push 1
push 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0x4cf
push str.e:localhdplayer_masterhdplayer_masterhdlvideofilterplayer_ffplaywrapper.cpp
lea ecx, [ebp - 0x54]
call fcn.0045edf0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x5c]
call fcn.00441eb0
movzx eax, al
test eax, eax
jne 0x445b16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx]
jae 0x445b16
push 1
call fcn.00441ef0
add esp, 4
jmp 0x445aeb
mov ecx, dword [ebp - 0x5c]
call fcn.00441eb0
movzx edx, al
test edx, edx
je 0x445b2f
push 5
call fcn.00441ef0
add esp, 4
mov ecx, dword [ebp - 0x5c]
call fcn.00441eb0
mov byte [ebp - 0x11], al
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x56], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0045f1d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0045f390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0045f390
mov al, byte [ebp - 0x56]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret 4

Function at 0x448ce0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x52d3a0], 0
je 0x448cf9
mov eax, dword [ebp + 8]
push eax
call dword [0x52d3a0]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bb7ff
pop ebp
ret
Function at 0x44f410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x401
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.004ad050
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x400
lea eax, [ebp - 0x408]
push eax
call fcn.0044e850
add esp, 0x10
mov dword [ebp - 0x40c], eax
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x455a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [0x532578], 0
jne 0x455a50
jmp 0x455ad4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x53257c]
cmp eax, 0x64
jae 0x455a67
cmp dword [ebp + 0xc], 0
je 0x455ad4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x53257c], eax
push 0x30
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004ad050
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044f480
add esp, 8
cmp dword [0x532578], 0
je 0x455ab6
sub esp, 8
movsd xmm0, qword [ebp - 0x24]
movsd qword [esp], xmm0
call fcn.004bdded
add esp, 8
cwde
cmp eax, 2
jne 0x455abc
cmp dword [ebp + 0xc], 0
je 0x455ad4
sub esp, 0x30
mov ecx, 0xc
lea esi, [ebp - 0x34]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x532578]
add esp, 0x30
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x4580e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 8
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp], xmm0
push str.set_clock__d
lea eax, [ebp - 0x84]
push eax
call fcn.0040c130
add esp, 0x10
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.avutil_56.dll_av_gettime_relative
mov ecx, eax
call fcn.00494730
divsd xmm0, qword [0x4ea618]
movsd qword [ebp - 0x8c], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0x8c]
movsd qword [esp], xmm0
mov edx, dword [ebp + 0x14]
push edx
sub esp, 8
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp], xmm0
mov eax, dword [ebp + 8]
push eax
call fcn.00458180
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret

Function at 0x459900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.stream_seek__d
lea edx, [ebp - 0x84]
push edx
call fcn.0040c130
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
jne 0x4599a3
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
and eax, 0xfffffffd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
cmp dword [ebp + 0x1c], 0
je 0x459987
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
or eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x101858]
push ecx
call sub.SDL2.dll_SDL_CondSignal
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x4603d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1588
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.004053b0
movzx eax, al
test eax, eax
je 0x46040e
xor al, al
jmp 0x460593
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00412d20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00407730
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
call fcn.00414df0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x460447
push 0x5c
lea ecx, [ebp - 0x38]
call fcn.00426ed0
push 0xc
lea ecx, [ebp - 0x20]
call fcn.00446cb0
lea ecx, [ebp - 0x20]
call fcn.0040c970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040d560
mov byte [ebp - 4], 2
mov byte [ebp - 0x52], 0
mov dword [ebp - 0x58], 0
jmp 0x46047f
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x38]
call fcn.00407730
cmp dword [ebp - 0x58], eax
jae 0x4604e6
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00414df0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x4604bd
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
call fcn.00414df0
mov cx, word [eax]
movzx edx, cx
push edx
lea ecx, [ebp - 0x50]
call fcn.00426ed0
jmp 0x4604e4
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.00420af0
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00414df0
mov dx, word [eax]
movzx eax, dx
push eax
lea ecx, [ebp - 0x50]
call fcn.00426ed0
jmp 0x460476
push 4
lea ecx, [ebp - 0x14]
call fcn.00446cb0
lea ecx, [ebp - 0x14]
call fcn.0043dce0
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00412af0
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
jmp 0x460519
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045f7a0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00412ae0
push eax
lea ecx, [ebp - 0x14]
call fcn.00412aa0
movzx edx, al
test edx, edx
je 0x460563
push 0
lea ecx, [ebp - 0x14]
call fcn.0043f590
mov ecx, eax
call fcn.0040d120
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x460557
mov byte [ebp - 0x51], 1
jmp 0x46055b
mov byte [ebp - 0x51], 0
mov al, byte [ebp - 0x51]
mov byte [ebp - 0x52], al
jmp 0x46050b
mov cl, byte [ebp - 0x52]
mov byte [ebp - 0x53], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040ce40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00412b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040ce40
mov al, byte [ebp - 0x53]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
Function at 0x4605b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x214]
push eax
push str.HDPlayer___Parent_Window_Rect:_left_d__top_d__right_d__bottom_d_n
lea ecx, [ebp - 0x204]
push ecx
call fcn.0045e960
add esp, 0x18
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x208]
sub edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x214]
push eax
push 0
push 0
push 0x40000000
push str.Player
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x46068d
push str.Create_Window_Failed
call fcn.00468860
add esp, 4
xor eax, eax
jmp 0x4606a0
push str.Create_Window_Successed
call fcn.00468860
add esp, 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret

Function at 0x461030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e16aa
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x230]
call fcn.0040d560
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ad050
add esp, 0xc
push 0
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 1
jne 0x4610c1
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.0045f4a0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ceb0
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040ce40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret