joyce8/EMBER2024-capa huggingface dataset:
Function at 0x615731
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x615769
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00618cb7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00618c8f
jmp 0x615775
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x615779
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x732788
mov ecx, edi
call fcn.00618999
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x6157cc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x6157df
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00618cb7
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00618c8f
jmp 0x6157df
mov ecx, esi
call fcn.00617c73
test eax, eax
je 0x6157df
push edi
mov ecx, eax
call fcn.00615731
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x617401
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x617443
call fcn.00632d98
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x617443
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x61743a
xor eax, eax
jmp 0x61744b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00617451
pop edi
pop esi
pop ebx
ret 4

Function at 0x61a893
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00632d98
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x61a8c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0061a8d7
pop edi
pop esi
pop ebx
ret 8

Function at 0x62094c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x64c368
call fcn.004674e4
push ecx
push ecx
push esi
push 0x10
call fcn.006147b3
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x620999
mov ecx, esi
call fcn.00619a40
mov eax, dword [0x6d6700]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.00618999
jmp 0x62099b
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x6b8900
push eax
mov dword [ebp - 0x10], esi
call fcn.00467568
pop esi
Function at 0x6311fe
Capabilities:
Create http request

Disassembly:
mov eax, 0x64a67c
call fcn.004674e4
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x631236
call fcn.00632d98
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x63125b
push eax
push dword [esi + 4]
call fcn.00632469
jmp 0x631267
push esi
push eax
mov ecx, 0x732790
call fcn.00631278
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x6315bc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x64a703
call fcn.004674e4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0061bc95
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x6d6700]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00618999
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00618999
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x631658
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x64a72b
call fcn.004674e4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0061bc95
mov eax, dword [0x6d6700]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x732790
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00631278
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00618999
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0045b787
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00618949
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00618810
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x633afc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00632d98
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x633b39
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x633b39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x633b3d
xor eax, eax
jmp 0x633bbb
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.006147b3
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x633b75
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x633b5f
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00633cac
push ebx
mov edi, eax
call fcn.006147dc
test edi, edi
pop ecx
je 0x633bb7
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00633a75
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00633bc0
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x40ed79
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop ecx
sub edx, edx
call fcn.0040ed9c
xor dword [edi], ecx
add edx, 0x336955a9
inc edi
sub edx, 0xaf4421b8
mov edx, edx
cmp edi, esi
jne fcn.0040ed79
ret
Function at 0x43a6d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43a6ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a6f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a6e0
mov eax, 1
add ebx, ebx
jne 0x43a703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a6f8
jne 0x43a714
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a6f8
xor ecx, ecx
sub eax, 3
jb 0x43a728
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a79a
mov ebp, eax
add ebx, ebx
jne 0x43a733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a764
inc ecx
add ebx, ebx
jne 0x43a750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a745
jne 0x43a761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a745
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a784
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a775
jmp 0x43a6e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a784
add edi, ecx
jmp 0x43a6e6
pop esi
mov edi, esi
mov ecx, 0x6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a7a2
cmp byte [edi], 0x11
jne 0x43a7a2
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 0x43a7a7
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a81f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x514f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x515b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a7d4
mov ecx, edi
jns 0x43a803
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x515bc]
or eax, eax
je 0x43a819
mov dword [ebx], eax
add ebx, 4
jmp 0x43a7f1
call dword [esi + 0x515cc]
mov ebp, dword [esi + 0x515c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x43a853
sub esp, 0xffffff80
jmp 0x40a7b1
Function at 0x404a10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x43fb24]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp byte [ebp - 0x194], 2
je 0x404a51
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fef9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0041fef9
mov esp, ebp
pop ebp
ret

Function at 0x404b10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
neg eax
push 4
sbb eax, eax
lea edx, [ebp + 8]
push edx
add eax, 0x1006
push eax
mov eax, dword [ecx + 0x90c]
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x404b56
push 0
push 0x4328f0
push str.setsockopt__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
ret 8
mov eax, 1
pop ebp
ret 8

Function at 0x404cd0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43fb24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esi + 0x804], ebx
test edi, edi
je 0x404d64
cmp dword [esi + 0x908], 0
je 0x404d03
call fcn.00404ac0
mov eax, 2
push edi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esi + 0x910], eax
test eax, eax
je 0x404d64
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00420960
add esp, 0xc
push ebx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x14]
mov word [ebp - 0x12], ax
mov eax, dword [esi + 0x90c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404d79
mov ecx, dword [esi + 0x90c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fef9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
mov dword [esi + 0x908], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fef9
mov esp, ebp
pop ebp
ret 8

Function at 0x405b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405b5b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405b92
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x405b8e
jmp 0x405b80
cmp esi, eax
jae 0x405b92
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405b80
cmp esi, eax
jb 0x405b99
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43042b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43fb24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.QvodPlayer.exe
call fcn.0041f100
push eax
call fcn.0041f240
push str.QvodTerminal.exe
call fcn.0041f100
push eax
call fcn.0041f240
push str.Tvod.exe
call fcn.0041f100
push eax
call fcn.0041f240
mov eax, dword [esi + 0x2bc]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x18
push 0
push eax
call edi
mov ecx, dword [esi + 0x23c]
push 0
push ecx
call edi
mov edx, dword [esi + 0x2e0]
push 5
push edx
call edi
push 0x50
call fcn.00420e47
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4060f2
mov ecx, eax
call fcn.00402c70
jmp 0x4060f4
xor eax, eax
push esi
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x3a8], eax
call fcn.0041efb0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
cwde
push eax
lea edx, [esi + 0x2a0]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x406a70
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4415d4]
push 0xc9
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 4]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x2a0]
push 0xcc0020
push 0
push 0
push edi
push 0x12
push 0x14
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x2a4]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4415d4]
push 0
push 0x32
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 8]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0xcd
push eax
push 0x432b28
push 0x432b08
lea ecx, [esi + 0x24]
call fcn.00406230
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x406a24
push ecx
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 4]
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x406a47
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebx, ebx
je 0x406a52
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0x10]
pop edi
pop ebx
test eax, eax
je 0x406a62
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
test eax, eax
je 0x406a70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
test edi, edi
jns 0x407872
push 0x80070057
call fcn.00401010
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, edi
or ecx, edx
jge 0x407890
push edi
mov ecx, esi
call fcn.00402b60
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4078b7
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4078bb
push ecx
push eax
call fcn.00420cc1
add esp, 8
test eax, eax
js 0x407868
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x407868
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x407a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4413f0
call fcn.00407460
cmp byte [esi + 0x224], 0
mov edi, eax
je 0x407ab7
lea eax, [esi + 0x2c]
push eax
push 2
mov dword [esi + 0x38], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test esi, esi
je 0x407ac6
lea ecx, [esi + 0x22c]
mov dword [ebp - 4], ecx
jmp 0x407acd
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
lea ecx, [edi + 4]
call fcn.00406bf0
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x407ae8
call fcn.0041f000
mov eax, dword [esi + 0x3c0]
sub eax, dword [esi + 0x3bc]
xor edi, edi
test eax, 0xfffffff8
jle 0x407b37
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esi + 0x3bc]
mov edx, dword [ecx + edi*8 + 4]
push 1
lea eax, [ecx + edi*8]
mov eax, dword [eax]
push 0
push edx
push eax
push str.open
push 0
call ebx
mov ecx, dword [esi + 0x3c0]
sub ecx, dword [esi + 0x3bc]
inc edi
sar ecx, 3
cmp edi, ecx
jl 0x407b04
pop ebx
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp + 0x14]
pop edi
mov dword [edx], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40dda0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430a18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x43fb24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2bc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
mov eax, esp
push 0
push 0x40000000
mov dword [eax], 0
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x18], 0x1c6
mov dword [ebp - 0x14], 0x128
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
lea ecx, [esi + 0x238]
call fcn.0040da60
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0x432b34
lea ecx, [esi + 0x23c]
mov dword [ebp - 4], 0
call fcn.00406660
test eax, eax
js 0x40de59
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
add esi, 0x2b0
push esi
push eax
call edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40de6f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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.0041fef9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411d10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431048
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43fb24]
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
push 0
push ecx
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [0x440f38], eax
mov eax, esp
mov dword [ebp - 0x24], esp
push 0
push 0x40000000
mov dword [eax], 0
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x7d
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x18], 0x145
mov dword [ebp - 0x14], 0xc8
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], esp
push edx
lea ecx, [esi + 0x2b8]
call fcn.0040dae0
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push 0
push 0x40000000
mov dword [eax], 0
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x18], 0x1c6
mov dword [ebp - 0x14], 0x128
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], esp
push edx
lea ecx, [esi + 0x2dc]
call fcn.0040db60
lea eax, [ebp - 0x2c]
push eax
push 0
push esi
push 0x410bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x230], eax
push 0xf
push 0xf
push 0x13b
push 0x1cc
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov ecx, dword [esi + 4]
mov edi, eax
push 1
push edi
push ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov dword [ebp - 0x28], eax
call ebx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4413f0
call fcn.00407460
mov edx, dword [ebp - 0x28]
push 3
push 0x12c
push 0x1cc
add ebx, 0xfffffeb6
push ebx
add edx, 0xfffffe34
push edx
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
add esi, 0x22c
add ecx, 4
mov dword [ebp - 0x28], esi
call fcn.00406b60
test edi, edi
je 0x411e9f
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
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.0041fef9
mov esp, ebp
pop ebp
ret 0x10