joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2240
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x4e2358
push esi
mov esi, 0xf0
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x4e2338
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0xf
mov edx, eax
and edx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0xf
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0xf
lea edx, [edx + ebx + 2]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x20]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0xf
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x4e2298
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4e227a
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x4f0a02
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
jne 0x4f0a25
mov eax, 0x8876086c
jmp 0x4f0b3a
cmp dword [ebp + 0xc], esi
push ebx
je 0x4f0abd
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4f0a9d
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp + 0xc], eax
call fcn.00460900
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
jne 0x4f0a81
mov eax, 0x8007000e
jmp 0x4f0b39
push esi
push esi
push dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
cmp dword [ebp + 0xc], esi
je 0x4f0abd
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4f0ad6
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 4]
mov dword [edi], eax
call fcn.0046090e
mov eax, dword [edi]
cmp eax, 0xffffffff
pop ecx
je 0x4f0b27
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x4f0b27
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x4f0b27
cmp eax, esi
je 0x4f0b34
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x4f0b37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x4f0b39
mov dword [edi + 8], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x4f131b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4f1374
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4f1374
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4f1374
xor eax, eax
inc eax
jmp 0x4f1376
xor eax, eax
leave
ret 0x10
Function at 0x4f13a2
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4f1412
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x57eb1c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f1409
cmp dword [ebp - 0xc], 4
jne 0x4f1409
cmp dword [ebp - 0x10], edi
je 0x4f1409
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5aa3e8], edi
xor eax, eax
jmp 0x4f1451
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5aa3e8], edi
jge 0x4f144c
lea eax, [ebp - 0x34]
push eax
mov dword [0x5aa3e8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4f144c
cmp word [ebp - 0x14], 5
jb 0x4f144c
call fcn.004f137a
test eax, eax
je 0x4f144c
emms
mov dword [0x5aa3e8], 1
mov eax, dword [0x5aa3e8]
pop edi
leave
ret
Function at 0x50e82f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
imul esi, esi, 0x64
mov edi, dword [ebp + 8]
imul edi, edi, 0x64
add edi, dword [ecx + 0x2c]
mov dword [ebp - 4], ecx
add esi, dword [edi + 4]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebx + 0xc]
add eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x118], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], ecx
jne 0x50e8a5
push ecx
push ecx
call fcn.0046a1ec
mov ecx, dword [ebp - 4]
push 0x30000
push 0
mov dword [ecx + 0x114], eax
call fcn.0046a1ec
mov eax, dword [ebp - 4]
add esp, 0x10
or dword [eax + 0x118], 1
xor edx, edx
cmp dword [esi + 0x3c], edx
je 0x50e980
mov ecx, dword [edi]
mov eax, dword [ebx + 0x10]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
add eax, ecx
cmp word [esi + 0x4e], dx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], edx
jbe 0x50e972
movzx ecx, word [ebp + 8]
shl ecx, 5
add ecx, dword [esi + 0x34]
cmp dword [ecx], edx
je 0x50e95f
mov eax, dword [ecx + 4]
mov dword [ecx], eax
mov eax, dword [ecx + 0x10]
movzx edx, word [eax + 4]
sub edx, 0
je 0x50e93a
dec edx
je 0x50e913
dec edx
jne 0x50e95f
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x10]
jmp 0x50e928
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x14]
push dword [esi + 0x3c]
push edx
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0050dcc9
jmp 0x50e95f
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
push dword [esi + 0x3c]
movzx eax, word [eax + 6]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0050e062
inc dword [ebp + 8]
mov ax, word [ebp + 8]
xor edx, edx
cmp ax, word [esi + 0x4e]
jb 0x50e8d7
mov edi, dword [edi]
add edi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push edx
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push edx
push dword [ebp - 0xc]
push edx
push dword [esi + 0x44]
push dword [esi + 0x40]
call fcn.004f00d8
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x51bbb8
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov dword [esi + 4], ecx
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x51bbfd
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x55bdf6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x55be22
test ecx, ecx
jne 0x55be2c
test esi, esi
jne 0x55be2c
mov eax, edx
jmp 0x55be9d
cmp eax, 0xffffffff
jne 0x55be2c
push 0xfffffffffffffffe
pop eax
jmp 0x55be9d
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x55be9d
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x55be62
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x55be81
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x55bf4a
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x55bec2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x55becc
xor ecx, ecx
jmp 0x55bf0b
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x55beee
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.00568037
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x55bf36
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x55bf4a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x55be04
pop edi
pop esi
leave
ret
Function at 0x56c724
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x56c7d1
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x56c77b
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x592700]
inc ebx
cmp ebx, ebp
jl 0x56c75b
jmp 0x56c781
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x56c7af
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x592700]
inc esi
cmp esi, edi
jl 0x56c790
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret

Function at 0x56d600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [eax + 0x20]
add edi, ebx
cmp dword [eax + 0x18], esi
jbe 0x56d654
mov edx, dword [edi]
xor eax, eax
add edx, ebx
mov cl, byte [edx]
test cl, cl
je 0x56d643
ror eax, 7
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x56d632
cmp eax, dword [ebp - 8]
je 0x56d65d
mov eax, dword [ebp - 4]
inc esi
add edi, 4
cmp esi, dword [eax + 0x18]
jb 0x56d626
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
pop edi
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
pop esi
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56d680
Capabilities:
Accept command line arguments
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570750
push 0x463990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x7dfe44], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x7dfe40], ecx
shl ecx, 8
add ecx, edx
mov dword [0x7dfe3c], ecx
shr eax, 0x10
mov dword [0x7dfe38], eax
push 1
call fcn.00462588
pop ecx
test eax, eax
jne 0x4622b5
push 0x1c
call fcn.00462377
pop ecx
call fcn.0046653b
test eax, eax
jne 0x4622c6
push 0x10
call fcn.00462377
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00465fdb
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x7e4174], eax
call fcn.00468097
mov dword [0x7dfe90], eax
call fcn.00467e4a
call fcn.00467d91
call fcn.00460505
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00467d39
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x462315
movzx eax, word [ebp - 0x2c]
jmp 0x462318
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00403920
mov dword [ebp - 0x60], eax
push eax
call fcn.00460532
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.004666a9
pop ecx
pop ecx
ret
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, 0x3a577b9
call fcn.0056d600
sub esp, 0x10
mov ecx, esp
mov ecx, 0x1e7a5147
xor ecx, 0x79103575
mov dword [esp], ecx
mov ecx, 0x10ce6726
xor ecx, 0x3eab0a47
mov dword [esp + 4], ecx
mov ecx, 0x4a132f6e
xor ecx, 0x4a67571a
mov dword [esp + 8], ecx
push esp
call eax
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46224a
ret
Function at 0x4143f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 4
imul ecx, eax, 0x4b1
mov edx, dword [ecx + 0x490b10]
not edx
or edx, 0x61c7bf45
cmp edx, 0x6ad4412c
jne 0x414437
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ecx + 0x490b10]
sub edx, 0xf77082c
mov eax, 4
imul ecx, eax, 5
mov dword [ecx + 0x490b10], edx
mov edx, dword [0x48f048]
push edx
call fcn.0041b130
add esp, 4
mov eax, 4
imul ecx, eax, 0x8d8
mov edx, dword [ecx + 0x490b10]
add edx, 1
mov dword [ebp - 4], edx
mov eax, 4
imul ecx, eax, 0x8d8
mov edx, dword [ebp - 4]
mov dword [ecx + 0x490b10], edx
mov eax, 4
imul ecx, eax, 0x19c
mov edx, dword [ecx + 0x490b10]
or edx, dword [ebp - 4]
mov eax, 4
imul ecx, eax, 0x19c
mov dword [ecx + 0x490b10], edx
push 1
call fcn.00465c50
mov edx, 2
imul eax, edx, 0x241
movsx ecx, word [eax + 0x48f8e0]
or ecx, 0x600041fc
mov edx, 2
imul eax, edx, 0x241
mov word [eax + 0x48f8e0], cx
mov esp, ebp
pop ebp
ret
Function at 0x433e20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0x713
mov edx, dword [ecx + 0x490b10]
and edx, 0xb649a124
mov eax, 4
imul ecx, eax, 0x713
mov dword [ecx + 0x490b10], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0
mov edx, 4
imul eax, edx, 0x106
imul ecx, dword [eax + 0x490b10], 0x3f75ffcf
mov edx, 4
imul eax, edx, 0x106
mov dword [eax + 0x490b10], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0
mov eax, 4
imul ecx, eax, 0xce
mov edx, dword [ecx + 0x490b10]
add edx, 0x7fcc5050
mov eax, 4
imul ecx, eax, 0xce
mov dword [ecx + 0x490b10], edx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 8], 0x67452301
mov edx, 4
imul eax, edx, 0x375
mov ecx, dword [eax + 0x490b10]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, 4
imul eax, edx, 0x375
mov ecx, dword [ebp - 8]
mov dword [eax + 0x490b10], ecx
mov edx, dword [ebp - 8]
add edx, 0x21896af7
xor edx, 0x9acfdacd
mov eax, 2
imul ecx, eax, 0x40c
movsx eax, word [ecx + 0x48f8e0]
and eax, edx
mov ecx, 2
imul edx, ecx, 0x40c
mov word [edx + 0x48f8e0], ax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 8], 0xefcdab89
mov edx, 4
imul eax, edx, 0x8e6
mov ecx, dword [eax + 0x490b10]
or ecx, 0x4020004
mov edx, 4
imul eax, edx, 0x8e6
mov dword [eax + 0x490b10], ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 8], 0x98badcfe
mov eax, 2
imul ecx, eax, 0x192
movsx edx, word [ecx + 0x48f8e0]
or edx, 0xa4eaa254
cmp edx, 0xd3121bb4
jl 0x433fea
mov eax, 4
imul ecx, eax, 0x6cb
mov edx, dword [ecx + 0x490b10]
and edx, 0x86b92e10
cmp edx, 0xc35e3468
jne 0x433fea
mov eax, 4
imul ecx, eax, 0x596
mov edx, dword [ecx + 0x490b10]
and edx, 0xfb44cbc6
mov eax, 4
imul ecx, eax, 0x596
mov dword [ecx + 0x490b10], edx
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 8], 0x10325476
mov edx, 4
imul eax, edx, 0x590
mov ecx, dword [eax + 0x490b10]
sar ecx, 9
and ecx, 0x980362e2
cmp ecx, 0x596648eb
jle 0x4340b8
mov edx, 4
imul eax, edx, 0x5d3
mov ecx, dword [eax + 0x490b10]
xor ecx, 0x7b100224
cmp ecx, 0xd1851e1b
je 0x434092
mov edx, 4
imul eax, edx, 0x5bd
mov ecx, dword [eax + 0x490b10]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 4
imul eax, edx, 0x5bd
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x490b10], ecx
mov edx, 4
imul eax, edx, 0x861
mov ecx, dword [eax + 0x490b10]
mov edx, 2
imul eax, edx, 0x32f
movsx edx, word [eax + 0x48f8e0]
jmp 0x4340b8
mov eax, 4
imul ecx, eax, 0x403
imul edx, dword [ecx + 0x490b10], 0xb15036fe
mov eax, 4
imul ecx, eax, 0x403
mov dword [ecx + 0x490b10], edx
mov esp, ebp
pop ebp
ret
Function at 0x46d2f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004673cf
mov dword [ebp - 0x14], eax
cmp dword [0x493b14], esi
jne 0x46d3e8
push 0x800
push esi
push 0x484238
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46d375
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46d4c8
push esi
push esi
push 0x484238
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46d4c8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d4c8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x493b14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x493b18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x493b1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x493b24], eax
test eax, eax
je 0x46d3e5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x493b20], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46d40d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d400
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46d422
push 4
pop eax
jmp 0x46d4ca
cmp dword [ebp - 0x14], esi
je 0x46d422
push dword [0x493b14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46d407
mov eax, dword [0x493b20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46d480
cmp dword [0x493b24], edi
je 0x46d480
push eax
call ebx
push dword [0x493b24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46d480
test eax, eax
je 0x46d480
call ecx
test eax, eax
je 0x46d475
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46d475
test byte [ebp - 8], 1
jne 0x46d480
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46d4b0
mov eax, dword [0x493b18]
cmp eax, edi
je 0x46d4ad
push eax
call ebx
test eax, eax
je 0x46d4ad
call eax
mov esi, eax
test esi, esi
je 0x46d4ad
mov eax, dword [0x493b1c]
cmp eax, edi
je 0x46d4ad
push eax
call ebx
test eax, eax
je 0x46d4ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x493b14]
call ebx
test eax, eax
je 0x46d4c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46d4ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d147
mov esp, ebp
pop ebp
ret
Function at 0x401cff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push dword [ebp - 0x58]
push 0
call sub.USER32.DLL_ShowWindow
leave
ret 0xc