joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4762c0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x4762d3
jmp dword [eax*4 + 0x476490]
mov eax, esi
call fcn.00401160
cmp dword [0x4c50d4], 0
jne 0x47639f
cmp dword [esi + 0xc], 0
jne 0x47639f
mov edi, dword [esp + 0x14]
cmp dword [0x4c85a8], esi
jne 0x476308
test edi, edi
jne 0x476365
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x476361
mov dword [0x4c85a8], 0
test edi, edi
je 0x476359
mov eax, dword [0x4c50b4]
test eax, eax
je 0x47634a
mov edx, dword [esi + 0x18]
push edx
push str.An_environment_variable_is_being_accessed__see_NoEnv.
push eax
push 0x4c70d0
xor ecx, ecx
call fcn.004301e0
mov ecx, dword [esi + 0x18]
call fcn.00474720
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x476390
cmp byte [esi + 0x17], 0
jne 0x476370
mov eax, dword [esi + 0xc]
jmp 0x476372
mov eax, esi
test byte [eax + 0x15], 4
je 0x47637f
mov eax, esi
call fcn.00430310
xor eax, eax
mov word [edi], ax
mov dword [0x4c85a8], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4c85a8], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 1
test edi, edi
je 0x476420
test eax, eax
jne 0x4763d7
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x4763c9
mov eax, esi
call fcn.00430310
xor ecx, ecx
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x476420
cmp eax, 0x186a0
jae 0x47640f
movzx eax, word [ecx]
test ax, ax
je 0x476401
lea ecx, [ecx]
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x4763f0
xor edx, edx
mov word [edi], dx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push ecx
push edi
call fcn.00494890
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004762c0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00403b10
cmp eax, 0xffffffff
jne 0x47644f
xor eax, eax
test esi, esi
je 0x476487
xor edx, edx
mov word [esi + eax*2], dx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47646d
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
call ecx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x476ce0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x476cef
pop edi
add esp, 0x10
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push esi
push 0
push edi
call ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, dword [0x4c708c]
je 0x476d1a
mov esi, edi
call fcn.00477dc0
test al, al
jne 0x476eb2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x476d34
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp edi, esi
jne 0x476d42
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x10
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x476d56
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4c5092], 0
jne 0x476d70
push esi
call fcn.00476c80
add esp, 4
test eax, eax
jne 0x476eb4
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x476dcd
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x476dcd
cmp dword [0x4c708c], ebx
je 0x476db4
call fcn.00477dc0
test al, al
jne 0x476db4
mov eax, dword [0x4c708c]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x476dcd
cmp ebx, ebp
je 0x476dcd
push 1
push ebp
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
jmp 0x476de0
push edi
call ebx
push 1
push 0xa
mov dword [0x4c13d4], 0
call fcn.00401290
add esp, 8
mov dword [0x4c13d4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x476e13
mov ebp, edi
jmp 0x476e24
cmp ebp, esi
je 0x476e28
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x476e28
test ebp, ebp
jne 0x476e69
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x476de0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040ee00
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040ee00
push esi
call fcn.00476c80
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x476e84
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4c708c]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x476e9d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x476eb2
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
Function at 0x476fb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x476fc0
mov eax, esi
call fcn.00455070
jmp 0x476fcd
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 4]
test eax, eax
js 0x477028
je 0x477028
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401290
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x477025
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x477025
push 1
push 0x8000012f
call fcn.00401290
add esp, 8
push esi
call ebx
test eax, eax
jne 0x477004
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x477210
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00497d00
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x47723c
cmp ecx, 0x61
jne 0x477291
cmp word [edx + 2], bx
jne 0x477291
cmp word [edi], bx
jne 0x477291
cmp word [eax], bx
jne 0x477291
cmp word [esi], bx
jne 0x477291
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x477272
cmp byte [ebp + 0xe6], bl
jne 0x477272
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477272
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x477285
cmp esi, ebx
je 0x477285
mov dword [ebp + 0xc0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x4772b6
cmp word [edi], bx
jne 0x4772b6
cmp word [eax], bx
jne 0x4772b6
cmp word [esi], bx
jne 0x4772b6
mov eax, ebp
call fcn.00477410
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4a9e04
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00477f00
test eax, eax
je 0x4773c7
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x4773d3
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x47739f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4773c7
cmp byte [ebp + 0xe6], bl
jne 0x477398
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477398
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4773c7
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x4773b8
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00478360
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00478420
test eax, eax
jne 0x4773e3
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x477480
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x4773fd
cmp eax, ebx
je 0x4773fd
mov dword [ebp + 0xc0], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x478360
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x47841e
mov eax, dword [esi]
test eax, eax
je 0x47841e
push edi
test al, 1
jne 0x47838a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4783a6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4783a6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x4783c1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x4783ff
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x4783ff
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.00450ab0
add esp, 4
test eax, eax
jne 0x4783ff
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x47841e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x478ba0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.00497d00
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x478c4d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x4792d0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a9e04
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x478c4d
mov ecx, dword [0x4c140c]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x478c4d
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x478c60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x478c7c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4c140c]
push eax
push esi
mov ecx, edi
call fcn.00479110
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x478cb3
test eax, eax
jne 0x478cb7
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00478d70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x478d36
test esi, esi
je 0x478d36
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401290
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x478d15
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x478d15
push 1
push 0x8000012f
call fcn.00401290
add esp, 8
push esi
call edi
test eax, eax
jne 0x478cf0
mov edx, dword [0x4c140c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x478d2e
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x478d50
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00478d70
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00478ee0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x478ee0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.00497d00
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x479060
xor cl, cl
mov eax, edi
call fcn.00479080
test eax, eax
jne 0x478f15
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c140c]
push eax
push ebp
mov ecx, edi
call fcn.00479110
test eax, eax
je 0x478f38
xor eax, eax
mov dword [0x4c7084], eax
jmp 0x478f3d
mov eax, dword [0x4c7084]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a9e04
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x478f83
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x478f8b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4c7080]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x4791e0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x479038
lea ecx, [esp + 0x10]
push ecx
push 0x477d10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x478ff5
mov edx, dword [esp + 0x1848]
call fcn.00478830
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00476ce0
mov edx, dword [esp + 0x1848]
call fcn.00478830
mov edx, dword [0x4c140c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x479060
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4c7084]
cmp eax, ebx
je 0x479060
cmp eax, 1
setg al
mov dword [0x4c7084], ebx
cmp al, bl
je 0x479060
mov edx, ebp
call fcn.00478830
push ebx
mov ecx, edi
call fcn.00478ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x492ba6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c0d70]
jne 0x492bb0
repz ret
jmp fcn.0049772f

Function at 0x495ac0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c0d70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048ffa2
and dword [ebp - 0x14], 0
cmp dword [0x4c36dc], 0
mov dword [ebp - 0x18], eax
jne 0x495b73
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x495c1b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49efc0
push ebx
call edi
test eax, eax
je 0x495c1b
mov esi, dword [fcn.0048c230]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c36dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c36e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c36e4], eax
call edi
push eax
call esi
mov dword [0x4c36ec], eax
test eax, eax
je 0x495b73
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c36e8], eax
mov eax, dword [0x4c36e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048c234]
cmp eax, ecx
je 0x495bcc
cmp dword [0x4c36ec], ecx
je 0x495bcc
push eax
call esi
push dword [0x4c36ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x495bcc
test ebx, ebx
je 0x495bcc
call edi
test eax, eax
je 0x495bc3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x495bc3
test byte [ebp - 8], 1
jne 0x495bcc
or dword [ebp + 0x10], 0x200000
jmp 0x495bff
mov eax, dword [0x4c36e0]
cmp eax, dword [ebp - 0x18]
je 0x495bff
push eax
call esi
test eax, eax
je 0x495bff
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x495bff
mov eax, dword [0x4c36e4]
cmp eax, dword [ebp - 0x18]
je 0x495bff
push eax
call esi
test eax, eax
je 0x495bff
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c36dc]
call esi
test eax, eax
je 0x495c1b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x495c1d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492ba6
leave
ret
Function at 0x401900
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40193f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40193f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40193f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40193f
cmp dword [ecx + 0x74], 0xe
jbe 0x40193f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40b230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b25d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b25d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28377fef
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x79e85ab5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x7729520a
Capabilities:
Encode data using xor

Disassembly:
call 0x77295183
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x772951b3
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x772951cf
xor edx, 0
jmp 0x772951da
xor edx, edx
jmp 0x772951f1
jmp 0x772951fd
xor eax, eax
push 0x8427d7c0
call 0x7729520a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x77295246
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7729521f
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7729525d
add eax, 0
jno 0x77295262
add esi, 0
ret 0x10

Function at 0x77295fcb
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x77295fed
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7729618f
cmp edi, dword [ebp + 0x10]
jb 0x7729618f
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77295ab7
inc edi
jmp 0x77296076
jmp 0x77296083
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77295ab7
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77295ab7
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x772960d7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x772960bb
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.77296105
add dword [eax], 0x39
jle 0x772960e1
sub al, 0xf5
mov ch, al
call fcn.7729611a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10