joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45040b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.004173e4
test al, al
je 0x45042f
mov ecx, esi
call fcn.00445c7f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45042f
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x450433
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.004173e4
test al, al
je 0x450456
mov ecx, esi
call fcn.00445c7f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x450456
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x45045a
Capabilities:
Get file attributes

Disassembly:
call fcn.00445c7f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x450473
cmp eax, 0xffffffff
je 0x450473
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x4504b5
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x52662f
call fcn.004f8af5
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
push 0
call fcn.00445c7f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4504e9
lea ecx, [ebp - 0x10]
call fcn.0040773b
mov ecx, eax
xor ebx, ebx
inc ebx
jmp 0x4504f6
lea ecx, [ebp + 0xc]
call fcn.00450367
push 2
mov ecx, eax
pop ebx
mov esi, dword [ebp + 8]
or ebx, 4
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [ecx], 0x5442c0
test bl, 2
je 0x450516
lea ecx, [ebp + 0xc]
and ebx, 0xfffffffd
call fcn.00443a46
test bl, 1
je 0x450523
lea ecx, [ebp - 0x10]
call fcn.00443a46
mov eax, esi
call fcn.004f8abe
ret 8

Function at 0x45057d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x4505c6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4505c1
lea ecx, [ebp + 0xc]
call fcn.00450367
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
call fcn.00443a46
mov eax, dword [ebp - 4]
jmp 0x4505c8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x450690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526655
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.004f9280
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x1000
xor esi, esi
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004fab60
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edi, [ebp - 0x1010]
mov dword [ebp - 0x1020], esi
mov dword [ebp - 0x101c], esi
mov dword [ebp - 0x1018], esi
mov dword [ebp - 4], esi
cmp word [ebp - 0x1010], si
je 0x450755
push ecx
mov eax, esp
lea ecx, [ebp - 0x1014]
mov dword [eax], edi
call fcn.004543c1
pop ecx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1020]
call fcn.00451cb0
mov eax, dword [ebp - 0x1014]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x450745
cmp word [edi], si
jne 0x450711
push ecx
lea ecx, [ebp - 0x1020]
call fcn.0044662a
cmp dword [ebp - 0x1018], 0
jle 0x4507a5
push esi
lea ecx, [ebp - 0x1020]
call fcn.004463a0
mov edx, eax
lea ecx, [ebp - 0x1014]
call fcn.0043dab0
lea eax, [ebp - 0x1014]
mov ecx, ebx
push eax
call fcn.0045187f
lea ecx, [ebp - 0x1014]
call fcn.00443a46
inc esi
cmp esi, dword [ebp - 0x1018]
jl 0x45076a
lea ecx, [ebp - 0x1020]
call fcn.00452ab1
push dword [ebp - 0x1020]
call fcn.004fd784
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret
Function at 0x450af3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x57d070]
xor eax, esp
mov dword [esp + 0x268], eax
cmp dword [ecx + 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
jne 0x450b63
call fcn.00445c7f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0xc]
cmp eax, 0xffffffff
mov dword [ecx + 4], eax
jne 0x450b70
xor al, al
jmp 0x450c06
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x450b5a
push ecx
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax], ecx
lea ecx, [esp + 0x10]
call fcn.004543c1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00443a1f
mov edx, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x20]
test edx, edx
je 0x450bad
mov eax, ecx
shr eax, 4
and al, 1
mov byte [edx], al
mov edx, dword [esp + 0x18]
test edx, edx
je 0x450bbd
mov eax, ecx
shr eax, 1
and al, 1
mov byte [edx], al
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x450bca
and cl, 1
mov byte [eax], cl
test edi, edi
je 0x450be0
mov ecx, dword [esp + 0x3c]
xor eax, eax
add eax, dword [esp + 0x40]
mov dword [edi], eax
adc ecx, 0
mov dword [edi + 4], ecx
test ebx, ebx
je 0x450bf2
lea ecx, [esp + 0x34]
call fcn.0045013a
mov dword [ebx], eax
mov dword [ebx + 4], edx
test esi, esi
je 0x450c04
lea ecx, [esp + 0x24]
call fcn.0045013a
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x450c22
Capabilities:
Create process on windows

Disassembly:
push esi
push 0xa
mov esi, ecx
mov ecx, edx
push 0
call fcn.00445c7f
push eax
mov ecx, esi
call fcn.00445c7f
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
pop esi
sbb eax, eax
neg eax
ret
Function at 0x450dcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov eax, ecx
push esi
push ecx
mov ecx, esp
mov edi, edx
push eax
call fcn.00443a5b
lea ecx, [ebp - 0x10]
call fcn.00450c4e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450e4f
mov eax, 0x400
jmp 0x450e09
cmp eax, 0xea
jne 0x450e41
mov eax, dword [ebp + 8]
add eax, eax
push esi
push eax
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.004425cd
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
push eax
push dword [edi]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450dfd
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004425cd
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450e4f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00443a46
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x450f47
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
lea edi, [ebp - 0x14]
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [0x584ce4], al
mov eax, ecx
shr eax, 0x19
and al, 1
shr ecx, 0x1a
mov byte [0x584ce5], al
and cl, 1
mov al, byte [ebp - 0xc]
and al, 1
mov byte [0x584ce6], cl
test dword [ebp - 0x10], 0x80000000
mov byte [0x584ce7], al
lea eax, [ebp - 0x38]
push eax
setne byte [0x584ce8]
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop edi
pop esi
mov dword [0x584ce0], eax
pop ebx
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret
Function at 0x451380
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x526734
call fcn.004f8af5
mov esi, ecx
push 0x2f
xor ebx, ebx
lea eax, [ebp - 0x10]
push 0x5c
mov dword [ebp - 4], ebx
lea ecx, [ebp + 8]
push eax
mov dword [esi], ebx
mov dword [esi + 4], 1
call fcn.00444ed1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax]
mov dword [ebp + 8], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
lea eax, [ebp + 8]
mov edx, str.Global_
push eax
lea ecx, [ebp - 0x10]
call fcn.00444667
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00445c7f
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ecx
mov ecx, esp
mov dword [esi], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
cmp dword [esi], ebx
jne 0x45143b
lea eax, [ebp + 8]
mov edx, str.Local_
push eax
lea ecx, [ebp - 0x10]
call fcn.00444667
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00445c7f
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ecx
mov ecx, esp
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
cmp dword [esi], ebx
je 0x451472
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x451472
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45146b
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x451472
cmp eax, 0x80
je 0x451472
mov ecx, esi
call fcn.0045148a
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
mov eax, esi
call fcn.004f8abe
ret 8

Function at 0x4589b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
push edi
push ecx
mov eax, esp
mov edi, ecx
mov dword [ebp - 4], edi
push ecx
mov dword [eax], 0x543fb8
mov eax, esp
push ecx
mov esi, esp
mov dword [eax], 0x54f1c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0xc]
mov dword [esi], eax
call fcn.0045a25c
add esp, 0xc
lea ecx, [ebp - 4]
mov esi, dword [eax]
mov dword [ebp - 4], esi
call fcn.0043bd4e
mov ecx, eax
call fcn.00443813
test al, al
je 0x458a24
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.0043bd88
lea ecx, [ebp - 4]
call fcn.0043bd4e
mov ecx, eax
call fcn.00443813
test al, al
jne 0x458a02
mov esi, dword [ebp - 4]
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.004543c1
pop ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x459f96
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0xb4
mov eax, 0x527274
call fcn.004f8b29
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa8]
push eax
push 0x459e9a
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
lea ecx, [ebp - 0x9c]
call fcn.00443a5b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xbc], 0xc403
call fcn.0043bc24
lea ecx, [ebp - 0x9c]
lea eax, [eax*4 + 4]
mov dword [ebp - 0xb8], eax
call fcn.00402388
test al, al
je 0x45a01e
mov edi, dword [ebp - 0x9c]
mov ebx, 0x54646c
jmp 0x45a082
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], esi
call fcn.0043bc24
push esi
mov edi, eax
call fcn.004fdfa0
pop ecx
lea ecx, [edi*4 + 4]
lea esi, [eax + 4]
and esi, 0xfffffffc
add ecx, esi
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00443ac5
mov edi, dword [ebp - 0x9c]
mov dword [ebp - 0x98], edi
lea ebx, [esi + edi]
mov esi, ebx
jmp 0x45a071
mov dword [esi], eax
add esi, 4
lea ecx, [ebp - 0x98]
call fcn.0043bbcb
test eax, eax
jne 0x45a06c
and dword [esi], eax
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], ebx
jmp 0x45a11f
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x94]
push 0x40
push ecx
mov eax, dword [eax + esi*4]
push eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
push ecx
mov word [ebp - 0x16], ax
lea ecx, [ebp - 0x94]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x98]
call fcn.004543c1
pop ecx
mov edx, 0x546e70
lea ecx, [ebp - 0x98]
call fcn.004441ed
push ecx
mov ecx, dword [ebp - 0x98]
mov edx, esp
mov bl, al
mov dword [edx], ecx
call fcn.00443a1f
pop ecx
test bl, bl
je 0x45a11f
lea eax, [ebp - 0xb0]
push eax
push 0x1f40
push 3
lea eax, [ebp - 0xbc]
push eax
push dword [0x584928]
push 0x4a
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esi, 1
jns 0x45a093
push ecx
mov eax, esp
mov dword [eax], edi
call fcn.00443a1f
push dword [ebp - 0xa8]
call fcn.004fd784
pop ecx
pop ecx
call fcn.004f8ad3
ret
Function at 0x45bdb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x14]
push edi
push eax
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x14]
add ecx, 8
call fcn.0045b63b
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x1c], edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
jle 0x45bee9
mov eax, dword [ebp + 0xc]
dec eax
push 0x10
pop edx
mov dword [ebp - 0x1c], edx
movd xmm1, eax
mov eax, dword [ebp - 0x20]
cvtdq2pd xmm1, xmm1
mov ecx, dword [eax + 0x14]
add ecx, edx
movsd xmm0, qword [ecx]
add ecx, 8
mulsd xmm0, xmm1
addsd xmm0, qword [0x559960]
movsd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x28]
sub eax, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.0045b63b
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], edx
test ecx, ecx
jle 0x45becd
mov eax, dword [ebp - 4]
mov ebx, 0xff00ff
shr eax, 8
and eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and eax, ebx
mov dword [ebp - 0x24], eax
mov eax, edx
mov ebx, esi
shl eax, 8
cdq
idiv ecx
mov edx, dword [ebp - 8]
mov ecx, esi
mov edi, eax
shr ebx, 8
mov eax, 0xff00ff
and ebx, eax
and ecx, eax
sub edx, ebx
mov eax, ebx
imul edx, edi
shl eax, 8
and edx, 0xffffff00
add edx, eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
imul eax, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, eax
mov eax, dword [ebp - 8]
sub eax, ebx
and edx, 0xff00ff
imul eax, edi
shl ebx, 8
and eax, 0xffffff00
add eax, ebx
mov ebx, dword [ebp - 0xc]
xor edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + ebx*4], edx
inc ebx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp edx, ecx
jl 0x45be57
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc edi
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
add edx, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
cmp edi, dword [eax + 0x1c]
jl 0x45be01
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jge 0x45befe
mov edx, dword [ebp + 8]
sub eax, ebx
mov ecx, eax
mov eax, esi
lea edi, [edx + ebx*4]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469fe1
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0xcb
cmp dword [esi + 0x14], 0xca
jne 0x46a033
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
call dword [eax]
add esp, 0xc
mov dword [esi + 0x180], eax
mov ecx, esi
mov dword [eax], 0x46eccb
mov dword [eax + 4], 0x46ee05
mov byte [eax + 8], 0
call fcn.0046eb19
cmp byte [esi + 0x40], 0
je 0x46a030
mov dword [esi + 0x14], 0xcf
mov al, 1
pop edi
pop esi
ret
mov dword [esi + 0x14], edi
cmp dword [esi + 0x14], edi
jne 0x46a09d
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x46a092
mov eax, dword [esi + 8]
test eax, eax
je 0x46a04f
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x46a08e
cmp eax, 2
je 0x46a092
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46a044
cmp eax, 3
je 0x46a073
cmp eax, 1
jne 0x46a044
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x46a044
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x46a044
xor al, al
jmp 0x46a02d
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x46a0bd
cmp dword [esi + 0x14], 0xcc
je 0x46a0bd
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
call dword [eax]
pop ecx
pop edi
mov ecx, esi
pop esi
jmp 0x46a0c6
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xcc
cmp dword [edi + 0x14], esi
je 0x46a0e6
mov eax, dword [edi + 0x180]
push edi
call dword [eax]
and dword [edi + 0x78], 0
pop ecx
mov dword [edi + 0x14], esi
mov eax, dword [edi + 0x180]
cmp byte [eax + 8], 0
je 0x46a156
lea ebx, [edi + 0x78]
mov eax, dword [ebx]
jmp 0x46a12d
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46a113
mov dword [ecx + 4], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x60]
push edi
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
call dword [eax]
pop ecx
mov eax, dword [edi + 0x184]
mov esi, dword [ebx]
push 0
push ebx
push 0
push edi
call dword [eax + 4]
mov eax, dword [ebx]
add esp, 0x10
cmp eax, esi
je 0x46a16c
cmp eax, dword [edi + 0x60]
jb 0x46a0f9
mov eax, dword [edi + 0x180]
push edi
call dword [eax + 4]
mov eax, dword [edi + 0x180]
push edi
call dword [eax]
and dword [ebx], 0
mov eax, dword [edi + 0x180]
pop ecx
pop ecx
cmp byte [eax + 8], 0
jne 0x46a0f5
xor eax, eax
cmp byte [edi + 0x41], al
setne al
add eax, 0xcd
mov dword [edi + 0x14], eax
mov al, 1
pop edi
pop esi
pop ebx
ret
xor al, al
jmp 0x46a168
Function at 0x4730ad
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x4c], 1
mov edi, dword [esi + 0x1a8]
mov dword [ebp - 0x28], edi
jne 0x4730d5
mov eax, 0x1fe
mov byte [edi + 0x1c], 1
jmp 0x4730da
xor eax, eax
mov byte [edi + 0x1c], al
push dword [esi + 0x64]
mov ecx, dword [esi + 4]
mov dword [ebp - 8], eax
add eax, 0x100
push eax
push 1
push esi
call dword [ecx + 8]
xor ebx, ebx
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x64], ebx
jle 0x4731e8
mov ecx, dword [edi + ebx*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 8], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
je 0x473123
mov eax, dword [edi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
xor ebx, ebx
mov dword [ebp - 0xc], eax
lea eax, [ecx + 0xfe]
cdq
lea ecx, [ecx*2 - 2]
idiv ecx
mov edx, dword [ebp - 0xc]
mov edi, eax
xor eax, eax
mov dword [ebp - 4], eax
cmp eax, edi
jle 0x473188
mov ecx, dword [ebp - 4]
lea eax, [esi*2 - 2]
mov dword [ebp - 0x24], eax
add esi, 0xfe
imul eax, ebx, 0x1fe
add eax, esi
mov dword [ebp - 0x20], eax
mov esi, eax
add esi, 0x1fe
inc ebx
mov eax, esi
cdq
idiv dword [ebp - 0x24]
mov edi, eax
cmp ecx, edi
jg 0x47316f
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov eax, dword [ebp - 4]
mov byte [eax + edx], cl
inc eax
mov dword [ebp - 4], eax
cmp eax, 0xff
jle 0x47314b
cmp dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
je 0x4731d8
xor ecx, ecx
lea esi, [edx - 1]
inc ecx
mov al, byte [edx]
mov byte [esi], al
mov al, byte [edx + 0xff]
mov byte [edx + ecx + 0xff], al
inc ecx
dec esi
cmp ecx, 0xff
jle 0x4731ba
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, dword [esi + 0x64]
jl 0x473106
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477913
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, 0x542e6c
test ecx, ecx
je 0x477929
mov eax, dword [ecx]
test eax, eax
je 0x477929
push esi
push ecx
call eax
pop ecx
pop ecx
push esi
push str.libpng_error:__s
push 2
call fcn.005059c0
pop ecx
push eax
call fcn.0045a3a1
add esp, 0xc
push 0x54c510
push 2
call fcn.005059c0
pop ecx
push eax
call fcn.0045a3a1
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x477bd8
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x100000
je 0x477bfc
test dword [ecx + 0x28], 0x8000
je 0x477bf7
cmp dword [ecx + 0xd0], 0
jne fcn.00477cb6
jmp fcn.00477a6a
jmp fcn.00477913

Function at 0x477c01
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x200000
jne fcn.00477a6a
jmp fcn.00477913

Function at 0x477c13
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x400000
jne fcn.00477a6a
jmp fcn.00477913
Function at 0x477cf3
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x100000
jne fcn.00477cb6
jmp fcn.00477913

Function at 0x477d05
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
test dword [ecx + 0x28], 0x8000
je 0x477d23
cmp dword [ebp + 8], 2
jge 0x477d1d
pop ebp
jmp fcn.00477cb6
pop ebp
jmp fcn.00477cf3
cmp dword [ebp + 8], 1
jge 0x477d2f
pop ebp
jmp fcn.00477c01
pop ebp
jmp fcn.00477c13

Function at 0x4787bf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4787d5
push dword [ebp + 8]
push edx
push ecx
call eax
add esp, 0xc
pop ebp
ret
jmp fcn.00477913

Function at 0x47cbbd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, ecx
and eax, 5
cmp al, 5
jne 0x47cbf6
mov edx, dword [ebp + 8]
or ecx, 0x18
mov dword [esi + 0x28], ecx
mov ecx, esi
call fcn.0047c33b
cmp dword [ebp + 8], 0
je 0x47cbf3
mov ecx, esi
mov edx, str.invalid
pop esi
pop ebp
jmp fcn.00477cf3
pop esi
pop ebp
ret
mov ecx, esi
call fcn.00477913
int3

Function at 0x480378
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x4803d3
mov edx, 0x8000
test dword [ecx + 0x28], edx
je 0x480394
mov eax, 0xff
mov word [ecx + 0x114], ax
jmp 0x4803c9
movzx eax, byte [ecx + 0x10b]
sub eax, 0
je 0x4803b9
dec eax
sub eax, 1
je 0x4803b0
mov edx, str.png_set_filler:_inappropriate_color_type
jmp fcn.00477c13
mov byte [ecx + 0x110], 4
jmp 0x4803c9
cmp byte [ecx + 0x10c], 8
jb 0x4803d4
mov byte [ecx + 0x110], 2
or dword [ecx + 0x30], edx
or dword [ecx + 0x2c], 0x80
ret
mov edx, str.png_set_filler_is_invalid_for_low_bit_depth_gray_output
jmp 0x4803ab

Function at 0x4807fb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x480811
push dword [ebp + 8]
push edx
push ecx
call eax
add esp, 0xc
pop ebp
ret
jmp fcn.00477913

Function at 0x48e57c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x14], eax
jle 0x48e610
mov ecx, dword [edi + 0x10]
push ebx
push esi
mov ebx, dword [edi + 8]
and dword [ebp - 4], 0
imul ebx, eax
add ebx, dword [edi]
test ecx, ecx
jle 0x48e605
movss xmm0, dword [edx]
xor esi, esi
mulss xmm0, dword [0x559a38]
inc esi
mov edx, dword [ebx]
mov ecx, edx
and ecx, 0xff00ff
cvttss2si eax, xmm0
sub esi, eax
mov eax, edx
shr eax, 8
imul ecx, esi
and eax, 0xffff00ff
imul eax, esi
shr edx, 8
shr ecx, 8
xor ecx, eax
mov eax, 0xff00ff
and edx, eax
and ecx, eax
mov eax, dword [ebp - 4]
imul edx, esi
xor ecx, edx
mov edx, dword [ebp - 8]
mov dword [ebx], ecx
add ebx, dword [edi + 0xc]
inc eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x48e5a7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x14]
jl 0x48e597
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret