joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b67
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x8e4
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 0x7c]
push edi
mov dword [ebp - 0x874], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - reloc.ole32.dll_CoDisconnectObject], ax
lea eax, [ebp - 0x85a]
mov ebx, ecx
push eax
mov dword [ebp - 0x870], ebx
mov edi, edx
call fcn.00408cd0
add esp, 0xc
lea esi, [ebp - 0x85c]
mov dword [ebp - 0x860], esi
test edi, edi
je 0x404bd1
mov dword [ebp - 0x860], edi
mov esi, edi
xor eax, eax
mov word [esi], ax
mov ebx, dword [ebx]
xor edi, edi
mov dword [ebp - 0x86c], eax
cmp ebx, eax
je 0x404d35
cmp dword [ebp - 0x864], eax
je 0x404d35
push 0xc7
push eax
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x5b]
push eax
call fcn.00408cd0
add esp, 0xc
push edi
push 2
lea eax, [ebp - 0x5c]
push eax
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
call ebx
cmp eax, 0xffffffff
je 0x404d17
test eax, eax
je 0x404d17
movzx eax, word [ebp - 0x5c]
mov dword [ebp - 0x868], eax
add eax, 2
push eax
xor esi, esi
call fcn.0040b79e
cmp dword [ebp - 0x868], esi
pop ecx
mov edi, eax
jle 0x404d2a
mov eax, dword [ebp - 0x868]
push 0
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 0x870]
push dword [eax]
call ebx
cmp eax, 0xffffffff
je 0x404cac
test eax, eax
je 0x404cac
add esi, eax
cmp dword [ebp - 0x868], esi
jg 0x404c4e
cmp esi, 5
jl 0x404d2a
push 5
push edi
push 0x4230c0
sub esi, 5
call fcn.00409e6b
add esp, 0xc
test eax, eax
je 0x404ccc
push 0x41df40
push 0x3ff
push dword [ebp - 0x860]
jmp 0x404d22
push 0x41df40
push 0x3ff
push dword [ebp - 0x860]
call fcn.00409215
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x404d2a
test esi, esi
jle 0x404cdb
lea eax, [edi + 5]
mov ecx, esi
not byte [eax]
inc eax
dec ecx
jne 0x404cd5
mov ebx, dword [ebp - 0x874]
mov eax, dword [ebx]
cmp eax, esi
jl 0x404cfb
push esi
lea eax, [edi + 5]
push eax
push dword [ebp - 0x864]
call fcn.00408eb0
mov dword [ebx], esi
jmp 0x404d0b
push eax
lea eax, [edi + 5]
push eax
push dword [ebp - 0x864]
call fcn.00408eb0
mov dword [ebp - 0x86c], 1
jmp 0x404d27
push 0x41df40
push 0x3ff
push esi
call fcn.00409215
add esp, 0xc
test edi, edi
je 0x404d35
push edi
call fcn.0040b579
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x86c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cba
add ebp, 0x70
leave
ret
Function at 0x407bd3
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x407c5a
cmp dword [esi + 4], 0xffffffff
jne 0x407c5a
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push edi
call fcn.00409dc5
movzx eax, word [esi + eax*2 + reloc.ole32.dll_CoDisconnectObject]
pop ecx
cmp ax, 0x5c
je 0x407c1c
cmp ax, 0x2f
je 0x407c1c
push 0x41dc88
push edi
call fcn.00408d76
pop ecx
pop ecx
push 0x20
call fcn.0040b79e
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], bl
mov byte [eax + 1], 1
mov byte [eax + 0x10], bl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
call fcn.0040714e
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x407c5f
mov eax, 0x1000000
pop edi
pop ebx
pop ecx
ret 8

Function at 0x40888c
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
xor esi, esi
call fcn.00408cd0
add esp, 0xc
test edi, edi
je 0x408944
and dword [ebp - 0x80], esi
mov esi, 0x41de30
push esi
call fcn.00409dc5
pop ecx
test eax, eax
jbe 0x4088ed
push 0x41dd1c
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004093ab
add esp, 0xc
jmp 0x408921
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 0x41fffc
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00408dfa
push 0x41dd1c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004093ab
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x80], 0
je 0x408944
push dword [ebp - 0x80]
push esi
push 0x200
push edi
call fcn.00409d43
push dword [ebp - 0x80]
call fcn.00409b65
add esp, 0x14
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x190
leave
ret
Function at 0x40895c
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00408cd0
add esp, 0xc
mov dword [ebp - 0x7c], esi
cmp ebx, esi
je 0x408a2d
push edi
mov edi, 0x41dd3c
push edi
call fcn.00409dc5
pop ecx
test eax, eax
je 0x408a2c
cmp dword [reloc.ole32.dll_CoInitialize], 3
mov esi, 0x104
lea eax, [ebp - 0x78]
jne 0x4089de
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0x41dc88
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
add esp, 0xc
jmp 0x4089e6
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
push 0x41dd14
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004093ab
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x408a2c
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00409ad1
push dword [ebp - 0x7c]
call fcn.00409b65
add esp, 0x14
mov dword [ebp - 0x80], esi
pop edi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x194
leave
ret

Function at 0x408a46
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00408cd0
add esp, 0xc
mov dword [ebp - 0x7c], esi
cmp ebx, esi
je 0x408aee
push edi
mov edi, 0x41fffc
push edi
call fcn.00409dc5
pop ecx
test eax, eax
je 0x408aed
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
push 0x41dd14
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004093ab
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x408aed
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00409ad1
push dword [ebp - 0x7c]
call fcn.00409b65
add esp, 0x14
mov dword [ebp - 0x80], esi
pop edi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x194
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Check for software breakpoints
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x69080a45
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x235f09fb
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4076ee
Capabilities:
Identify system language via api

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.0042f040
push dword [esp + 0xc]
call fcn.004176d0
push edx
call fcn.0042eed0
pop edx
push eax
push edx
call fcn.0042eed0
pop edx
push eax
call sub.KERNEL32.dll_GetUserDefaultLangID
cdq
push edx
push eax
call fcn.0042cb40
lea eax, [esp + 4]
push eax
call fcn.0042ef70
push dword [esp]
call fcn.0042cbc0
mov ebx, eax
cmp ebx, 3
jne 0x40775d
push edx
call fcn.0042eed0
pop edx
push eax
mov edx, 0x47b40e
push edx
call fcn.0042ef10
mov edx, dword [esp + 4]
push edx
call fcn.0042ef10
lea eax, [esp + 4]
push eax
call fcn.0042ef70
mov edx, dword [esp]
push edx
call fcn.0042eed0
pop edx
push eax
push edx
call fcn.0042ef10
pop eax
push eax
call fcn.004176a0
pop edx
add eax, edx
jmp 0x407784
push dword [esp]
call fcn.0042f0d0
add esp, 4
pop ebx
ret
Function at 0x417df1
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x417e89
push edi
push 0x8eff3c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x8ef318]
test edi, edi
je 0x417e5d
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x417e56
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x8ef318
call fcn.0042edb6
pop ecx
pop ecx
jmp 0x417e58
mov edi, dword [edi]
test edi, edi
jne 0x417e2d
pop ebx
mov eax, dword [0x8eb968]
mov esi, eax
inc eax
push 0x10
push 0x8ef318
mov dword [0x8eb968], eax
call fcn.0042edf6
pop ecx
pop ecx
push 0x8eff3c
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x418c8f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x418ce4
push dword [esp + 0x10]
push 0x418c0e
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x8ef364]
test esi, esi
je 0x418d3d
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x418cdc
cmp byte [esi + 0x10], 0
je 0x418cdc
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x418cb8
jmp 0x418d3d
mov esi, dword [0x8ef364]
test esi, esi
je 0x418d3d
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x418d36
cmp byte [esi + 0x11], 0
je 0x418d12
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x418d29
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x8ef364
call fcn.0042edb6
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x418cf1
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x418de0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x8f0290]
call fcn.0042e3db
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x418ee0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x418e36
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x418e2e
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x418e76
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x418eb8
push 0x22
pop edx
cmp cx, dx
je 0x418e68
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x418e58
xor ecx, ecx
cmp word [eax], cx
je 0x418eb8
mov ecx, eax
add eax, 2
jmp 0x418eba
test dx, dx
je 0x418ec0
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x418e68
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x418eae
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x418eb8
cmp cx, dx
je 0x418eab
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x418e9b
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x418e80
jmp 0x418e68
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x418ec2
xor edx, edx
cmp dword [ebp], ebx
jne 0x418ecb
test edi, edi
jne 0x418ee8
test edx, edx
je 0x418ed0
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x418e24
test edi, edi
jne 0x418ef9
mov eax, ebx
jmp 0x418efd
test esi, esi
je 0x418ef9
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x418efd
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x419576
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x4195ca
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x20]
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4195b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x4195c4
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x419589
jmp 0x4195c8
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc
Function at 0x41a289
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x41a1d8
push 0x10
push 0x2c
call fcn.0042e75a
push 0
push 0
push 8
mov dword [0x8ef378], eax
call fcn.0042e446
cmp word [0x8ef370], 0
mov dword [0x8f02b8], eax
jne 0x41a36e
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x41a2e1
mov word [0x8ef370], di
jmp 0x41a2e9
xor eax, eax
mov word [0x8ef370], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x8ef38c], eax
test eax, eax
je 0x41a36d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x8ef38c]
mov dword [0x8ef37c], eax
call esi
push str.getnameinfo
push dword [0x8ef38c]
mov dword [0x8ef380], eax
call esi
push str.WSAStringToAddressA
push dword [0x8ef38c]
mov dword [0x8ef384], eax
call esi
cmp dword [0x8ef37c], 0
mov dword [0x8ef388], eax
pop esi
je 0x41a36d
cmp dword [0x8ef380], 0
je 0x41a36d
cmp dword [0x8ef384], 0
je 0x41a36d
test eax, eax
je 0x41a36d
mov dword [0x8ef374], edi
pop edi
add esp, 0x190
ret

Function at 0x41ab70
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x8ef390], 0
jne 0x41ab7e
call fcn.0041ab10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x8ef394]
call esi
test eax, eax
jne 0x41aba1
call fcn.0041ab10
push dword [0x8ef394]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x41abb0
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x41ac10
mov ebx, 0x10
test edi, edi
jns 0x41ac19
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x41abe2
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41bd84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x8eff30]
call fcn.0042e687
mov ebx, eax
test ebx, ebx
je 0x41bde8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x41bdad
push dword [esp + 0xc]
push ebx
call eax
jmp 0x41bde8
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0042f330
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.0042f410
pop edi
pop esi
pop ebx
ret 8

Function at 0x41d0af
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x8f02cc]
call fcn.0042e3db
xor ebx, ebx
mov ebp, eax
cmp dword [0x8ef5f8], ebx
jne 0x41d143
mov esi, 0xa4
push esi
push ebx
push 0x8ef600
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x8ef604], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x8ef600], 0xa
mov dword [0x8ef608], 0x41cc44
push 0x7f89
push ebx
mov dword [0x8ef678], 0x41f3e5
mov dword [0x8ef67c], 0x41f3bf
mov dword [0x8ef60c], 0x41cc63
mov dword [0x8ef690], 0x41cc83
call esi
mov dword [0x8ef5f8], eax
test eax, eax
jne 0x41d143
push 0x7f00
push ebx
call esi
mov dword [0x8ef5f8], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042414c
push ebx
push dword [0x8eec9c]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x41d20f
push edi
push dword [esp + 0x14]
push dword [0x8eff30]
call fcn.0042e6c6
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x8eec98]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x8ef600
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.0041f32e
push 0x41cd69
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x41fb60
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41fcd6
mov eax, dword [esp + 0x24]
dec eax
je 0x41fcb9
dec eax
jne 0x41fcd6
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0041fb19
pop ecx
test eax, eax
je 0x41fc17
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x41fbda
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x41fcb5
dec ebx
je 0x41fcb1
dec ebx
je 0x41fc90
dec ebx
je 0x41fc4a
sub ebx, 4
jne 0x41fcd6
test edi, edi
jne 0x41fcd6
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x41fcd6
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x41fbda
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x41fbd5
sub edi, 0
je 0x41fc82
dec edi
je 0x41fc74
dec edi
je 0x41fc66
dec edi
jne 0x41fcd6
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x41fcd6
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x41fcd6
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x41fcd6
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x41fcd6
sub edi, 0
je 0x41fcad
dec edi
je 0x41fca9
dec edi
jne 0x41fcd6
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x41fcd6
push 0x3c
jmp 0x41fcd5
push 0x32
jmp 0x41fcd5
push 0x14
jmp 0x41fcd5
push 5
jmp 0x41fcd5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41fcd3
cmp eax, 0xa
je 0x41fccf
cmp eax, 0x5a
jne 0x41fcd6
push 0x28
jmp 0x41fcd5
push 0x1e
jmp 0x41fcd5
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x41fff9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x8eff34]
call fcn.0042e687
mov esi, eax
test esi, esi
je 0x4200d3
cmp dword [ebp + 0xc], 0
je 0x420045
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x420036
cmp dword [esi + 0x1c], 0
jne 0x420036
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4200d3
test byte [ebp + 0x10], 3
je 0x420060
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0042078d
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x420085
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x420099
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x4200b6
test ebx, ebx
je 0x4200aa
push 8
jmp 0x4200bc
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x4200c9
test ebx, ebx
je 0x4200bf
push 3
pop ecx
jmp 0x4200c9
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc