joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df0f4
mov eax, dword fs:[0]
push eax
mov eax, 0x113c
call fcn.004b4a40
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esi], 0
cmp dword [eax + 4], 0x47c
jne 0x47ebfb
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffffe
je 0x47e9ea
cmp ecx, 0xfffffffc
jne 0x47ebfb
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10c8]
push eax
call fcn.004b5130
mov eax, dword [ebp - 0x10c4]
add esp, 0xc
sub eax, 0
je 0x47eafa
sub eax, 1
jne 0x47ebfb
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push str.OpenPrivacyPolicy
call fcn.004019e0
mov dword [ebp - 4], 6
mov edx, dword [0x510a64]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x10d4], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 7
mov eax, dword [0x510a68]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x10cc], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 8
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push str.Toolbar
call fcn.004019e0
mov byte [ebp - 4], 9
push 0
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
push str.TOOLBARPAGE
lea ecx, [ebp - 0x1148]
call fcn.004019e0
mov dword [ebp - 4], 0xa
push str.Open_toolbar_private_policy_link.
lea ecx, [ebp - 0x10f4]
call fcn.004019e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1148]
push ecx
lea edx, [ebp - 0x10f4]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10f4]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1148]
jmp 0x47ebd6
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10d0], esp
push str.OpenLicenseAgreement
call fcn.004019e0
mov dword [ebp - 4], 0
mov edx, dword [0x510a64]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x10cc], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x510a68]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x10d4], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10d8], esp
push str.Toolbar
call fcn.004019e0
mov byte [ebp - 4], 3
push 0
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
push str.TOOLBARPAGE
lea ecx, [ebp - 0x1110]
call fcn.004019e0
mov dword [ebp - 4], 4
push str.Open_toolbar_license_agreement_link.
lea ecx, [ebp - 0x112c]
call fcn.004019e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1110]
push ecx
lea edx, [ebp - 0x112c]
push edx
call fcn.00419d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x112c]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1110]
call fcn.00490320
push 5
push 0
push 0
lea eax, [ebp - 0x1058]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esi], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47f820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x7e
mov esi, ecx
push eax
lea ecx, [ebp - 0x82]
push ecx
mov word [ebp - 0x84], ax
call fcn.004b32f0
mov edx, dword [esi + 4]
add esp, 0xc
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
pop esi
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f880
mov ecx, dword [ebp - 4]
sub eax, edx
sar eax, 1
xor edx, edx
cmp edx, eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004b3057
mov esp, ebp
pop ebp
ret

Function at 0x47fa10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x510a70]
push edi
add ecx, 0x200
call fcn.004220b0
mov ecx, esi
call fcn.0047f820
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x47fab8
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x82]
push ecx
mov word [ebp - 0x84], ax
call fcn.004b32f0
mov edx, dword [esi + 4]
add esp, 0xc
push 0x3eb
push edx
call edi
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call ebx
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
jmp 0x47fa90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fa90
mov ecx, dword [0x510a70]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x84]
push edx
add ecx, 0x200
call fcn.00401860
mov eax, dword [esi + 4]
push 0x442
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x47fb2f
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x82]
push edx
mov word [ebp - 0x84], cx
call fcn.004b32f0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x441
push eax
call edi
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call ebx
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fb07
mov ecx, dword [0x510a70]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x84]
push edx
add ecx, 0x21c
call fcn.00401860
mov eax, dword [esi + 4]
push 0x442
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, dword [0x510a70]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x254], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3057
mov esp, ebp
pop ebp
ret
Function at 0x47fe50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df346
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x7e
mov esi, ecx
push eax
lea ecx, [ebp - 0x8e]
push ecx
mov word [ebp - 0x90], ax
call fcn.004b32f0
mov edx, dword [esi + 4]
add esp, 0xc
push 0x441
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40
lea ecx, [ebp - 0x90]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0x4eea68
lea ecx, [ebp - 0x98]
call fcn.004163c0
mov dword [ebp - 4], 0
push 0
push eax
lea edx, [ebp - 0x90]
push edx
call fcn.0047fdb0
movzx esi, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00440de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret
Function at 0x480e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df488
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50f52c]
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 eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0x54]
mov dword [ebp - 0x30], eax
call fcn.0046fed0
mov edi, dword [eax]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x510a78]
push ebx
mov dword [ebp - 0x34], edi
call fcn.00463630
xor edx, edx
push 0xffffffffffffffff
add eax, 0x1b8
push edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], dx
call fcn.00401750
mov dword [ebp - 4], 0
mov ecx, dword [0x510a78]
push ebx
call fcn.00463630
cmp dword [eax + 0x348], 0
je 0x480f23
push 0xa
push str.__Upgrade_
lea ecx, [ebp - 0x2c]
call fcn.00401620
cmp dword [ebp - 0x14], 8
jb 0x480f31
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x480f37
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [0x510a78]
push ebx
call fcn.00463630
cmp dword [eax + 0x20c], 0
je 0x480f97
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x34]
push edx
lea ecx, [esi + 0x74]
call fcn.00470220
mov dword [eax], ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x480fbe
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
lea eax, [ecx + 1]
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.004b3057
mov esp, ebp
pop ebp
ret 8
Function at 0x489530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x4895cd
mov eax, dword [ebp + 0xc]
cmp eax, 0x111
jne 0x48959f
mov eax, dword [ebp + 0x10]
mov ecx, 1
cmp cx, ax
jne 0x489592
mov edx, dword [esi + 4]
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40
lea ecx, [esi + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
pop esi
pop ebp
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x4895cd
push ecx
jmp 0x489575
cmp eax, 0x110
jne 0x4895cd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x18]
push ecx
push edx
push eax
push 0x110
mov ecx, esi
call fcn.004892e0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
pop ebp
ret 0x18
xor eax, eax
pop esi
pop ebp
ret 0x18

Function at 0x48a849
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x510ac8], 0
push esi
jne 0x48a7bc
call fcn.0048a6e2
test eax, eax
je 0x48a7ff
mov eax, dword [0x510ac8]
cmp eax, 1
jne 0x48a7dd
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x48a7ff
pop esi
ret
push eax
call dword [0x510ad0]
test eax, eax
jne 0x48a847
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 0x48a803
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x510ac8]
call dword [0x510ad0]
mov edi, eax
test edi, edi
je 0x48a828
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x48a844
mov edi, esi
add esi, 0xff0
push edi
push dword [0x510ac8]
call dword [0x510acc]
add edi, 0x10
cmp edi, esi
jb 0x48a830
mov eax, edi
pop edi
pop esi
ret
jmp 0x48a7a9
Function at 0x4accb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e1413
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x50f52c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00494f00
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], ebx
call fcn.00494f00
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 1
call fcn.00494f00
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

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

Disassembly:
sub esp, 0xe4
mov eax, 0x4e27d5
mov dword [esp], eax
mov dword [esp + 4], 0x4f0548
mov dword [esp + 8], 0x4f0544
mov dword [esp + 0xc], 0x4f0540
mov dword [esp + 0x10], 0x4f053c
mov dword [esp + 0x14], 0x4f0538
mov dword [esp + 0x18], 0x4efad8
mov dword [esp + 0x1c], 0x4f0534
mov dword [esp + 0x20], 0x4e4440
mov dword [esp + 0x24], 0x4f0530
mov dword [esp + 0x28], 0x4f052c
mov dword [esp + 0x2c], 0x4f0528
mov dword [esp + 0x30], 0x4e459c
mov dword [esp + 0x34], 0x4f0524
mov dword [esp + 0x38], 0x4f0520
mov dword [esp + 0x3c], 0x4f051c
mov dword [esp + 0x40], str.___.___
mov dword [esp + 0x44], 0x4f050c
mov dword [esp + 0x48], 0x4f01fc
mov dword [esp + 0x4c], 0x4f02bc
mov dword [esp + 0x50], 0x4f0508
mov dword [esp + 0x54], 0x4f0504
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x4f0500
mov dword [esp + 0x64], 0x4f04fc
mov dword [esp + 0x68], 0x4f04f8
mov dword [esp + 0x6c], 0x4f04f4
mov dword [esp + 0x70], 0x4f0200
mov dword [esp + 0x74], 0x4f01f0
mov dword [esp + 0x78], 0x4f01d0
mov dword [esp + 0x7c], 0x4f01c0
mov dword [esp + 0x80], 0x4f01b8
mov dword [esp + 0x84], 0x4f01b0
mov dword [esp + 0x88], 0x4f01ac
mov dword [esp + 0x8c], 0x4f01f8
mov dword [esp + 0x90], 0x4f04f0
mov dword [esp + 0x94], 0x4f04ec
mov dword [esp + 0x98], 0x4e2990
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x4e2994
mov dword [esp + 0xc0], 0x4f0288
mov dword [esp + 0xc4], 0x4f026c
mov dword [esp + 0xc8], 0x4efadc
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHGFDBA
mov dword [esp + 0xd0], 0x4f02b0
mov dword [esp + 0xd4], str._:__n__
mov dword [esp + 0xd8], 0x4f01c8
mov dword [esp + 0xdc], 0x4f028c
mov dword [esp + 0xe0], 0x4f0294
cmp cl, 0x39
jae 0x4b1fcc
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xe4
ret

Function at 0x4b3057
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x50f52c]
jne 0x4b3061
repz ret
jmp fcn.004b9c6c
Function at 0x4c72b4
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.004b965f
and dword [ebp - 4], 0
cmp dword [0x51198c], 0
mov ebx, eax
jne 0x4c7365
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4c7416
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4c7416
push eax
call fcn.004b95ed
mov dword [esp], 0x4f2a64
push edi
mov dword [0x51198c], eax
call esi
push eax
call fcn.004b95ed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x511990], eax
call esi
push eax
call fcn.004b95ed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x511994], eax
call esi
push eax
call fcn.004b95ed
pop ecx
mov dword [0x51199c], eax
test eax, eax
je 0x4c7365
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b95ed
pop ecx
mov dword [0x511998], eax
mov eax, dword [0x511998]
cmp eax, ebx
je 0x4c73bd
cmp dword [0x51199c], ebx
je 0x4c73bd
push eax
call fcn.004b9668
push dword [0x51199c]
mov esi, eax
call fcn.004b9668
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4c73bd
test edi, edi
je 0x4c73bd
call esi
test eax, eax
je 0x4c73b4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4c73b4
test byte [ebp - 0xc], 1
jne 0x4c73bd
or dword [ebp + 0x10], 0x200000
jmp 0x4c73f6
mov eax, dword [0x511990]
cmp eax, ebx
je 0x4c73f6
push eax
call fcn.004b9668
pop ecx
test eax, eax
je 0x4c73f6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4c73f6
mov eax, dword [0x511994]
cmp eax, ebx
je 0x4c73f6
push eax
call fcn.004b9668
pop ecx
test eax, eax
je 0x4c73f6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51198c]
call fcn.004b9668
pop ecx
test eax, eax
je 0x4c7416
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4c7418
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4cbe40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x4cbe80
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov cl, byte [esi]
test cl, cl
je 0x4cbee4
lea ecx, [ecx]
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr eax, 8
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [edi + eax*4]
inc esi
mov dword [edx + 8], ecx
mov cl, byte [esi]
test cl, cl
jne 0x4cbea0
pop esi
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x46a04ff3
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x18be531e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a51737e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7e8603e1
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48c004]
jne 0x401010
repz ret
jmp fcn.00401617
Function at 0x40794e
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.00402b18
and dword [ebp - 4], 0
cmp dword [0x490798], 0
mov ebx, eax
jne 0x4079ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407ab0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407ab0
push eax
call fcn.00402aa6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x490798], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49079c], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4907a0], eax
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x4907a8], eax
test eax, eax
je 0x4079ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x4907a4], eax
mov eax, dword [0x4907a4]
cmp eax, ebx
je 0x407a57
cmp dword [0x4907a8], ebx
je 0x407a57
push eax
call fcn.00402b21
push dword [0x4907a8]
mov esi, eax
call fcn.00402b21
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407a57
test edi, edi
je 0x407a57
call esi
test eax, eax
je 0x407a4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407a4e
test byte [ebp - 0xc], 1
jne 0x407a57
or dword [ebp + 0x10], 0x200000
jmp 0x407a90
mov eax, dword [0x49079c]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a90
mov eax, dword [0x4907a0]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x490798]
call fcn.00402b21
pop ecx
test eax, eax
je 0x407ab0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407ab2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x484bd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x182
jne 0x484bfb
push 0
push 0
push 0
push str.sukeje
push str.nakefajijihi
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x484c13
cmp ebp, 0x19f
jne 0x484c13
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x484c66
push esi
lea ebx, [ebx]
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00484bc0
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x484c20
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x484c81
mov dword [0x2b8e9c0], 0xa62e7790
mov dword [0x2b8e9c4], 0xffffffff
add esp, 8
ret
Function at 0x40f250
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0x3c
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44f19c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f2fe
sar edx, 1
lea edi, [esi + 0x24]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x449ae0]
xor eax, eax
jmp 0x40f80b
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret