joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483350
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
mov dword [0x505b74], eax
push ebp
push esi
push edi
push 0xa3
call fcn.004411b0
push eax
push 0x1be
call fcn.004411f0
mov ecx, dword [0x505b74]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 0xc
push eax
push ecx
call ebp
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov esi, 0x4da97c
movsx edx, word [esi + 2]
push edx
call fcn.004411b0
mov ecx, dword [0x505b74]
add esp, 4
push eax
movsx eax, word [esi]
push eax
push ecx
call edi
add esi, 4
cmp esi, str.email
jb 0x483392
mov edx, dword [0x505b74]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x514
push edx
call esi
mov dword [0x505b78], eax
mov eax, dword [0x505b74]
push 0x51b
push eax
call esi
mov ecx, dword [0x505b74]
push 0x515
push ecx
mov dword [0x505b70], eax
call esi
mov edx, dword [0x505b78]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x10
push 0xc5
push edx
mov dword [0x505b98], eax
call edi
mov eax, dword [0x505b70]
push 0
push 0x32
push 0xc5
push eax
call edi
push str.email
push str.citizen
call fcn.0044cf60
mov ecx, dword [0x505b70]
add esp, 8
push eax
push ecx
call ebp
push str.tourist
push str.citizen
call fcn.0044cf60
mov edi, eax
add esp, 8
cmp byte [edi], 0
jne 0x4834d2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str..default
push reloc.WSOCK32.dll_closesocket
call ebx
test eax, eax
jne 0x4834d2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push 0x20019
push 0
push str.user_name
push ecx
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4834cb
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push ecx
mov dword [esp + 0x2c], 0x11
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4834c4
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
mov ecx, dword [0x505b78]
push edi
push ecx
call ebp
mov eax, dword [0x505b9c]
pop ebx
test eax, eax
je 0x483511
push 0xa3
call fcn.004411b0
push eax
push 0x4e
call fcn.004411f0
mov edx, dword [0x505b98]
add esp, 0xc
push eax
push edx
call ebp
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1c
ret
mov eax, dword [0x505b74]
push 0
push 0x516
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1c
ret
Function at 0x483710
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x510ae0]
test eax, eax
je 0x483726
push str.whisper_toggle
call fcn.0043bb00
add esp, 4
mov ecx, dword [0x505bd4]
xor eax, eax
test ecx, ecx
push esi
push 9
sete al
mov dword [0x505bd4], eax
call fcn.00426a10
add esp, 4
test eax, eax
jne 0x48374e
mov dword [0x505bd4], eax
jmp 0x483757
mov eax, dword [0x505bd4]
test eax, eax
jne 0x483789
mov ecx, dword [0x505bc8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call esi
mov edx, dword [0x505bc4]
push 0
push edx
call esi
mov eax, dword [0x505bbc]
push 0
push eax
call esi
push 0x9f
call fcn.0043ed20
jmp 0x4837b9
mov ecx, dword [0x505bc8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call esi
mov edx, dword [0x505bc4]
push 5
push edx
call esi
mov eax, dword [0x505bbc]
push 5
push eax
call esi
push 0x9f
call fcn.0043ed00
mov ecx, dword [0x505bd4]
add esp, 4
push ecx
push str.whisper
push str.layout
call fcn.0044cf00
add esp, 0xc
call fcn.00410be0
pop esi
ret
Function at 0x486b20
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x100
mov dword [0x507b34], eax
mov eax, dword [0x510ae0]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x486b49
push str.world_init
call fcn.0043bb00
add esp, 4
call fcn.00410b10
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea ecx, [esp + 0xc]
push str._scacheworld
push ecx
call esi
push 1
push 1
push 0x400
push 0x1000
push ebx
lea edx, [esp + 0x28]
push 0x32
push edx
call fcn.004273e0
mov dword [0x506170], eax
call fcn.00410b10
push eax
lea eax, [esp + 0x34]
push str._scacheproperty
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
push 0x16
call fcn.004695e0
push 0x487c10
push 1
mov dword [0x507b40], eax
call fcn.0040d490
add esp, 0x44
push 0x486ce0
push 0xb
call fcn.0040d450
push 0x486c00
push 0xd
call fcn.0040d450
add esp, 0x10
mov dword [0x505e64], ebx
mov byte [0x505e6c], bl
mov dword [0x506178], ebx
mov dword [0x50616c], ebx
pop esi
pop ebx
add esp, 0x100
ret

Function at 0x487cc0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x510ae0]
test eax, eax
je 0x487cd6
push str.worlds_hide
call fcn.0043bb00
add esp, 4
mov eax, dword [0x507b64]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x507b80], 0
ret

Function at 0x48c1f7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0048c157
add esp, 8
movsx eax, ax
test eax, eax
je 0x48c21f
mov ax, 0x23
jmp 0x48c2da
movsx eax, word [ebp + 8]
test eax, eax
jne 0x48c281
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call sub.MSVCRT.dll__read
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
cmp dword [eax], ecx
je 0x48c27c
mov eax, dword [0x42dac0]
mov ecx, dword [0x510cdc]
mov word [ecx + 0x42], ax
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0xffffffff
jne 0x48c273
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov ax, 0x24
jmp 0x48c2da
jmp 0x48c2d2
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call sub.MSVCRT.dll__write
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
cmp dword [eax], ecx
je 0x48c2d2
mov eax, dword [0x42dac0]
mov ecx, dword [0x510cdc]
mov word [ecx + 0x42], ax
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0xffffffff
jne 0x48c2c9
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov ax, 0x25
jmp 0x48c2da
xor ax, ax
jmp 0x48c2da
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48c2df
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_remove
add esp, 4
test eax, eax
je 0x48c323
mov ecx, dword [0x42dac0]
mov edx, dword [0x510cdc]
mov word [edx + 0x42], cx
mov ecx, dword [0x510cdc]
mov word [ecx + 0x40], 0x37
mov ecx, dword [0x510cdc]
mov ax, word [ecx + 0x40]
jmp 0x48c32b
xor ax, ax
jmp 0x48c32b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49cc81
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0xd], 0xca
jne 0x49ccae
push esi
call fcn.004a0172
cmp byte [esi + 0x39], 0
pop ecx
je 0x49cca7
mov dword [esi + 0xd], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0xd], 0xcb
mov eax, dword [esi + 0xd]
cmp eax, 0xcb
jne 0x49cd1a
mov eax, dword [esi + 0x179]
cmp byte [eax + 0x10], 0
je 0x49cd12
mov eax, dword [esi + 8]
test eax, eax
je 0x49cccf
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x179]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x49cd0e
cmp eax, 2
je 0x49cd12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49ccc4
cmp eax, 3
je 0x49ccf3
cmp eax, 1
jne 0x49ccc4
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x49ccc4
mov edx, dword [esi + 0x105]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49ccc4
xor al, al
pop esi
ret
mov eax, dword [esi + 0x6e]
mov dword [esi + 0x76], eax
jmp 0x49cd38
cmp eax, 0xcc
je 0x49cd38
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0xd]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
call dword [eax]
pop ecx
push esi
call fcn.0049cd41
pop ecx
pop esi
ret
Function at 0x49d0a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x25], 2
jne 0x49d0cc
cmp byte [esi + 0x41], 0
jne 0x49d0cc
and dword [ebp + 8], 0
mov dword [ebp - 4], 0x18
jmp 0x49d0da
mov dword [ebp - 4], 8
mov dword [ebp + 8], 0x100
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ebx
mov ebx, dword [edi + 0x21]
lea ecx, [eax*4 + 0x36]
mov eax, dword [esi + 0x52]
mov dword [ebp - 8], ecx
imul ebx, eax
add ebx, ecx
cmp dword [0x510ae0], 0
je 0x49d111
push eax
push dword [esi + 0x4e]
push ebx
push str.BMP_file_size:__d___d_x__d_
call fcn.0043bb00
add esp, 0x10
push 0xe
lea eax, [ebp - 0x18]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x28
lea eax, [ebp - 0x40]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, ebx
and byte [ebp - 0x3f], 0
sar eax, 8
mov byte [ebp - 0x15], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 8]
mov ecx, eax
mov byte [ebp - 0xe], al
sar ecx, 8
mov byte [ebp - 0xd], cl
mov ecx, eax
sar eax, 0x18
mov byte [ebp - 0xb], al
mov al, byte [esi + 0x4e]
sar ecx, 0x10
mov byte [ebp - 0x3c], al
mov eax, dword [esi + 0x4e]
mov byte [ebp - 0xc], cl
mov ecx, eax
shr ecx, 8
mov byte [ebp - 0x3b], cl
mov ecx, eax
shr eax, 0x18
mov byte [ebp - 0x39], al
mov al, byte [esi + 0x52]
shr ecx, 0x10
mov byte [ebp - 0x38], al
mov eax, dword [esi + 0x52]
mov byte [ebp - 0x3a], cl
mov ecx, eax
shr ecx, 8
mov byte [ebp - 0x37], cl
and byte [ebp - 0x33], 0
mov ecx, eax
mov byte [ebp - 0x16], bl
shr eax, 0x18
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 4]
mov byte [ebp - 0x32], al
add esp, 0x18
sar ebx, 0x18
shr ecx, 0x10
sar eax, 8
cmp byte [esi + 0xf1], 2
mov byte [ebp - 0x18], 0x42
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x40], 0x28
mov byte [ebp - 0x36], cl
mov byte [ebp - 0x34], 1
mov byte [ebp - 0x31], al
jne 0x49d226
mov al, byte [esi + 0xf2]
lea ecx, [esi + 0xf2]
mov dl, 0x64
imul dl
mov byte [ebp - 0x28], al
movzx eax, word [ecx]
imul eax, eax, 0x64
mov ecx, eax
sar ecx, 8
mov byte [ebp - 0x27], cl
mov ecx, eax
sar ecx, 0x10
mov byte [ebp - 0x26], cl
lea ecx, [esi + 0xf4]
sar eax, 0x18
mov byte [ebp - 0x25], al
mov al, byte [ecx]
imul dl
mov byte [ebp - 0x24], al
movzx eax, word [ecx]
imul eax, eax, 0x64
mov ecx, eax
sar ecx, 8
mov byte [ebp - 0x23], cl
mov ecx, eax
sar ecx, 0x10
sar eax, 0x18
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x21], al
mov eax, dword [ebp + 8]
push dword [edi + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
mov byte [ebp - 0x20], al
sar eax, 8
mov byte [ebp - 0x1f], al
push 0xe
lea eax, [ebp - 0x18]
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 0xe
je 0x49d25c
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x24
mov eax, dword [esi]
call dword [eax]
pop ecx
push dword [edi + 0xc]
lea eax, [ebp - 0x40]
push 0x28
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 0x28
pop ebx
je 0x49d281
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x24
mov eax, dword [esi]
call dword [eax]
pop ecx
cmp dword [ebp + 8], 0
jle 0x49d296
push 4
push dword [ebp + 8]
push edi
push esi
call fcn.0049d3dc
add esp, 0x10
pop edi
pop esi
leave
ret
Function at 0x49d29a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x25], 2
jne 0x49d2be
cmp byte [esi + 0x41], 0
jne 0x49d2be
and dword [ebp + 8], 0
mov dword [ebp - 4], 0x18
jmp 0x49d2cc
mov dword [ebp - 4], 8
mov dword [ebp + 8], 0x100
mov edi, dword [ebp + 0xc]
push ebx
mov eax, dword [ebp + 8]
push 0xe
mov ebx, dword [edi + 0x21]
push 0
imul ebx, dword [esi + 0x52]
lea eax, [eax + eax*2 + 0x1a]
mov dword [ebp - 8], eax
add ebx, eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVCRT.dll_memset
push 0xc
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, ebx
push dword [edi + 0xc]
sar eax, 8
mov byte [ebp - 0x21], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 8]
mov ecx, eax
mov byte [ebp - 0x1a], al
sar ecx, 8
mov byte [ebp - 0x19], cl
mov ecx, eax
sar eax, 0x18
mov byte [ebp - 0x17], al
mov al, byte [esi + 0x4e]
mov byte [ebp - 0x10], al
mov eax, dword [esi + 0x4e]
shr eax, 8
mov byte [ebp - 0xf], al
mov al, byte [esi + 0x52]
mov byte [ebp - 0xe], al
mov eax, dword [esi + 0x52]
shr eax, 8
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
and byte [ebp - 0x13], 0
and byte [ebp - 0xb], 0
mov byte [ebp - 0xa], al
mov byte [ebp - 0x22], bl
sar eax, 8
sar ebx, 0x18
mov byte [ebp - 9], al
push 0xe
lea eax, [ebp - 0x24]
mov byte [ebp - 0x1f], bl
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push 1
sar ecx, 0x10
push eax
mov byte [ebp - 0x24], 0x42
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x14], 0xc
mov byte [ebp - 0xc], 1
call ebx
add esp, 0x28
cmp eax, 0xe
je 0x49d39e
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x24
mov eax, dword [esi]
call dword [eax]
pop ecx
push dword [edi + 0xc]
lea eax, [ebp - 0x14]
push 0xc
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 0xc
pop ebx
je 0x49d3c3
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x24
mov eax, dword [esi]
call dword [eax]
pop ecx
cmp dword [ebp + 8], 0
jle 0x49d3d8
push 3
push dword [ebp + 8]
push edi
push esi
call fcn.0049d3dc
add esp, 0x10
pop edi
pop esi
leave
ret
Function at 0x49f44b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.004a05f7
push 0x50
push edi
mov dword [ebp - 4], eax
call fcn.004a05c6
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x49f48f
push edi
call fcn.004aa5f1
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x35
mov eax, dword [edi]
mov dword [eax + 0x18], ebx
mov eax, dword [edi]
call dword [eax]
pop ecx
pop ecx
mov dword [esi], fcn.0049f559
mov dword [esi + 4], fcn.0049f673
mov dword [esi + 8], fcn.0049f704
mov dword [esi + 0xc], fcn.0049f79c
mov dword [esi + 0x10], 0x49f840
mov dword [esi + 0x14], 0x49f8a1
mov dword [esi + 0x18], 0x49f902
mov dword [esi + 0x1c], 0x49fa85
mov dword [esi + 0x20], 0x49fc35
mov dword [esi + 0x24], fcn.0049fdeb
mov dword [esi + 0x28], 0x49fed2
mov eax, dword [ebp - 4]
push 2
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x3c]
pop ecx
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x49f4e7
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x50
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCRT.dll_getenv]
cmp eax, ebx
pop ecx
je 0x49f554
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0x78
push ecx
lea ecx, [ebp - 4]
push ecx
push str._ld_c
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x49f554
cmp byte [ebp + 0xb], 0x6d
je 0x49f53d
cmp byte [ebp + 0xb], 0x4d
jne 0x49f548
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
jmp 0x49f54b
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a8992
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004a842e
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
je 0x4a8a11
mov eax, dword [esi + 0x840]
cmp eax, 4
je 0x4a8a11
push 5
pop edi
cmp eax, edi
je 0x4a8a11
cmp dword [esi + 0x848], ebx
jne 0x4a89fb
cmp byte [esi + 0x844], bl
je 0x4a8a03
push esi
call fcn.004a8a16
test eax, eax
pop ecx
jne 0x4a8a03
lea eax, [ebp + 8]
mov dword [esi + 0x840], 4
push eax
push ebx
push esi
push 0x4a8a9a
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x848], eax
jmp 0x4a8a11
cmp byte [esi + 0x844], bl
jne 0x4a8a11
mov dword [esi + 0x840], edi
mov dword [esi + 0x838], ebx
mov dword [esi], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a9438
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
lea eax, [ebp - 4]
push esi
xor ebx, ebx
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftMediaPlayerPlayerUpgrade
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x108], bl
mov dword [ebp - 8], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a949d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push str.PlayerVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a9494
mov byte [ebp - 0x108], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x108], bl
mov eax, str.unknown
je 0x4a94b0
lea eax, [ebp - 0x108]
push eax
push str.CheckWMP9_Version_s
push esi
call fcn.004aa5f1
add esp, 0xc
cmp byte [ebp - 0x108], bl
pop esi
pop ebx
je 0x4a94e0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
cmp eax, 9
pop ecx
jl 0x4a94e0
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x4aabcf
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00488d40
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [esi + 0x2c], eax
je 0x4aac7d
cmp dword [esi], ebx
jne 0x4aac7d
cmp dword [esi + 8], ebx
jne 0x4aac7d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x4aac20
mov ecx, dword [esi + 0x2c]
mov eax, 0x80004005
mov dword [ecx + 0x838], eax
jmp 0x4aac82
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
push 0x4dd2ec
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4aac91
push 0x4dd2e4
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4aac91
push 0x4dd2dc
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4aac91
push 0x104
lea eax, [ebp - 0x1000]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll__wfullpath]
add esp, 0xc
test eax, eax
jne 0x4aac89
push str.wmPlayer:_internal_error___wfullpath_
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
leave
ret 8
lea edi, [ebp - 0x1000]
jmp 0x4aac94
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
pop ecx
mov dword [esi + 0x14], eax
jne 0x4aacc0
push str.wmPlayer:_insufficient_Memory__m_pszUrl_
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, 0x8007000e
jmp 0x4aac82
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ecx
lea eax, [esi + 0xc]
push eax
push ebx
push esi
push 0x4aa94a
push ebx
push ebx
call edi
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push ebx
push esi
push 0x4aa9ba
push ebx
push ebx
call edi
mov dword [esi], eax
xor eax, eax
jmp 0x4aac82
Function at 0x4aacf7
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0xc], ebx
call fcn.004a9ed6
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4aad16
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
cmp dword [esi + 4], ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_TerminateThread]
je 0x4aad79
mov eax, dword [esi]
cmp eax, ebx
je 0x4aad76
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp eax, 1
jne 0x4aad76
cmp dword [esp + 0x10], 0x103
jne 0x4aad76
push 0x4e20
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x4aad76
push 0xffff
push dword [esi]
call edi
push str.wmPlayer:_Stopped_Event_Thread
call ebp
mov dword [esp + 0x14], 0x80004005
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x4aad86
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esi + 0xc], ebx
mov dword [esi], ebx
je 0x4aade0
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4aaddd
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp eax, 1
jne 0x4aaddd
cmp dword [esp + 0x10], 0x103
jne 0x4aaddd
push 0x4e20
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x4aaddd
push 0xffff
push dword [esi + 8]
call edi
push str.wmPlayer:_Stopped_Starter_Thread
call ebp
mov dword [esp + 0x14], 0x80004005
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4aadee
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.004aa0de
mov eax, dword [esi + 0x101518]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
lea edi, [esi + 0x101518]
cmp eax, ebx
je 0x4aae13
push eax
call ebp
mov eax, dword [esi + 0x101514]
mov dword [edi], ebx
lea edi, [esi + 0x101514]
cmp eax, ebx
je 0x4aae28
push eax
call ebp
mov eax, dword [esi + 0x1014e8]
mov dword [edi], ebx
lea edi, [esi + 0x1014e8]
cmp eax, ebx
je 0x4aae40
push eax
call sub.MSVFW32.dll_DrawDibClose
mov eax, dword [esi + 0x28]
mov dword [edi], ebx
cmp eax, ebx
je 0x4aae50
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, 0x400
lea eax, [esi + 0x100030]
push edi
push ebx
push eax
mov dword [esi + 0x28], ebx
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x100430]
push ebx
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x100830]
push ebx
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x101030]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x58
lea eax, [esi + 0x101490]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0x3c
cmp eax, ebx
pop edi
pop ebp
je 0x4aaeb5
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x4b1880
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4b18cc
jle 0x4b18c7
cmp eax, 3
jg 0x4b18c7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4b18be
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4b18ac
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.004b28c0
mov eax, 1
ret 0x10

Function at 0x4b1e40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4b1e8c
jle 0x4b1e87
cmp eax, 3
jg 0x4b1e87
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4b1e7e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4b1e6c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.004b2d30
mov eax, 1
ret 0x10