joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040e40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10040e73
push esi
call fcn.1004f1e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10040e6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10040ef9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10040ee2
mov eax, dword [esi + 8]
test eax, eax
je 0x10040e97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10040ede
cmp eax, 2
je 0x10040ee2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10040e8a
cmp eax, 3
je 0x10040ebd
cmp eax, 1
jne 0x10040e8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10040e8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10040e8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10040f20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10040f08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10040f20
add esp, 4
pop esi
ret

Function at 0x10041790
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100417b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100417b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100417b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10041c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10041c0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10041d0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x1008f578]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008f578]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008f578]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008f578]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008f578]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1008f578]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1008f578]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1008f578]
xor eax, edx
inc ecx
dec edi
jne 0x10041c26
pop edi
test esi, esi
je 0x10041d30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1008f578]
xor eax, edx
inc ecx
dec esi
jne 0x10041d12
pop esi
pop ebx
not eax
ret
Function at 0x1006f3ab
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1006f3e3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1006d479
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1006d451
jmp 0x1006f3ef
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10070a9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10070adf
call fcn.10076435
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10070adf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10070ad6
xor eax, eax
jmp 0x10070ae7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10070aed
pop edi
pop esi
pop ebx
ret 4
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x3a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x96
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xeb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x66
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x23
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x27
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x97
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7d
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x78
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x89
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x464710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x52000]
push edi
jmp 0x46472a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x464731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464720
mov eax, 1
add ebx, ebx
jne 0x464743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x464754
jne 0x464773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464773
dec eax
add ebx, ebx
jne 0x464760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x464738
add ebx, ebx
jne 0x46476f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4647c5
xor ecx, ecx
sub eax, 3
jb 0x46478b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4647fa
sar eax, 1
mov ebp, eax
jmp 0x464796
add ebx, ebx
jne 0x464796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464764
inc ecx
add ebx, ebx
jne 0x4647a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464764
add ebx, ebx
jne 0x4647b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4647a6
jne 0x4647c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4647a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4647e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4647d6
jmp 0x464726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4647e4
add edi, ecx
jmp 0x464726
pop esi
mov edi, esi
mov ecx, 0x1dfd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x464802
cmp byte [edi], 6
jne 0x464802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x464807
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x46487f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x64000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x64118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x464834
mov ecx, edi
jns 0x464863
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6411c]
or eax, eax
je 0x464879
mov dword [ebx], eax
add ebx, 4
jmp 0x464851
call dword [esi + 0x6412c]
mov ebp, dword [esi + 0x64120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4648b3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40d88a
Capabilities:
Encode data using xor

Disassembly:
lahf
clc
fild word [edi - 0x122f3f7e]
invalid
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x408965
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
push 0x7d3517d9
pop edx
call fcn.0040898a
mov ecx, ecx
xor dword [edi], esi
mov edx, 0xd1885598
inc edi
and edx, edx
cmp edi, ebx
jne fcn.00408965
or ecx, edx
or edx, ecx
ret
Function at 0x405b20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x25c
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x14]
push ecx
call fcn.004449ca
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x405b5d
lea edx, [esp + 0x14]
push 0x484c4c
push edx
call fcn.0044e0f4
add esp, 8
push esi
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x16]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
and ecx, 0xffff
mov edi, dword [esp + 0x26c]
push ecx
mov ecx, dword [esp + 0x14]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x16]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x16]
push ecx
mov ecx, dword [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
lea edx, [esp + 0x34]
push ecx
lea esi, [edi + 0x10]
push edx
push str._siv__04d_02d_02d_02d_02d_02d_03d.tmp
push esi
call fcn.0043861c
push 0x484bf8
push esi
call fcn.00437d7e
add esp, 0x30
mov dword [edi + 0xc], eax
test eax, eax
jne 0x405c16
mov esi, dword [esp + 0x268]
push 0x50
push str.temp_filename
mov eax, dword [esi]
mov dword [eax + 0x14], 0x38
mov ecx, dword [esi]
add ecx, 0x18
push ecx
call fcn.0044dfd0
mov edx, dword [esi]
push esi
call dword [edx]
add esp, 0x10
mov dword [edi], 0x405c40
mov dword [edi + 4], 0x405cb0
mov dword [edi + 8], 0x405d20
pop edi
pop esi
add esp, 0x25c
ret

Function at 0x4251b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push esi
mov dword [ebp - 0x18], 0
call fcn.0043819d
push esi
call fcn.00437d32
add esp, 0x10
test eax, eax
jne 0x4252a9
mov edi, dword [ebp + 0xc]
lea ebx, [ebx]
push esi
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00438062
add esp, 0x10
cmp eax, 2
jne 0x4252a9
cmp byte [ebp - 0x14], 0xff
jne 0x425216
cmp byte [ebp - 0x13], 0xd8
je 0x425275
push esi
push 2
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.00438062
add esp, 0x10
cmp eax, 2
jne 0x4252a9
mov ax, word [ebp - 0x18]
rol ax, 8
cmp byte [ebp - 0x14], 0xff
movzx ecx, ax
mov dword [ebp - 0x18], ecx
jne 0x425248
movzx eax, byte [ebp - 0x13]
cmp eax, edi
je 0x425298
push 1
lea eax, [ecx - 2]
push eax
push esi
call fcn.0043819d
add esp, 0xc
test eax, eax
jne 0x4252a9
push esi
call fcn.00437d32
add esp, 4
test eax, eax
jne 0x4252a9
push esi
call fcn.00437d58
add esp, 4
test eax, eax
jne 0x4252a9
push esi
call fcn.00437d32
add esp, 4
test eax, eax
je 0x4251f0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436f02
mov esp, ebp
pop ebp
ret
push esi
call fcn.004385b0
sub eax, 2
add esp, 4
cmp eax, 2
ja 0x4252ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00436f02
mov esp, ebp
pop ebp
ret
Function at 0x427720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x427735
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp word [esi + 0xe], 8
je 0x427755
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
cdq
push edi
mov edi, eax
mov dword [ebp - 8], ebx
xor edi, edx
lea eax, [ebx*8 + 0x1f]
sub edi, edx
lea ecx, [ebx + ebx*2]
cdq
and edx, 0x1f
mov dword [ebp - 0x10], edi
add eax, edx
sar eax, 5
shl eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ecx*8 + 0x1f]
push dword [ebp - 0xc]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov ecx, eax
mov dword [ebp - 0x14], eax
imul ecx, edi
push edi
push ebx
push eax
mov dword [ebp - 4], ecx
call fcn.00426b00
add esp, 0x10
test eax, eax
je 0x4277c8
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4277db
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], ebx
mov dword [ecx], 0x28
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], 0x180001
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov eax, dword [esi + 0x20]
add eax, 0xa
lea ebx, [esi + eax*4]
lea eax, [ecx + 0x28]
mov dword [ebp - 4], eax
test edi, edi
je 0x427884
mov ecx, dword [ebp - 8]
mov edx, ebx
test ecx, ecx
je 0x427872
mov edi, ecx
lea esp, [esp]
movzx ecx, byte [edx]
lea eax, [eax + 3]
lea edx, [edx + 1]
movzx ecx, byte [esi + ecx*4 + 0x28]
mov byte [eax - 3], cl
movzx ecx, byte [edx - 1]
movzx ecx, byte [esi + ecx*4 + 0x29]
mov byte [eax - 2], cl
movzx ecx, byte [edx - 1]
movzx ecx, byte [esi + ecx*4 + 0x2a]
mov byte [eax - 1], cl
dec edi
jne 0x427840
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
dec edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
jne 0x427834
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push eax
call esi
mov edi, dword [ebp - 0x18]
push edi
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x73d
push dword [0x484e28]
mov dword [ebp - 0x210], eax
call ebx
test eax, eax
je 0x42cc67
cmp dword [ebp + 0x10], 1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x42cb62
mov eax, dword [0x484e30]
test eax, eax
je 0x42cadb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x484e30], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x484e28]
call ebx
mov eax, dword [0x484e34]
test eax, eax
jne 0x42cb1a
push eax
push 0x429ce0
push dword [0x484e28]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0x6f
push dword [0x4853ac]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x484e34], eax
test esi, esi
jg 0x42cb37
push dword [ebp - 0x210]
push 0
push 0x737
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x484e34]
push 5
push 0x405
push eax
call edi
push eax
call ebx
test esi, esi
jle 0x42cb5a
push 0
push 0x405
push dword [0x484e34]
call edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42cbac
mov eax, dword [0x484e34]
test eax, eax
je 0x42cb7c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x484e34], 0
cmp dword [0x484e30], 0
jne 0x42cbac
push 0
push 0x42f6c0
push dword [0x484e28]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0x6e
push dword [0x4853ac]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x484e30], eax
push dword [0x484e34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cc65
push 0
push 0
push 0x18b
push dword [0x484e38]
call ebx
push eax
mov eax, dword [0x484e3c]
inc eax
push eax
lea eax, [ebp - 0x20c]
push str.__.2d__.2d
push eax
call fcn.0042f410
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x407
push dword [0x484e34]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0
push 0x18b
push dword [0x484e38]
call ebx
cmp eax, 1
jg 0x42cc3b
test esi, esi
jg 0x42cc3b
push 0
push 0x3ee
push dword [0x484e34]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
jmp 0x42cc55
push 1
push 0x3ee
push dword [0x484e34]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x3ed
push dword [0x484e34]
call edi
push eax
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00436f02
mov esp, ebp
pop ebp
ret
Function at 0x42cce0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x484e34]
push esi
mov esi, dword [0x484e30]
test eax, eax
jne 0x42ccf7
test esi, esi
je 0x42cd1d
push dword [ebp + 8]
cmp dword [0x484e48], 0
push 0x67
push 0x72b
cmovne esi, eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x484e34]
mov esi, dword [0x484e30]
test byte [0x484e50], 4
jne 0x42cd6c
test eax, eax
jne 0x42cd2e
test esi, esi
je 0x42cd6c
cmp dword [0x484e48], 0
push edi
push str.IDI_PLAY
push dword [0x4853ac]
cmovne esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x42cd6b
push edi
push 1
push 0xf7
push 0xc9f
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
push 0x20d
push dword [0x484e28]
push 0x4c8
push dword [0x484e2c]
call dword [sym.imp.USER32.dll_PostMessageW]
test byte [0x484e50], 4
pop esi
je 0x42cd98
pop ebp
jmp fcn.0042d950
cmp dword [0x484e48], 0
je 0x42cdb6
push 0
push 0
push 0x739
push dword [0x484e28]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret
Function at 0x42da20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x484e34]
push esi
mov esi, dword [0x484e30]
test eax, eax
jne 0x42da37
test esi, esi
je 0x42da82
cmp dword [ebp + 8], 0
push edi
je 0x42da45
push str.IDI_PAUSE
jmp 0x42da4a
push str.IDI_PLAY
cmp dword [0x484e48], 0
push dword [0x4853ac]
cmovne esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x42da81
push edi
push 1
push 0xf7
push 0xc9f
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebp
ret
Function at 0x430650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
push 0x450014
push 0x487ac0
call fcn.0043861c
push 0x44f384
push 0x487ac0
call fcn.00437d7e
mov edi, eax
mov dword [ebp - 0xa30], 0xfeff
push edi
push 1
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa38], edi
push 2
push eax
call fcn.0043a76a
add esp, 0x24
mov dword [ebp - 0xa34], 0
cmp dword [0x486840], 0
jle 0x4308b6
push esi
xor esi, esi
mov dword [ebp - 0xa30], esi
lea ecx, [ecx]
add esi, dword [0x486824]
cmp dword [esi + 0x14], 0
ja 0x4306e6
cmp dword [esi + 0x10], 0
jbe 0x43088a
lea edx, [ebp - 0x20c]
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4306f0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.0043a3d2
lea edx, [ebp - 0x61c]
add esp, 0x14
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x430730
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x430746
mov ecx, edx
mov eax, dword [0x486824]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xa30]
mov eax, dword [ecx + eax]
cmp eax, 0x1a
je 0x4307aa
cmp eax, 0x22
je 0x4307aa
cmp eax, 0x78
je 0x4307aa
cmp eax, 0x33
je 0x4307aa
cmp eax, 0xa
je 0x4307aa
cmp eax, 0x32
je 0x4307aa
cmp eax, 0x59
je 0x4307aa
cmp eax, 0x1f
je 0x4307aa
lea eax, [ebp - 0x414]
push str..jpg
push eax
call fcn.0043861c
add esp, 8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_s
push eax
call fcn.0043861c
add esp, 0x14
cmp word [ebp - 0x20c], 0
je 0x430856
lea eax, [ebp - 0x20c]
push 0x44f350
push eax
call fcn.00437d7e
add esp, 8
test eax, eax
je 0x430856
push eax
call fcn.00437cbb
add esp, 4
mov esi, 1
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_d_s
push eax
call fcn.0043861c
add esp, 0x18
cmp word [ebp - 0x20c], 0
je 0x430856
lea eax, [ebp - 0x20c]
push 0x44f350
push eax
call fcn.00437d7e
add esp, 8
test eax, eax
je 0x430856
push eax
call fcn.00437cbb
inc esi
add esp, 4
cmp esi, 0x64
jl 0x430801
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa34]
call fcn.004308e0
mov edi, dword [ebp - 0xa38]
add esp, 8
test edi, edi
je 0x43088a
lea eax, [ebp - 0x20c]
push eax
push 0x450070
push edi
call fcn.0043a7ec
add esp, 0xc
mov eax, dword [ebp - 0xa34]
mov esi, dword [ebp - 0xa30]
inc eax
add esi, 0x2238
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa30], esi
cmp eax, dword [0x486840]
jl 0x4306d0
pop esi
test edi, edi
je 0x4308c3
push edi
call fcn.00437cbb
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.00436f02
mov esp, ebp
pop ebp
ret