joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x48d1ab
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x48d1cf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x48d1ea
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x492170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x492192
cmp dword [edi + 0x3c], 0
jne 0x492192
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004a9596
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004921bf
pop edi
pop esi
pop ebx
ret 8

Function at 0x49220d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004a9596
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 0x49223e
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.00492251
pop edi
pop esi
pop ebx
ret 8

Function at 0x49386c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4938a4
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.00491e73
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00491e4b
jmp 0x4938b0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49546f
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 0x4954b1
call fcn.004a9596
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4954b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4954a8
xor eax, eax
jmp 0x4954b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004954bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a797d
Capabilities:
Create http request

Disassembly:
mov eax, 0x4b8268
call fcn.0047a548
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 0x4a79b5
call fcn.004a9596
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 0x4a79da
push eax
push dword [esi + 4]
call fcn.004a872a
jmp 0x4a79e6
push esi
push eax
mov ecx, 0x4ef5b0
call fcn.004a79f7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4a7b57
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4b82a3
call fcn.0047a548
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004989de
mov eax, dword [0x4e641c]
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, 0x4ef5b0
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004a79f7
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00491b55
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004766b2
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00491b05
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004919cc
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 0x4a910f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a913d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a915b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a9075
jmp 0x4a915b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a915b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a9075
test edi, edi
mov eax, edi
jne 0x4a9145
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4aa24d
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.004a9596
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4aa28a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4aa28a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4aa28e
xor eax, eax
jmp 0x4aa30c
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0049170d
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4aa2c6
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 0x4aa2b0
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004aa3fd
push ebx
mov edi, eax
call fcn.00491736
test edi, edi
pop ecx
je 0x4aa308
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.004aa1c6
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004aa311
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x406c40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
test eax, eax
je 0x406c6c
mov esi, dword [esp + 8]
push 5
mov eax, dword [esi - 0x5c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi - 0x60]
call fcn.00406250
mov eax, 1
pop esi
ret 8
mov esi, dword [esp + 8]
push 0
mov ecx, dword [esi - 0x5c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x620]
test eax, eax
je 0x406c90
push 1
lea ecx, [esi - 0x60]
call fcn.00406250
mov eax, 1
pop esi
ret 8

Function at 0x409040
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44c8c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x20]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004081b0
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x409089
lea ecx, [eax - 0x5c]
jmp 0x40908b
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x64]
mov byte [esp + 0x18], 2
call fcn.004227e0
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 3
call fcn.004227e0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x18], 4
call fcn.004227e0
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call fcn.004227e0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi], 0x44f6b8
mov eax, esi
pop edi
mov dword [ebx], 0x44f6b4
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40bca0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 8]
pop edi
cmp eax, 5
jne 0x40bcde
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x40bce0
xor eax, eax
add esp, 0x114
ret

Function at 0x40cb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44cec9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004081b0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x40cb53
lea ecx, [eax - 0x5c]
jmp 0x40cb55
xor ecx, ecx
push eax
add ecx, 0x44
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 2
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
call fcn.004227e0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x14], 3
call fcn.004227e0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xa8], 1
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xac], edi
mov dword [esi], 0x44f71c
mov dword [esi + 0x3c], 0x44f710
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40de70
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d028
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebp, ebp
cmp eax, ebp
jne 0x40dea4
mov edi, 3
jmp 0x40debc
cmp dword [esi + 0x64], ebp
je 0x40deb0
mov edi, 2
jmp 0x40debc
mov eax, dword [esi + 0x68]
xor ecx, ecx
cmp eax, ebp
setne cl
mov edi, ecx
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x10]
push ebx
push edx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xa8]
push edi
lea edx, [esi + 0x70]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040e080
mov eax, dword [0x457050]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x2c], ebp
mov edi, 0x80
jg 0x40df1b
cmp dword [eax - 4], edi
jge 0x40df81
mov ebp, dword [eax - 8]
cmp ebp, edi
jle 0x40df28
test ebp, ebp
mov edi, ebp
je 0x40df53
lea edx, [edi + edi + 0xe]
push edx
call fcn.00438f1a
add esp, 4
test eax, eax
je 0x40e071
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
add eax, 0xc
lea ecx, [ebp + ebp + 2]
lea edx, [ebx + 0xc]
push ecx
lea ecx, [edi + edi + 2]
push edx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00402e60
mov edx, dword [esp + 0x20]
add esp, 0x10
push ebx
mov dword [edx - 8], ebp
call fcn.00403e70
mov eax, dword [esp + 0x10]
xor ebp, ebp
push 0x80
push eax
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
pop ebx
mov eax, dword [ecx - 0xc]
lea edi, [ecx - 0xc]
cmp eax, 1
jle 0x40dfdc
lea ecx, [esp + 0xc]
call fcn.00403e30
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push edx
call fcn.00403d10
test eax, eax
je 0x40dfdc
mov eax, dword [edi + 4]
add edi, 0xc
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
push edi
mov edx, dword [eax - 4]
lea ecx, [edx + edx + 2]
push ecx
push eax
call fcn.00402e60
add esp, 0x10
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0xc]
mov word [edx + eax*2], bp
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebp
je 0x40e032
mov ecx, dword [esi + 0x24]
push 0xff
push 1
push ebp
push ebp
push 1
lea eax, [esp + 0x24]
push 0x424242
push eax
mov eax, dword [esp + 0x4c]
add esi, 0x20
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
push eax
call fcn.00427970
mov eax, dword [esp + 0x38]
add esp, 0x2c
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
pop edi
pop esi
cmp ecx, edx
pop ebp
je 0x40e060
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40e060
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
xor eax, eax
jmp 0x40df7f
Function at 0x40e4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44d077
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004081b0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x40e523
lea ecx, [eax - 0x5c]
jmp 0x40e525
xor ecx, ecx
push eax
add ecx, 0x44
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 2
call fcn.004227e0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.004227e0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 4
call fcn.004227e0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi], 0x44f72c
mov dword [esi + 0x3c], 0x44f720
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40f190
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004081b0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
mov dword [esi + 0x54], edi
cmp eax, edi
je 0x40f1b5
lea ecx, [eax - 0x5c]
jmp 0x40f1b7
xor ecx, ecx
push eax
push 0x40
add ecx, 0x44
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x457050]
mov eax, esi
mov dword [esi + 0x64], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi], 0x44f740
mov dword [esi + 0x3c], 0x44f734
pop edi
pop esi
ret

Function at 0x40f930
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x18], edi
cmp eax, edi
je 0x40f950
lea ecx, [eax - 0x20]
jmp 0x40f952
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi], 0x44f744
mov dword [esi + 0x2c], 0x42c80000
mov eax, esi
pop edi
pop esi
ret

Function at 0x40f9e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x64
mov esi, ecx
jne 0x40fa3d
fld dword [esi + 0x2c]
fsub dword [0x44f750]
fst dword [esi + 0x2c]
fcomp dword [0x44f730]
fnstsw ax
test ah, 0x41
jne 0x40fa0e
call fcn.0040fab0
pop esi
ret 4
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x40fa3d
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x411610
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44d41c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.0041ba60
mov dword [esi], 0x44f7ec
mov dword [edi], 0x44f7e0
mov dword [esi + 0x58], 0x44f7b8
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x4116a2
lea ebx, [eax - 0x98]
push eax
lea ecx, [ebx + 8]
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x18], 3
call fcn.0040f190
lea ecx, [esi + 0x110]
mov byte [esp + 0x18], 4
call fcn.0040f190
lea ecx, [esi + 0x180]
mov byte [esp + 0x18], 5
call fcn.0040f190
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x18], 6
call fcn.0040cb10
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x18], 7
call fcn.0040cb10
lea ecx, [esi + 0x370]
mov byte [esp + 0x18], 8
call fcn.0040cb10
lea ecx, [esi + 0x430]
mov byte [esp + 0x18], 9
call fcn.0040cb10
mov eax, dword [0x457050]
mov dword [esi + 0x4f0], eax
lea ecx, [esi + 0x4f4]
mov byte [esp + 0x18], 0xb
call fcn.00409f60
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x44f7ac
mov dword [esi], 0x44f7a0
mov dword [esi + 0x58], 0x44f778
mov dword [esi + 0x74], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411a40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x411c66
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp eax, 0x111
jne 0x411b20
cmp di, 0x3ed
jne 0x411a85
call fcn.00411cb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x411a9f
mov ecx, esi
call fcn.00411e70
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ef
jne 0x411ab9
mov ecx, esi
call fcn.00411fd0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ea
jne 0x411ad3
mov ecx, esi
call fcn.004134f0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ee
jne 0x411b63
push 1
mov ecx, esi
call fcn.004119f0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x3ee
mov dword [eax], ebx
mov eax, edi
shr eax, 0x10
push eax
call fcn.00412ed0
mov ecx, esi
mov dword [ebp], 0
call fcn.004119e0
test eax, eax
je 0x411b5f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x110
jne 0x411b63
push 1
mov ecx, esi
call fcn.004119f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00407110
mov ecx, esi
call fcn.00412d50
mov ecx, esi
mov dword [ebp], eax
call fcn.004119e0
test eax, eax
je 0x411b5f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push ebp
push ebx
push edi
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.0041bb20
test eax, eax
jne 0x411c1e
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x78]
cmp ecx, 5
jne 0x411bf7
test eax, eax
je 0x411b93
lea esi, [eax - 0x78]
jmp 0x411b95
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x411bca
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x411bbb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x411bcf
test edi, edi
jne 0x411bca
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x411bcf
cmp edi, 1
je 0x411c17
mov eax, ebx
shr eax, 0x10
movsx ecx, ax
movsx edx, bx
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.004145a0
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ecx, 0x24
jne 0x411c2a
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x411c17
cmp dword [eax + 0x18], ecx
je 0x411c17
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x1c], edx
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ecx, 0xf
jne 0x411c66
push 1
mov ecx, esi
call fcn.004119f0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], edi
call fcn.00413440
mov ecx, esi
mov dword [ebp], 0
call fcn.004119e0
test eax, eax
je 0x411c66
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18