joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53f3b8
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x53f47a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x53f494
mov edx, dword [ebx + 0x4a4]
call fcn.00406a64
mov eax, dword [ebp - 4]
call fcn.0045d720
test al, al
jne 0x53f431
push 0x53f4c4
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004034ac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0045db2c
push dword [ebp - 0xc]
push 0x53f494
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406b34
mov eax, dword [ebp - 8]
call fcn.0040671c
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
jmp 0x53f45f
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, 0x53f494
mov edx, dword [ebx + 0x4a4]
call fcn.00406a64
mov eax, dword [ebp - 0x14]
call fcn.0040671c
push eax
push 0x53f504
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f481
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406688
ret

Function at 0x53f510
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x53f5d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x53f5ec
mov edx, dword [ebx + 0x4a0]
call fcn.00406a64
mov eax, dword [ebp - 4]
call fcn.0045d720
test al, al
jne 0x53f576
push 0x53f610
push dword [ebx + 0x4a0]
push 0x53f5ec
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406b34
mov eax, dword [ebp - 8]
call fcn.0040671c
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
jmp 0x53f5b9
mov eax, ebx
call fcn.0053ff88
test al, al
jne 0x53f5b9
push 0
push 0
mov eax, dword [ebx + 0x460]
call fcn.0040671c
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x53f5ec
mov edx, dword [ebx + 0x4a0]
call fcn.00406a64
mov eax, dword [ebp - 0xc]
call fcn.0040671c
push eax
push 0x53f644
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f5db
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406688
ret

Function at 0x53f9c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esi]
cmp eax, 0x7530
jb 0x53f9e1
mov bl, 1
call sub.KERNEL32.DLL_GetTickCount
mov dword [esi], eax
jmp 0x53f9e3
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x53ff24
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
mov eax, edi
call fcn.0040671c
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
jne 0x53ff7c
push esi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 1
je 0x53ff7c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [0x550c40]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x53ff78
cmp eax, dword [ebp + 8]
jae 0x53ff7c
jmp 0x53ff7a
jge 0x53ff7c
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77361848
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
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
nop
pop eax
nop
nop
nop
mov esi, 0xa6d7f49
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40760f
pop dword [ebp - 0x34]
mov eax, 0x864965af
sub eax, 0x8608efa0
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1687126f
add dword [ebp - 0x44], 0x37cb32dc
mov dword [ebp - 0x40], 0xb4af1552
add dword [ebp - 0x40], 0x7d8436f3
mov dword [ebp - 0x3c], 0x79d7ffc5
sub dword [ebp - 0x3c], 0x2d8bbb97
mov dword [ebp - 0x38], 0xe0390a31
add dword [ebp - 0x38], 0x1fc6f5cf
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7dc07be2
add eax, 0x8280d48e
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xe8dd57b6
add dword [ebp - 0x44], 0x8b9511a0
mov dword [ebp - 0x40], 0x41aa209d
add dword [ebp - 0x40], 0xffc240d8
mov dword [ebp - 0x3c], 0x55ea3e79
add dword [ebp - 0x3c], 0xd852df3
mov dword [ebp - 0x38], 0xfef39503
add dword [ebp - 0x38], 0x10c6afd
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x305d4b49
add eax, 0xcfe4052f
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3c937
push 0
call eax
mov ecx, 0x4d49
mov edi, eax
mov edx, 0x1c71985d
sub edx, 0x1c2f345d
add edx, dword [ebp - 0x34]
mov esi, 0xda3ae384
add esi, 0xb2237f2d
mov dword [ebp - 0x24], 0x23037cef
mov ebx, dword [edx]
add dword [ebp - 0x2c], ecx
xor ebx, esi
mov dword [edi], ebx
add edi, 0x430d0116
add edi, 0xbcf2feee
add edx, 4
loop 0x40772b
add eax, 0xc9a9a782
add eax, 0x36578075
xor ebx, ebx
add ebx, eax
add eax, 0x3ab661fa
sub eax, 0x3ab661f5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x41f4a3
Capabilities:
Parse pe header

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

Function at 0x4316c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4316ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4316ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x4047e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4047f4
pop dword [ebp - 0x24]
mov eax, 0x4047f4
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x36744
push 0
mov eax, 0x9fce7698
sub eax, 0x9f8d95c0
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x3cea
mov edx, eax
mov esi, 0xe7db5dde
sub esi, 0xe79a221a
add esi, dword [ebp - 0x24]
mov ebx, 0x6c98ce90
add ebx, 0xbe45240e
add dword [ebp - 0x20], 0x8f09506c
mov edi, dword [esi]
sub dword [ebp - 4], 0xf5ebde98
xor edi, ebx
mov dword [edx], edi
xor dword [ebp - 0x18], 0x4af976c9
add edx, 0xc55b9316
add edx, 0x3aa46cee
add esi, 4
loop 0x404848
add eax, 0x7819daa1
sub eax, 0x7818f426
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x409588
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x409597
pop dword [ebp - 0x24]
mov eax, 0x409597
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x4207a
push 0
mov eax, 0x20b116ef
sub eax, 0x206e53f3
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x5d12a577
add ecx, 0xa2ed9f68
xor edi, edi
add edi, eax
mov esi, 0x448800
add esi, dword [ebp - 0x24]
mov ebx, 0xb7499b3d
xor dword [ebp - 0x10], ebx
mov edx, dword [esi]
xor dword [ebp - 0x1c], ecx
sub edx, ebx
add dword [ebp - 4], esi
mov dword [edi], edx
sub dword [ebp - 0x18], 0x21549b80
add edi, 4
add esi, 0xd22b7ff6
add esi, 0x2dd4800e
loop 0x4095e7
add eax, 0x1064f
mov ebx, eax
add eax, 0x4978ed13
add eax, 0xb68712f2
mov ecx, 0x8aadf79d
sub ecx, 0x8a6df79d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x40f22e
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2cb
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2cb
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2cb
push 4
push 0xffffffffffffffff
push esi
push 0x40f9e5
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2cb
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f296
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2cb
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2d1
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2cd

Function at 0x413ca1
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413cb1
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x413cb7
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x413cdf
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x413cc6
mov esi, ecx
jmp 0x413ce2
movzx esi, si
pop edi
cmp cx, si
je 0x413cff
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x413ce3
mov eax, 0x437338
jmp 0x413d07
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401443
pop dword [ebp - 0x44]
mov eax, 0x401443
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xaebb4ca7
sub dword [ebp - 0x54], 0x6069075c
mov dword [ebp - 0x50], 0x4c3630b6
add dword [ebp - 0x50], 0xe5fd1b8f
mov dword [ebp - 0x4c], 0x989a98e5
add dword [ebp - 0x4c], 0xb3b1ab49
mov dword [ebp - 0x48], 0xe7b0fa67
sub dword [ebp - 0x48], 0xe7b0fa67
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x3f9f04fd
add dword [ebp - 0x54], 0x34d36459
mov dword [ebp - 0x50], 0xf30d20dd
sub dword [ebp - 0x50], 0xb1a0bf68
mov dword [ebp - 0x4c], 0x99eb8b
sub dword [ebp - 0x4c], 0x9d2a7f1f
mov dword [ebp - 0x48], 0x8f55a2e5
sub dword [ebp - 0x48], 0x8f55a2e5
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x6da05100
add eax, 0x92a02f7c
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3af25
push 0
call eax
mov ecx, 0xac66c279
add ecx, 0x53998fcf
xor edi, edi
add edi, eax
mov edx, 0x762723c
sub edx, 0x71ce03c
add edx, dword [ebp - 0x44]
mov esi, 0x5e32329e
sub esi, 0x97cd44ab
mov ebx, dword [edx]
xor dword [ebp - 0x24], edx
xor ebx, esi
add dword [ebp - 0x2c], 0x50772496
mov dword [edi], ebx
xor dword [ebp - 0x30], esi
add edi, 0xfadc388b
sub edi, 0xfadc3887
add edx, 4
loop 0x40155d
add eax, 0x419ea5cf
sub eax, 0x419d69dc
xor ebx, ebx
add ebx, eax
add eax, 0xdf573ea1
sub eax, 0xdf573e9c
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4036c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3908
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, edx
mov esi, dword [ebp + 0x10]
movzx eax, cl
mov edx, ecx
or eax, 0xfffffe00
shr edx, 8
movzx edx, dl
shl eax, 8
or eax, edx
shr ecx, 0x10
movzx ecx, cl
shl eax, 8
lea edx, [esp + 0x10]
or eax, ecx
push edx
push eax
mov dword [esp + 0x20], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
sub edx, eax
mov eax, dword [esi + 0xc]
fstp dword [esp + 0x24]
sub eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x28]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x2c]
fild dword [esp + 0x14]
fstp dword [esp + 0x30]
test edi, edi
jne 0x40378b
call fcn.0040a730
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4037a1
push 0x8024
call fcn.0040a730
call fcn.0040ac90
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
test eax, eax
je 0x4037ae
mov eax, dword [eax]
jmp 0x4037b0
xor eax, eax
test edi, edi
je 0x4037b8
mov edi, dword [edi]
jmp 0x4037ba
xor edi, edi
mov ecx, dword [esi]
push ebx
push eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
push edi
push 0xffffffffffffffff
push eax
push ecx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x4037d7
mov dword [esi + 4], eax
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405c70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f11a6
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2a0]
push 0x4fea44
xor edi, edi
push eax
xor ebx, ebx
mov dword [esp + 0x20], edi
call fcn.004c97af
mov esi, eax
add esp, 8
test esi, esi
je 0x405d41
push esi
push 0x14
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.004c9ab9
add esp, 0x10
cmp dword [esp + 0x24], 0x123
jne 0x405d32
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c9b25
mov edx, dword [esp + 0x38]
add esp, 4
push edx
mov ebx, eax
call fcn.004c9b25
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x2c]
push esi
push eax
push 1
push ebx
mov dword [esp + 0x28], edi
call fcn.004c9ab9
mov ecx, dword [esp + 0x44]
push esi
push ecx
push 1
push edi
call fcn.004c9ab9
add esp, 0x20
push esi
call fcn.004c9c66
xor eax, eax
add esp, 4
cmp edi, eax
jne 0x405d48
xor al, al
jmp 0x405e90
xor edx, edx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], dx
mov dword [esp + 0x298], eax
cmp dword [esp + 0x28], eax
mov dword [ebp], ebx
mov dword [esp + 0x1c], eax
jle 0x405e6e
add ebp, 8
mov dword [esp + 0x20], ebp
lea ecx, [ecx]
mov ebp, dword [edi + 4]
add edi, 4
mov ebx, dword [edi + 4]
add edi, 4
mov esi, dword [edi + 4]
push 0x208
add edi, 4
lea eax, [esp + 0x88]
push 0
push eax
add edi, 4
call fcn.004d1df0
add esp, 0xc
push esi
lea ecx, [esp + 0x88]
push edi
push ecx
call fcn.004d0a80
lea eax, [esp + 0x90]
add esp, 0xc
add edi, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405dd0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
lea esi, [esp + 0x70]
call fcn.00401760
xor eax, eax
push 0xffffffffffffffff
push eax
mov ecx, esi
mov word [esp + 0x44], ax
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
call fcn.00401850
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x2a4], 1
call fcn.004081e0
mov byte [esp + 0x298], 0
cmp dword [esp + 0x50], 8
jb 0x405e57
mov edx, dword [esp + 0x3c]
push edx
call fcn.004c8f17
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x405d80
mov edi, dword [esp + 0x18]
push edi
call fcn.004c9ce2
add esp, 4
cmp dword [esp + 0x80], 8
jb 0x405e8e
mov eax, dword [esp + 0x6c]
push eax
call fcn.004c8f17
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004c8f08
add esp, 0x288
ret 8
Function at 0x405f10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4edca8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x1c], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x405f57
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x20]
call fcn.00401760
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
add esi, 8
push edx
mov dword [esp + 0x48], edi
call fcn.00408360
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x405fa6
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c8f17
add esp, 4
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
mov word [esp + 0x1c], cx
test edi, edi
je 0x405fc6
cmp edi, esi
je 0x405fcb
call fcn.004c96d9
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x40602d
test edi, edi
jne 0x406025
call fcn.004c96d9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x405fe8
call fcn.004c96d9
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x28]
mov ecx, dword [eax]
lea ebx, [edx + ecx - 0x14]
test edi, edi
jne 0x406029
call fcn.004c96d9
cmp esi, dword [edi + 0x18]
jne 0x406007
call fcn.004c96d9
mov eax, dword [esi + 0x2c]
push ebx
call fcn.00405ba0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
jmp 0x405fde
mov edi, dword [edi]
jmp 0x405ffd
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406050
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4edc48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x20], ax
mov eax, 0x50fb9c
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406095
sub eax, edx
sar eax, 1
push eax
push 0x50fb9c
lea esi, [esp + 0x24]
call fcn.00401760
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
add esi, 8
push edx
mov dword [esp + 0x4c], 0
call fcn.00408360
cmp dword [esp + 0x34], 8
jb 0x4060e5
mov eax, dword [esp + 0x20]
push eax
call fcn.004c8f17
add esp, 4
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x4060f6
cmp edi, esi
je 0x4060fb
call fcn.004c96d9
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x406166
test edi, edi
jne 0x40615e
call fcn.004c96d9
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x406118
call fcn.004c96d9
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x28]
mov eax, dword [edx]
lea ebx, [ecx + eax - 0x14]
test edi, edi
jne 0x406162
call fcn.004c96d9
cmp esi, dword [edi + 0x18]
jne 0x406138
call fcn.004c96d9
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ecx], ebx
mov dword [edx], esi
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 0xc
mov eax, dword [edi]
jmp 0x40610e
mov edi, dword [edi]
jmp 0x40612e
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 0xc
Function at 0x409b60
Capabilities:
Find taskbar

Disassembly:
cmp byte [ecx + 0x54c], 0
je 0x409c16
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.IPTip_Main_Window
call esi
cmp byte [esp + 8], 0
je 0x409bfe
test eax, eax
je 0x409b9f
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x409b9f
test eax, 0x8000000
je 0x409c15
push 0
push str.Shell_TrayWnd
call esi
test eax, eax
je 0x409c15
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.ReBarWindow32
push 0
push eax
call esi
test eax, eax
je 0x409c15
push 0
push str.TIPBand
push 0
push eax
call esi
mov esi, eax
test esi, esi
je 0x409c15
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0x10001
push 1
push 0x201
push esi
call edi
push 0x10001
push 0
push 0x202
push esi
call edi
pop edi
pop esi
ret 4
test eax, eax
je 0x409c15
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4

Function at 0x40a2e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4f10db
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
mov esi, ecx
push 0x54c
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x40a330
push eax
call fcn.00411830
mov edi, eax
jmp 0x40a332
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov eax, ebx
mov dword [edi + 0x28], esi
mov dword [esi + 4], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a345
sub eax, edx
sar eax, 1
push eax
push ebx
add esi, 0x1c
call fcn.00401760
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0x90c00000
push ebx
push 0
push 0x80000
call fcn.00411bf0
mov edx, dword [edi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18