joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3950
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 4], ax
push 0x50
push 0x5f9f80
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5f9f80
lea ecx, [ebp - 0x58]
push ecx
call fcn.00532580
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 4], ax
movsx edx, word [ebp - 4]
cmp edx, 0x411
jne 0x4f39a9
mov dword [0x601424], 1
jmp 0x4f3a1d
movsx eax, word [ebp - 4]
cmp eax, 0x40c
jne 0x4f39c0
mov dword [0x601428], 1
jmp 0x4f3a1d
movsx ecx, word [ebp - 4]
cmp ecx, 0x80c
jne 0x4f39d8
mov dword [0x601428], 1
jmp 0x4f3a1d
movsx edx, word [ebp - 4]
cmp edx, 0xc0c
jne 0x4f39f0
mov dword [0x601428], 1
jmp 0x4f3a1d
movsx eax, word [ebp - 4]
cmp eax, 0x100c
jne 0x4f3a07
mov dword [0x601428], 1
jmp 0x4f3a1d
movsx ecx, word [ebp - 4]
cmp ecx, 0x41e
jne 0x4f3a1d
mov dword [0x60142c], 1
cmp dword [0x601424], 0
jne 0x4f3ab0
cmp dword [0x601428], 0
jne 0x4f3ab0
cmp dword [0x60142c], 0
jne 0x4f3ab0
push 0x50
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x258]
push eax
push str._sWIN.INI
lea ecx, [ebp - 0x458]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x458]
push edx
push 0xff
lea eax, [ebp - 0x158]
push eax
push 0x601458
push str.sCountry
push str.intl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.thailand
lea ecx, [ebp - 0x158]
push ecx
call fcn.0053617f
add esp, 8
test eax, eax
jne 0x4f3ab0
mov dword [0x60142c], 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x4f7f40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004f7860
push 0x5c5ed8
push 0x578354
lea eax, [ebp - 0x208]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0x6014ee
push 0x578364
push 0x578370
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x108]
test eax, eax
jne 0x4f7fb2
mov ecx, 0xf0
mov word [0x6014f0], cx
jmp 0x4f7fc7
lea edx, [ebp - 0x108]
push edx
call fcn.00535089
add esp, 4
mov word [0x6014f0], ax
lea eax, [ebp - 0x208]
push eax
movsx ecx, word [0x6014f0]
push ecx
push str.InitVolume:_mic_volume_d_in__s
lea edx, [ebp - 0x108]
push edx
call fcn.00532706
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
push 2
call fcn.00436500
add esp, 8
lea ecx, [ebp - 0x208]
push ecx
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0x6014ef
push 0x578398
push 0x5783a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x108]
test eax, eax
jne 0x4f803c
mov ecx, 0xf0
mov word [0x6014ec], cx
jmp 0x4f8051
lea edx, [ebp - 0x108]
push edx
call fcn.00535089
add esp, 4
mov word [0x6014ec], ax
lea eax, [ebp - 0x208]
push eax
movsx ecx, word [0x6014ec]
push ecx
push str.InitVolume:_course_volume_d_in__s
lea edx, [ebp - 0x108]
push edx
call fcn.00532706
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
push 2
call fcn.00436500
add esp, 8
mov dword [0x6014e8], 1
movzx ecx, word [0x6014ec]
push ecx
call fcn.004e2070
add esp, 4
movzx edx, word [0x6014ec]
push edx
call fcn.004e1f40
add esp, 4
mov ax, word [0x6014f0]
mov word [0x576560], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x4f80d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x6014e8], 0
jne 0x4f80f1
jmp 0x4f82f0
mov eax, dword [0x57747c]
push eax
push 0
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
mov dword [ebp - 4], 0
jmp 0x4f8111
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x601400]
jge 0x4f8143
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x603be0], 0x3e7
je 0x4f8141
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x603be0]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WINMM.dll_auxSetVolume]
jmp 0x4f8108
push 0x5c5ed8
push str._svolumes.ini
lea ecx, [ebp - 0x308]
push ecx
call fcn.00532706
add esp, 0xc
movsx edx, word [0x6014f0]
push edx
push 0x5783e4
lea eax, [ebp - 0x108]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x308]
push ecx
push 0xff
lea edx, [ebp - 0x208]
push edx
push 0x6014f2
push 0x5783e8
push 0x5783f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
je 0x4f81d8
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x108]
push eax
push str.mic_volume
push 0x578408
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x308]
push ecx
movsx edx, word [0x6014f0]
push edx
push str.EndVolume:_mic_volume_d_in__s
lea eax, [ebp - 0x108]
push eax
call fcn.00532706
add esp, 0x10
lea ecx, [ebp - 0x108]
push ecx
push 2
call fcn.00436500
add esp, 8
movsx edx, word [0x6014ec]
cmp edx, 0x1e
jge 0x4f8225
mov eax, 0xf0
mov word [0x6014ec], ax
jmp 0x4f8240
movsx ecx, word [0x6014ec]
cmp ecx, 0xff
jle 0x4f8240
mov edx, 0xf0
mov word [0x6014ec], dx
movsx eax, word [0x6014ec]
push eax
push 0x578430
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x308]
push edx
push 0xff
lea eax, [ebp - 0x208]
push eax
push 0x6014f3
push 0x578434
push 0x578444
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.005327a0
add esp, 8
test eax, eax
je 0x4f82bc
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x108]
push ecx
push str.course_volume
push str.Records
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [ebp - 0x308]
push edx
movsx eax, word [0x6014ec]
push eax
push str.EndVolume:_course_volume_d_in__s
lea ecx, [ebp - 0x108]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
push 2
call fcn.00436500
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x4f8e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
cmp dword [0x5f6630], 1
jne 0x4f8f02
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x8e50]
cmp eax, 1
jne 0x4f8f02
cmp dword [ebp + 0x14], 0
je 0x4f8ee9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0xc]
jge 0x4f8ee9
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0
je 0x4f8ee9
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0xc8
mov dword [ebp - 4], ecx
push 0xc8
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00533040
add esp, 0xc
jmp 0x4f8efd
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044ce30
add esp, 0xc
jmp 0x4f8fa4
cmp dword [ebp + 0x14], 0
je 0x4f8fa4
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, dword [edx + 0xc]
jge 0x4f8fa4
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
je 0x4f8f50
mov edx, dword [ebp + 0xc]
imul edx, edx, 0xc8
add edx, 4
mov dword [ebp - 8], edx
push 0xc8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00533040
add esp, 0xc
jmp 0x4f8fa4
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x4f8fa4
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0xc8
add ecx, 4
mov dword [ebp - 0xc], ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call fcn.00532940
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 1
push 0xc8
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0053367b
add esp, 0x10
push 0
push 3
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041aba0
add esp, 0xc
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax]
cmp ecx, 0x76c
jge 0x4f8fb6
xor eax, eax
jmp 0x4f8fed
mov edx, dword [ebp + 0x10]
push edx
call fcn.00441ea0
add esp, 4
test eax, eax
jne 0x4f8fca
xor eax, eax
jmp 0x4f8fed
mov eax, dword [ebp + 0x10]
movsx eax, word [eax]
sub eax, 0x7bc
shl eax, 9
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 2]
shl edx, 5
add eax, edx
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 4]
add eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x4f9e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp - 8], 0
jne 0x4f9e8f
jmp 0x4f9fe1
lea edx, [ebp - 0x24]
push edx
mov eax, dword [0x60227c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
sub ecx, eax
push ecx
push 0
mov edx, dword [0x60227c]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x470
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x474
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4d1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x14], eax
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call fcn.004f9580
add esp, 4
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xa
movsx ecx, byte [0x601ae8]
test ecx, ecx
jne 0x4f9f92
movsx edx, byte [0x601be7]
test edx, edx
jne 0x4f9f92
movsx eax, byte [0x601ce6]
test eax, eax
jne 0x4f9f92
push 1
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x20]
sub ecx, 0xe
push ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [0x602278]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4f9fc3
push 1
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x20]
sub ecx, 0x36
push ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [0x602278]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x602278]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esp, ebp
pop ebp
ret
Function at 0x504920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x602860], 0
je 0x504942
mov eax, dword [0x602860]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
jmp 0x504ab4
mov dword [0x602824], 1
mov ecx, dword [ebp + 8]
mov dword [0x6027d8], ecx
push 0x82
call fcn.004f3670
add esp, 4
mov dword [0x6027f0], 0xffffffff
mov dword [0x6027ec], 0
push 0
push 0x4fec80
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
push 0x579078
mov edx, dword [0x6013e4]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x602860], eax
push 5
mov eax, dword [0x602860]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6027d8], 4
jne 0x5049d0
movsx ecx, byte [0x5f4068]
test ecx, ecx
je 0x5049d0
push 0
push 0
push 0x5f4068
call fcn.005000a0
add esp, 0xc
jmp 0x5049de
push 0
push 0
push 0
call fcn.005000a0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x5049f0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x602844]
jge 0x504a10
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x6023a4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5049e7
mov eax, dword [0x602860]
push eax
call fcn.00500970
add esp, 4
mov dword [ebp - 8], 0
jmp 0x504a30
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [0x602848]
jge 0x504a50
push 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x6024d0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x504a27
push 5
mov edx, dword [0x60286c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x504a74
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [0x602844]
jge 0x504a94
push 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x6023a4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x504a6b
push 0
push 0
mov edx, dword [0x602860]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x81
call fcn.004f3670
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x519370
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0x40
jae 0x5193c1
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp + eax*4 - 0x104], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
lea edx, [ebp - 0x108]
push edx
push 0
call sub.WSOCK32.dll_select
cmp eax, 1
jne 0x5193e6
mov eax, 0xfffa
jmp 0x5193e8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x5193f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x519403
mov eax, 0xfffe
jmp 0x5194a0
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
je 0x519428
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
jne 0x519428
mov edx, dword [ebp + 8]
push edx
call fcn.00519370
add esp, 4
test eax, eax
jne 0x519428
xor eax, eax
jmp 0x5194a0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x519438
mov eax, 0xfff9
jmp 0x5194a0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xffffffff
je 0x51944b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call sub.WSOCK32.dll_closesocket
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0xffffffff
jne 0x51946a
mov eax, 0xfffc
jmp 0x5194a0
push 0x10
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x519494
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call sub.WSOCK32.dll_closesocket
mov eax, 0xfffa
jmp 0x5194a0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
xor eax, eax
pop ebp
ret

Function at 0x519620
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x5196ce
lea ecx, [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x5196be
cmp dword [ebp - 0x10], 0
je 0x5196aa
mov eax, dword [ebp - 0x10]
push eax
call fcn.00532e80
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call sub.WSOCK32.dll_send
cmp eax, dword [ebp - 4]
je 0x51968b
mov dword [ebp - 0xc], 0xfffa
jmp 0x5196be
cmp dword [ebp - 4], 2
jne 0x5196aa
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0xd
jne 0x5196aa
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx + 1]
cmp edx, 0xa
jne 0x5196aa
jmp 0x5196be
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 4]
mov dword [ebp - 0x10], edx
jmp 0x51964d
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov esp, ebp
pop ebp
ret
Function at 0x5196e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x519781
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
add esp, 8
lea ecx, [ebp - 4]
push ecx
push 0xff
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x519775
cmp dword [ebp - 4], 0
je 0x519775
cmp dword [ebp - 0xc], 0
jne 0x519775
push 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call sub.WSOCK32.dll_send
cmp eax, dword [ebp - 4]
je 0x519773
mov dword [ebp - 0xc], 0xfffa
jmp 0x51971b
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret
Function at 0x51a8a0
Capabilities:
Check for software breakpoints
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x94], 3
cmp dword [ebp + 8], 0
je 0x51a8de
cmp dword [ebp + 0xc], 0
jne 0x51a8e8
mov eax, 0xfffe
jmp 0x51aa4e
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x51a8fc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
jmp 0x51aa4e
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x194
je 0x51a975
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x195
je 0x51a975
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xc9
je 0x51a975
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xcc
je 0x51a975
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xcd
je 0x51a975
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0x130
je 0x51a975
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xc7
jle 0x51a975
push bind
push str.Content_Length
mov eax, dword [ebp + 0xc]
push eax
call fcn.0051acd0
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x94], 3
jmp 0x51a97f
mov dword [ebp - 0x94], 4
cmp dword [ebp - 0x94], 3
jg 0x51aa1d
push 0
push 0x80
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x51aa1d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0
je 0x51a9d6
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call edx
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0x80000000
je 0x51aa18
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jl 0x51aa18
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 0
je 0x51aa0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x10]
call ecx
add esp, 4
mov dword [ebp - 0x94], 4
jmp 0x51a97f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0
je 0x51aa4c
push str.Keep_Alive
push str.Connection
mov eax, dword [ebp + 0xc]
push eax
call fcn.0051ad10
add esp, 0xc
test eax, eax
jne 0x51aa4c
mov ecx, dword [ebp + 8]
push ecx
call fcn.005194b0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret

Function at 0x51dac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x530c10
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x530c50
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x602b3c]
test eax, eax
jle 0x530c64
inc eax
mov dword [0x602b3c], eax
jmp 0x530d31
push str.QuickTime.qts
call fcn.00531e70
add esp, 4
mov dword [0x602b40], eax
test eax, eax
jne 0x530c87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffff7d3
jmp 0x530cf9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._CallComponentFunctionWithStorage
push eax
call esi
test eax, eax
mov dword [0x57c7a8], eax
je 0x530cf4
mov edx, dword [0x602b40]
push str._CallComponent
push edx
call esi
test eax, eax
mov dword [0x57c7a4], eax
je 0x530cf4
mov eax, dword [0x602b40]
push str.theQuickTimeDispatcher
push eax
call esi
test eax, eax
mov dword [0x57c7a0], eax
je 0x530cf4
mov ecx, dword [esp + 0x10c]
mov dword [0x57c79c], 0
push ecx
call fcn.00530b40
mov esi, eax
add esp, 4
test si, si
jne 0x530cf9
inc dword [0x602b3c]
jmp 0x530d31
mov esi, 0xfffff7d2
mov eax, dword [0x602b40]
test eax, eax
je 0x530d13
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x602b40], 0
mov eax, 0x530b60
mov dword [0x57c79c], 0x530d50
mov dword [0x57c7a4], eax
mov dword [0x57c7a8], eax
mov dword [0x57c7a0], eax
test edi, edi
je 0x530d43
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, si
pop edi
pop esi
add esp, 0x100
ret

Function at 0x530dc0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 8]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x530dff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x602b3c]
test eax, eax
jg 0x530e14
mov dword [0x602b3c], 0
jmp 0x530e4e
dec eax
test eax, eax
mov dword [0x602b3c], eax
jg 0x530e4e
call fcn.00530b50
mov edx, dword [0x602b40]
mov eax, 0x530b60
push edx
mov dword [0x57c79c], 0x530d50
mov dword [0x57c7a4], eax
mov dword [0x57c7a8], eax
mov dword [0x57c7a0], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x530e60
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x100
ret