joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40c122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c118
mov eax, 1
add ebx, ebx
jne 0x40c13b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c130
jne 0x40c14c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c130
xor ecx, ecx
sub eax, 3
jb 0x40c160
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c1d2
mov ebp, eax
add ebx, ebx
jne 0x40c16b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c19c
inc ecx
add ebx, ebx
jne 0x40c188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c17d
jne 0x40c199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c17d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c1bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c1ad
jmp 0x40c11e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c1bc
add edi, ecx
jmp 0x40c11e
pop esi
mov edi, esi
mov ecx, 0xc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c1da
cmp byte [edi], 0
jne 0x40c1da
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 0x40c1df
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c24e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c20c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc090]
or eax, eax
je 0x40c248
mov dword [ebx], eax
add ebx, 4
jmp 0x40c229
call dword [esi + 0xc0a0]
mov ebp, dword [esi + 0xc094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x40c282
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x4011c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.zulu_crash_dump.txt
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x4011f4
test al, 0x10
jne 0x4011f4
mov eax, 1
ret
xor eax, eax
ret
Function at 0x40a730
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], 0x10001
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1d0]
call eax
movzx ecx, al
test ecx, ecx
jne 0x40a788
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x40]
call edx
mov dword [ebp - 0x6c], eax
jmp 0x40a79b
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
call eax
mov dword [ebp - 0x68], SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x64]
call fcn.00406f50
mov dword [ebp - 4], 0
push str.SogouGameDownload
lea ecx, [ebp - 0x48]
call fcn.00406f50
mov dword [ebp - 4], 1
push 0x4e6d7c
lea ecx, [ebp - 0x2c]
call fcn.00406f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x24c]
call edx
push str._sggamedlupdate.exe__opensystem
lea ecx, [ebp - 0x2c]
call fcn.00407050
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18c]
call edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x50]
call eax
mov byte [ebp - 0x6d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00401be0
mov al, byte [ebp - 0x6d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x411ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004ab370
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x24], eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411d9e
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x411d9e
cmp dword [ebp - 0x1c], 0x10
jne 0x411d72
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
test eax, eax
jne 0x411d94
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x411d9c
jmp 0x411d9e
jmp 0x411d34
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x411dc4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x730]
mov esp, ebp
pop ebp
ret

Function at 0x426880
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00426570
test eax, eax
je 0x4268b9
mov ecx, dword [ebp + 0xc]
call fcn.00426570
test eax, eax
je 0x4268b9
mov ecx, dword [ebp + 8]
call fcn.00426590
movzx eax, al
test eax, eax
je 0x4268b9
mov ecx, dword [ebp + 0xc]
call fcn.00426590
movzx ecx, al
test ecx, ecx
jne 0x4268bd
xor al, al
jmp 0x4268db
mov ecx, dword [ebp + 0xc]
call fcn.00426570
push eax
mov ecx, dword [ebp + 8]
call fcn.00426570
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
Function at 0x42aa10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d88
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x3c], 0
je 0x42aa50
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x42aa5c
mov al, 1
jmp 0x42ac04
mov dword [ebp - 0x10], 8
call fcn.00420b60
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
call eax
mov word [ebp - 0x3a], ax
call fcn.00420b60
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3a]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00420b40
add esp, 8
movzx eax, al
test eax, eax
je 0x42aaa4
xor al, al
jmp 0x42ac04
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0042a6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0040add0
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0x3c]
call fcn.00429230
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x42ab1f
cmp dword [ebp - 0x68], 1
je 0x42ab26
cmp dword [ebp - 0x68], 3
je 0x42abc0
jmp 0x42abd8
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x42], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42ab89
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
push eax
call fcn.00449b22
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42ab89
mov byte [ebp - 0x5d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov al, byte [ebp - 0x5d]
jmp 0x42ac04
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x42abac
mov byte [ebp - 0x5e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov al, byte [ebp - 0x5e]
jmp 0x42ac04
cmp dword [ebp - 0x38], 0
jne 0x42abbe
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00410390
jmp 0x42abf0
mov byte [ebp - 0x5f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov al, byte [ebp - 0x5f]
jmp 0x42ac04
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov al, byte [ebp - 0x60]
jmp 0x42ac04
jmp 0x42aab7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x43fa60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caff6
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x440], 0
push str.SoftwareSogouGameDownload
lea ecx, [ebp - 0x41c]
call fcn.004213f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.00406c50
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x414], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x420], 0x400
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.LastGameType
lea ecx, [ebp - 0x41c]
call fcn.0041bf70
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x43fb6a
push 0x4e6d7c
mov ecx, dword [ebp + 8]
call fcn.00406f50
mov edx, dword [ebp - 0x440]
or edx, 1
mov dword [ebp - 0x440], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41c]
call fcn.00406ac0
mov eax, dword [ebp + 8]
jmp 0x43fbac
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406f50
mov ecx, dword [ebp - 0x440]
or ecx, 1
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41c]
call fcn.00406ac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x43fbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x454]
call fcn.00406c50
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x414], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x438], 0x400
push str.SoftwareSogouGameDownload
lea ecx, [ebp - 0x434]
call fcn.00406f50
mov byte [ebp - 4], 1
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.CloudVersion
lea ecx, [ebp - 0x434]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x43fcda
push 0x4e6ee4
mov ecx, dword [ebp + 8]
call fcn.00406f50
mov edx, dword [ebp - 0x458]
or edx, 1
mov dword [ebp - 0x458], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x43fd1c
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406f50
mov ecx, dword [ebp - 0x458]
or ecx, 1
mov dword [ebp - 0x458], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00406d00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret

Function at 0x43fd40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x43fd5a
xor eax, eax
jmp 0x43fdb2
push str.SoftwareSogouGameDownload
lea ecx, [ebp - 0x28]
call fcn.00406f50
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
push eax
call fcn.00444a90
add esp, 4
shl eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push str.CloudVersion
lea ecx, [ebp - 0x28]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
call fcn.00406fd0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x442ab8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x50232c], 0
push esi
jne 0x442a2b
call fcn.00442951
test eax, eax
je 0x442a6e
mov eax, dword [0x50232c]
cmp eax, 1
jne 0x442a4c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x442a6e
pop esi
ret
push eax
call dword [0x502334]
test eax, eax
jne 0x442ab6
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x442a72
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x50232c]
call dword [0x502334]
mov edi, eax
test edi, edi
je 0x442a97
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x442ab3
mov edi, esi
add esi, 0xff0
push edi
push dword [0x50232c]
call dword [0x502330]
add edi, 0x10
cmp edi, esi
jb 0x442a9f
mov eax, edi
pop edi
pop esi
ret
jmp 0x442a18

Function at 0x4443e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fe37c]
jne 0x4443ed
repz ret
jmp fcn.0044d7d8

Function at 0x458563
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045003f
and dword [ebp - 4], 0
cmp dword [0x5030d4], 0
mov ebx, eax
jne 0x458614
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4586c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4586c5
push eax
call fcn.0044ffcd
mov dword [esp], 0x4cec38
push edi
mov dword [0x5030d4], eax
call esi
push eax
call fcn.0044ffcd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5030d8], eax
call esi
push eax
call fcn.0044ffcd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5030dc], eax
call esi
push eax
call fcn.0044ffcd
pop ecx
mov dword [0x5030e4], eax
test eax, eax
je 0x458614
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044ffcd
pop ecx
mov dword [0x5030e0], eax
mov eax, dword [0x5030e0]
cmp eax, ebx
je 0x45866c
cmp dword [0x5030e4], ebx
je 0x45866c
push eax
call fcn.00450048
push dword [0x5030e4]
mov esi, eax
call fcn.00450048
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45866c
test edi, edi
je 0x45866c
call esi
test eax, eax
je 0x458663
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x458663
test byte [ebp - 0xc], 1
jne 0x45866c
or dword [ebp + 0x10], 0x200000
jmp 0x4586a5
mov eax, dword [0x5030d8]
cmp eax, ebx
je 0x4586a5
push eax
call fcn.00450048
pop ecx
test eax, eax
je 0x4586a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4586a5
mov eax, dword [0x5030dc]
cmp eax, ebx
je 0x4586a5
push eax
call fcn.00450048
pop ecx
test eax, eax
je 0x4586a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5030d4]
call fcn.00450048
pop ecx
test eax, eax
je 0x4586c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4586c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esi]
xor eax, eax
and ebp, 7
cmp edx, 5
mov dword [esp + 0xc], ecx
jae 0x45d681
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov esi, dword [esp + 0x18]
add esi, 5
lea edx, [ecx + edx - 4]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
push edi
mov edi, edi
mov ecx, dword [esp + 0x14]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x45d6bf
jmp 0x45d6b0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x45d6bf
add edi, 1
cmp edi, edx
jb 0x45d6b0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x10]
cmp edi, edx
jae 0x45d7d5
cmp ecx, 3
jbe 0x45d6f5
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x10], eax
je 0x45d733
cmp cl, 0xff
je 0x45d733
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x45d6a0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x45d6d8
movzx ecx, byte [ebp + 0x4ced10]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x4ced08], 0
mov cl, byte [ebx + 4]
je 0x45d71f
test cl, cl
je 0x45d71f
cmp cl, 0xff
jne 0x45d6d8
and ebp, 3
add ebp, ebp
mov dword [esp + 0x10], eax
or ebp, 1
add eax, 1
jmp 0x45d6a0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x45d75e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x45d764
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x45d7a6
movzx esi, byte [ebp + 0x4ced10]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x45d789
cmp dl, 0xff
jne 0x45d7a2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x45d750
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x18]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x45d6a0
cmp ecx, 3
pop edi
pop ebx
jbe 0x45d7ec
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
pop esi
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x1c]
pop esi
and ebp, 7
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
Function at 0x460600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x460610
xor eax, eax
jmp 0x4607ad
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x46076e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cf990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cf990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4cf990]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cf990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cf990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4cf990]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cf990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4cf990]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x460619
cmp dword [ebp + 0x10], 0
je 0x4607a7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4cf990]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x460774
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret