joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428370
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x439410], ebx
jne 0x4283bf
call esi
cmp eax, ebx
mov edi, eax
je 0x42839d
mov dword [0x439410], 1
jmp 0x4283bf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x4283b5
mov dword [0x439410], 2
jmp 0x4283bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x439410], 1
jne 0x42846e
test edi, edi
jne 0x4283e2
call esi
mov edi, eax
test edi, edi
jne 0x4283e2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x4283fc
add esi, 2
cmp word [esi], 0
jne 0x4283ea
add esi, 2
cmp word [esi], 0
jne 0x4283ea
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x42845d
push ebp
call fcn.004212f0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x42845d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42844c
push ebx
call fcn.004212a0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x439410], 2
jne 0x4284f2
test ebx, ebx
jne 0x428491
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x428491
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x4284a6
inc ebp
cmp byte [ebp], 0
jne 0x428498
inc ebp
cmp byte [ebp], 0
jne 0x428498
sub ebp, ebx
inc ebp
push ebp
call fcn.004212f0
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x4284cb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x428810
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x439630
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x428837
add eax, 8
inc ecx
cmp eax, 0x4396c0
jb 0x428828
cmp dword [ecx*8 + 0x439630], edx
lea ebx, [ecx*8]
jne 0x4289fb
cmp dword [0x43824c], 1
je 0x4289b7
cmp dword [0x43824c], 0
jne 0x42886e
cmp dword [0x438250], 1
je 0x4289b7
cmp edx, 0xfc
je 0x4289fb
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x4288ab
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x4288ef
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x433a3c
push ebp
call fcn.0042ac50
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x433a1c
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x439634]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.0042aea0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x5dda10], 0
je 0x4289cd
mov eax, dword [0x5dda10]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x4289d7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x439634]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x42bf00
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00421130
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [esp + 0x1014]
push ebp
cmp dword [0x5ddb10], esi
jbe 0x42c04d
mov eax, esi
mov ecx, esi
and eax, 0xffffffe7
and ecx, 0x1f
sar eax, 3
mov edx, dword [eax + 0x5dda10]
test byte [edx + ecx*8 + 4], 1
je 0x42c04d
push 1
push ebx
push esi
call fcn.00426c10
mov dword [esp + 0x1c], eax
add esp, 0xc
cmp eax, 0xffffffff
je 0x42c03d
push 2
push ebx
push esi
call fcn.00426c10
add esp, 0xc
cmp eax, 0xffffffff
je 0x42c03d
mov ecx, dword [esp + 0x101c]
mov ebp, ecx
sub ebp, eax
test ebp, ebp
jle 0x42bfe3
lea edi, [esp + 0x14]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.0042c7a0
add esp, 8
mov edi, eax
mov eax, 0x1000
cmp ebp, eax
jge 0x42bfa6
mov eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00424d70
add esp, 0xc
cmp eax, 0xffffffff
je 0x42bfc2
sub ebp, eax
test ebp, ebp
jg 0x42bf9b
jmp 0x42bfd7
cmp dword [0x4384fc], 5
jne 0x42bfd5
mov dword [0x4384f8], 0xd
mov ebx, eax
push edi
push esi
call fcn.0042c7a0
add esp, 8
jmp 0x42c020
jge 0x42c020
push 0
push ecx
push esi
call fcn.00426c10
add esp, 0xc
push esi
call fcn.00429ee0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ebx, ebx
cmp ebx, 0xffffffff
jne 0x42c020
mov dword [0x4384f8], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4384fc], eax
mov eax, dword [esp + 0x10]
push 0
push eax
push esi
call fcn.00426c10
add esp, 0xc
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x4384f8], 9
pop edi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x42cc10
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
cmp dword [esp + 8], 0
push ebx
push esi
push edi
push ebp
je 0x42ce4e
mov edx, dword [esp + 0x18]
push 0x3d
push edx
call fcn.0042cf40
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x42ce4e
cmp ebp, dword [esp + 0x18]
je 0x42ce4e
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x438520]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x438524], ecx
jne 0x42cc6d
push ecx
call fcn.0042cec0
add esp, 4
mov dword [0x438520], eax
cmp dword [0x438520], 0
jne 0x42cd1d
cmp dword [esp + 0x1c], 0
je 0x42cca4
cmp dword [0x438528], 0
je 0x42cca4
call fcn.0042c860
test eax, eax
je 0x42cd1d
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [esp + 0x10], 0
je 0x42ccb5
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x438520], 0
jne 0x42cce9
push 4
call fcn.004212f0
add esp, 4
mov dword [0x438520], eax
test eax, eax
jne 0x42ccde
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [0x438520]
mov dword [eax], 0
cmp dword [0x438528], 0
jne 0x42cd1d
push 4
call fcn.004212f0
add esp, 4
mov dword [0x438528], eax
test eax, eax
jne 0x42cd12
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, dword [0x438528]
mov dword [eax], 0
mov esi, dword [0x438520]
sub ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.0042ce60
add esp, 8
mov edi, eax
test edi, edi
jl 0x42cd85
cmp dword [esi], 0
je 0x42cd85
cmp dword [esp + 0x10], 0
je 0x42cd7c
lea ebx, [esi + edi*4]
mov eax, dword [ebx]
push eax
call fcn.004212a0
add esp, 4
cmp dword [ebx], 0
je 0x42cd69
mov eax, dword [ebx + 4]
add ebx, 4
inc edi
mov dword [ebx - 4], eax
cmp dword [ebx], 0
jne 0x42cd5a
shl edi, 2
push edi
push esi
call fcn.00422710
add esp, 8
test eax, eax
je 0x42cdcd
jmp 0x42cdc8
mov edx, dword [esp + 0x18]
mov dword [esi + edi*4], edx
jmp 0x42cdcd
cmp dword [esp + 0x10], 0
jne 0x42ce44
test edi, edi
jge 0x42cd96
neg edi
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.00422710
add esp, 8
test eax, eax
jne 0x42cdb8
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
lea ecx, [eax + edi*4]
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov dword [0x438520], eax
cmp dword [esp + 0x1c], 0
je 0x42ce3a
mov edi, dword [esp + 0x18]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004212f0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x42ce3a
mov edi, dword [esp + 0x18]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.004212a0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x10478058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104781a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1047807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1047806a
add dl, dl
jne 0x10478089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104780dc
xor eax, eax
add dl, dl
jne 0x10478096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1047817d
add dl, dl
jne 0x104780a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104780b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104780bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104780c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104780d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10478075
mov eax, 1
add dl, dl
jne 0x104780ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104780f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104780e1
sub eax, ebx
mov ebx, 1
jne 0x10478128
mov ecx, 1
add dl, dl
jne 0x1047810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10478119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10478105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10478075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1047813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1047814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10478136
cmp eax, 0x7d00
jae 0x1047816d
cmp eax, 0x500
jb 0x10478168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10478075
cmp eax, 0x7f
ja 0x10478170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10478075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1047819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10478075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x18e0584a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x46a1af3
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401140
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40117f
mov edi, dword [esp + 0x10]
mov esi, dword [esi]
mov ecx, dword [esi + 0x30]
push edi
push ecx
call fcn.004010c0
add esp, 8
test eax, eax
mov eax, dword [esi + 0x18]
je 0x401181
test eax, eax
jne 0x401165
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x401240
Capabilities:
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
sub esp, 0xc
mov eax, dword [0x40a05c]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004018fc
mov ecx, dword [0x40a05c]
push ecx
mov edi, eax
call fcn.004018fc
mov ecx, dword [0x40a05c]
xor ebx, ebx
add esp, 8
cmp ecx, ebx
mov esi, eax
mov dword [esp + 0x10], ebx
jbe 0x4012a2
sub eax, edi
mov dword [esp + 0x14], eax
jmp 0x401284
mov eax, dword [esp + 0x14]
lea ebp, [ebx + edi]
mov byte [eax + ebp], bl
mov eax, ebx
cdq
idiv dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add ebx, 1
cmp ebx, ecx
mov dl, byte [edx + eax]
mov byte [ebp], dl
jb 0x401280
xor ebp, ebp
test ecx, ecx
jbe 0x4012f2
mov edx, edi
sub edx, esi
mov ebp, ecx
mov ebx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebp
jmp 0x4012c4
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ebx]
mov al, byte [ebx]
add edx, dword [esp + 0x10]
movzx eax, al
add eax, edx
xor edx, edx
div ecx
mov al, byte [ebx]
add ebx, 1
sub dword [esp + 0x14], 1
mov edi, edx
mov dl, byte [edi + esi]
mov byte [edi + esi], al
mov byte [ebx - 1], dl
mov dword [esp + 0x10], edi
jne 0x4012c0
xor edi, edi
cmp dword [esp + 0x24], edi
jle 0x40136f
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x401318
mov ecx, dword [0x40a05c]
xor edx, edx
lea eax, [ebp + 1]
div ecx
push 0
push 0
mov ebp, edx
movzx eax, byte [esi + ebp]
add eax, edi
xor edx, edx
div ecx
mov edi, edx
mov dl, byte [esi + ebp]
mov al, byte [edi + esi]
mov byte [edi + esi], dl
mov byte [esi + ebp], al
movzx edx, byte [edi + esi]
movzx eax, al
add eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
mov edx, dword [esp + 0x14]
xor cl, byte [edx + esi]
add ebx, 1
sub dword [esp + 0x24], 1
mov byte [ebx - 1], cl
jne 0x401312
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4016e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
sub esp, 0x44
push esi
xor esi, esi
cmp dword [esp + 0x50], esi
push edi
mov edi, dword [esp + 0x50]
jne 0x40177e
xor eax, eax
push 0x65
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x401530
mov dword [esp + 0x3c], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 1
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4c], str.WMPlayerWindowEditor
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x40177e
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret 0x10
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
call fcn.004013c0
test eax, eax
jne 0x4017b4
push 0x408360
call fcn.00401140
add esp, 4
test eax, eax
je 0x4017b4
push 0x408350
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x50], eax
push ebx
push ebp
lea ecx, [esp + 0x5c]
push ecx
push 0x409
push 0xc92
push 0x9ce
call fcn.00401190
mov ebp, eax
add esp, 0x10
cmp ebp, esi
je 0x401803
mov ebx, dword [esp + 0x5c]
push 0x40
push 0x3000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x401803
push esi
push 0x5c
push str.7IJ7_DpN6ryiCsJ__fJ_h9jst4SZog9lQEJDl_1NTx4fAp_tHGnke_k8fs0_O3_l_TvfFtTZYGvISHqKhf
push ebx
push ebp
call dword [esp + 0x6c]
add esp, 0x14
call esi
push 0
push edi
push 0
push 0
push 0x89
push 0x113
push 0x80000000
push 0x80000000
push 0x10ca0000
push str.Windows_Media_Player_HWND_Editor
push str.WMPlayerWindowEditor
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [esp + 0x64]
mov esi, eax
push edx
push esi
mov dword [0x40ad24], edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [0x40ad20], esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push eax
call esi
test eax, eax
je 0x40189f
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401880
lea ecx, [esp + 0x10]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x401880
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x44
ret 0x10

Function at 0x4019bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a064]
jne 0x4019c9
repz ret
jmp fcn.004030c6
Function at 0x404d0f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00403ae3
xor ebx, ebx
cmp dword [0x40b680], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x404de4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x404d4f
xor eax, eax
jmp 0x404ea8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x404d48
push eax
call fcn.00403a80
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b680], eax
call esi
push eax
call fcn.00403a80
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b684], eax
call esi
push eax
call fcn.00403a80
mov dword [0x40b688], eax
lea eax, [ebp - 8]
push eax
call fcn.00402c14
test eax, eax
pop ecx
pop ecx
je 0x404db2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404291
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x404de4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403a80
cmp eax, ebx
pop ecx
mov dword [0x40b690], eax
je 0x404de4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403a80
pop ecx
mov dword [0x40b68c], eax
mov eax, dword [0x40b68c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x404e5d
cmp dword [0x40b690], esi
je 0x404e5d
push eax
call fcn.00403aec
pop ecx
call eax
cmp eax, ebx
je 0x404e2a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b690]
call fcn.00403aec
pop ecx
call eax
test eax, eax
je 0x404e2a
test byte [ebp - 0x18], 1
jne 0x404e5d
lea eax, [ebp - 0xc]
push eax
call fcn.00402c4b
test eax, eax
pop ecx
je 0x404e45
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404291
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404e54
or dword [ebp + 0x10], 0x200000
jmp 0x404e8e
or dword [ebp + 0x10], 0x40000
jmp 0x404e8e
mov eax, dword [0x40b684]
cmp eax, esi
je 0x404e8e
push eax
call fcn.00403aec
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404e8e
mov eax, dword [0x40b688]
cmp eax, esi
je 0x404e8e
push dword [ebp - 4]
push eax
call fcn.00403aec
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40b680]
call fcn.00403aec
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4065f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4430b0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x30
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x40]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4066e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.00421a70
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4078f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x407951
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x407934
cmp edi, 2
jb 0x407934
cmp byte [esi], cl
jne 0x407934
cmp byte [esi + 1], cl
jne 0x407934
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4448f0]
jmp 0x407905
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4448f0]
test edi, edi
jne 0x407905
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x407980
cmp cl, 0x23
jne 0x407967
cmp byte [esi], cl
jne 0x407967
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4448f0]
test cl, cl
jne 0x407958
pop edi
pop esi
not eax
pop ebx
pop ebp
ret