joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42496b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x626364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041dd6b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041dd6b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4249e2
cmp word [ecx], dx
je 0x4249e2
mov eax, dword [0x507fac]
push edi
dec eax
push eax
push 0x507e98
call fcn.0042490a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x424a55
cmp word [eax], dx
je 0x424a55
mov eax, dword [edi]
test eax, eax
je 0x424a06
cmp word [eax], dx
je 0x424a06
lea eax, [ebp - 0x10]
push eax
call fcn.004242ed
jmp 0x424a0f
lea eax, [ebp - 0x10]
push eax
call fcn.00424388
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x424a7f
mov eax, dword [0x507e94]
push dword [ebp - 0x14]
dec eax
push eax
push 0x507b88
call fcn.0042490a
add esp, 0xc
test al, al
je 0x424a7f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x424a4a
cmp word [eax], di
je 0x424a4a
lea eax, [ebp - 0x10]
push eax
call fcn.004242ed
pop ecx
jmp 0x424a81
lea eax, [ebp - 0x10]
push eax
call fcn.00424388
jmp 0x424a47
mov eax, dword [edi]
test eax, eax
je 0x424a6c
cmp word [eax], dx
je 0x424a6c
lea eax, [ebp - 0x10]
push eax
call fcn.00424284
pop ecx
jmp 0x424a7f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x424b4a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042478f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x424b4a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x424b4a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x424b4a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x424ad7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041f6ba
test ebx, ebx
je 0x424b45
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041f6ba
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424b4a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424b4a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042b4d2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x424b4c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041948f
leave
ret
Function at 0x4257d7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x425874
push ebx
push esi
call fcn.00425793
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00425a09
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x425821
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425873
push edi
push eax
call fcn.0041e57b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x425841
call fcn.0041d5b0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x425872
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00425a09
add esp, 0x20
test eax, eax
jne 0x425860
push edi
call fcn.0041d5b0
jmp 0x425868
push ebx
call fcn.0041d5b0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425877
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x425888
pop esi
ret
push ebx
push edi
push esi
call fcn.00425793
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041e57b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4258b0
push ebx
push esi
push edi
call fcn.00432350
add esp, 0xc
push 0
call fcn.0041d5b0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4261de
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00425cd5
Function at 0x42d3ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x62c158]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42d3ee
cmp byte [ebx], 0xa
jne 0x42d3ee
or byte [edi + eax + 0x28], 4
jmp 0x42d3f3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x42d4f2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42d4d5
inc eax
cmp dl, 0xd
je 0x42d41f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42d445
cmp eax, ecx
jae 0x42d453
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x42d407
jmp 0x42d4f2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d4d0
cmp dword [ebp - 0x10], 0
je 0x42d4d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x62c158]
test byte [eax + edi + 0x28], 0x48
je 0x42d4aa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42d495
mov byte [esi], dl
jmp 0x42d4a6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x62c158]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42d4f2
cmp byte [ebp - 1], 0xa
jne 0x42d4b9
cmp esi, ebx
jne 0x42d4b9
mov byte [esi], 0xa
jmp 0x42d4f1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042e4a7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42d4f2
mov byte [esi], 0xd
jmp 0x42d4f1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x62c158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42d4ef
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42d4f2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42d4fb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x62c158]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42d541
cmp word [ebx], dx
jne 0x42d541
or byte [eax + edi + 0x28], 4
jmp 0x42d546
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42d6a9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42d689
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42d587
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42d5bd
cmp eax, edx
jae 0x42d5cb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42d562
jmp 0x42d6a9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d684
cmp dword [ebp - 0x18], 0
je 0x42d684
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x62c158]
test byte [eax + edi + 0x28], 0x48
je 0x42d65a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42d61e
mov word [esi], cx
jmp 0x42d655
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x62c158]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x62c158]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x62c158]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42d6a9
pop eax
cmp word [ebp - 4], ax
jne 0x42d66a
cmp esi, ebx
jne 0x42d66a
mov word [esi], ax
jmp 0x42d6a6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042e4a7
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42d6a9
push 0xd
pop eax
jmp 0x42d665
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x62c158]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42d6a3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42d6a9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43b4c8
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
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 ebx, eax
test ebx, ebx
je 0x43b563
push edi
push 0x62d8a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x62c4bc]
test edi, edi
je 0x43b536
push ebp
push esi
lea ebp, [edi + 8]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43b52f
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebp
push 0x62c4bc
call fcn.00452f1f
pop ecx
pop ecx
jmp 0x43b531
mov edi, dword [edi]
test edi, edi
jne 0x43b504
pop ebp
mov esi, dword [0x626be0]
push 0x10
push 0x62c4bc
lea eax, [esi + 1]
mov dword [0x626be0], eax
call fcn.00452f5f
pop ecx
pop ecx
push 0x62d8a8
mov dword [eax], ebx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8

Function at 0x43c2e2
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x43c337
push dword [esp + 0x10]
push 0x43c261
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x62c8b0]
test edi, edi
je 0x43c390
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x43c32f
cmp byte [edi + 0x10], 0
je 0x43c32f
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, ebx
test ebx, ebx
jne 0x43c30b
jmp 0x43c390
mov edi, dword [0x62c8b0]
test edi, edi
je 0x43c390
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x43c389
cmp byte [edi + 0x11], 0
je 0x43c362
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x43c379
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 8]
push eax
push 0x62c8b0
call fcn.00452f1f
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x43c344
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x43c490
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [0x62da70]
call fcn.0045254d
mov esi, eax
or ebx, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, dword [esp + 0x28]
mov edx, eax
movzx ecx, word [edx]
test cx, cx
je 0x43c5cd
mov eax, dword [esi]
mov edi, ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0x20
push 0x22
pop ecx
movzx eax, di
cmp di, word [esp + 0x18]
jne 0x43c4f6
push 0x20
pop edi
add edx, 2
movzx eax, word [edx]
cmp ax, di
je 0x43c4eb
mov dword [esp + 0x14], 1
cmp ax, cx
jne 0x43c530
add edx, 2
mov edi, edx
movzx eax, word [edx]
mov ebx, eax
test ax, ax
je 0x43c58a
push 0x22
mov ecx, eax
pop esi
movzx ebx, cx
cmp cx, si
je 0x43c58a
add edx, 2
movzx eax, word [edx]
mov ecx, eax
mov ebx, eax
test ax, ax
jne 0x43c517
jmp 0x43c58a
test ax, ax
je 0x43c59d
push 0x20
mov edi, edx
movzx eax, ax
pop ebp
movzx ebx, ax
cmp ax, bp
je 0x43c586
add edx, 2
push 0x22
pop ebx
movzx eax, word [edx]
mov ecx, eax
cmp ax, bx
jne 0x43c57b
add edx, 2
movzx eax, word [edx]
mov ecx, eax
test ax, ax
je 0x43c57b
mov esi, eax
movzx ecx, si
cmp si, bx
je 0x43c57b
add edx, 2
movzx eax, word [edx]
mov esi, eax
mov ecx, eax
test ax, ax
jne 0x43c564
movzx eax, cx
movzx ebx, cx
test cx, cx
jne 0x43c53d
mov ebp, dword [esp + 0x28]
test bx, bx
lea eax, [edx + 2]
mov ebx, dword [esp + 0x10]
mov esi, edx
cmove eax, edx
mov edx, eax
jmp 0x43c5a4
and dword [esp + 0x14], 0
xor edi, edi
cmp dword [esp + 0x1c], ebx
jne 0x43c5ae
test ebp, ebp
jne 0x43c5d5
cmp dword [esp + 0x14], 0
lea eax, [ebx + 1]
movzx ecx, word [edx]
cmove eax, ebx
mov edi, ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
test cx, cx
jne 0x43c4db
test ebp, ebp
jne 0x43c5ea
mov eax, ebx
jmp 0x43c5f0
test edi, edi
je 0x43c5ea
mov eax, dword [esp + 0x20]
sub esi, edi
sar esi, 1
mov dword [ebp], esi
inc dword [eax]
mov eax, edi
jmp 0x43c5f0
and dword [ebp], 0
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43cc95
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x43cce9
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 0x43ccd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x43cce3
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x43cca8
jmp 0x43cce7
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc
Function at 0x43d97d
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x43d8d0
push 0x10
push 0x2c
call fcn.004528fd
push 0
push 0
push 8
mov dword [0x62c8d4], eax
call fcn.004525b8
cmp word [0x62c8cc], 0
mov dword [0x62da98], eax
jne 0x43da5d
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
push str.ws2_32.dll
sbb eax, eax
inc eax
mov word [0x62c8cc], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x62c8d8], eax
test eax, eax
je 0x43da5d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x62c8d8]
mov dword [0x62c8bc], eax
call esi
push str.getnameinfo
push dword [0x62c8d8]
mov dword [0x62c8c0], eax
call esi
push str.WSAStringToAddressA
push dword [0x62c8d8]
mov dword [0x62c8c4], eax
call esi
cmp dword [0x62c8bc], 0
mov ecx, eax
mov dword [0x62c8c8], ecx
pop esi
je 0x43da5d
cmp dword [0x62c8c0], 0
je 0x43da5d
cmp dword [0x62c8c4], 0
je 0x43da5d
mov eax, dword [0x62c8d0]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [0x62c8d0], eax
add esp, 0x190
ret
Function at 0x43f43a
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x62d888]
call fcn.0045282b
mov ebx, eax
test ebx, ebx
je 0x43f49e
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x43f463
push dword [esp + 0xc]
push ebx
call eax
jmp 0x43f49e
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.004533b0
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 fcn.00423dea
pop ecx
sub edi, eax
push edi
call fcn.00453440
pop edi
pop esi
pop ebx
ret 8

Function at 0x440776
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x62dab4]
call fcn.0045254d
xor ebx, ebx
mov ebp, eax
cmp dword [0x62cbf0], ebx
jne 0x44080a
mov esi, 0xa8
push esi
push ebx
push 0x62cb48
call fcn.0042ebd0
add esp, 0xc
mov dword [0x62cb4c], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x62cb48], 0xa
mov dword [0x62cb50], 0x440304
push 0x7f89
push ebx
mov dword [0x62cbc0], 0x442b15
mov dword [0x62cbc4], 0x442aef
mov dword [0x62cb54], 0x440323
mov dword [0x62cbd8], 0x440343
call esi
mov dword [0x62cbf0], eax
test eax, eax
jne 0x44080a
push 0x7f00
push ebx
call esi
mov dword [0x62cbf0], 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.00447b83
push ebx
push dword [0x62ab84]
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 0x4408d6
push edi
push dword [esp + 0x14]
push dword [0x62d888]
call fcn.00452869
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 [0x62ab80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x62cb48
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.00442a5e
push 0x440429
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 0x4417ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x44183b
push 0xfffffffffffffff0
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x44183b
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push edi
push dword [0x62ab80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea ecx, [esi + 1]
push ecx
xor eax, eax
push edi
mov word [edi], ax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
or esi, 0xffffffff
push esi
push 0x158
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [0x62ab80]
cmp eax, esi
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, ebx
pop ebp
cdq
pop ebx
ret 4

Function at 0x44329d
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x443406
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4433e9
sub eax, 1
jne 0x443406
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.00443256
pop ecx
test eax, eax
je 0x443314
cmp byte [esp + 0x23a], 1
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
jne 0x44334a
inc edi
jmp 0x44334a
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x443406
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x14]
inc edx
cmp byte [esp + 0x356], dl
cmove edi, edx
sub ecx, 3
je 0x4433e5
sub ecx, 1
je 0x4433e1
sub ecx, 1
je 0x4433c3
sub ecx, 1
je 0x443387
sub ecx, 4
jne 0x443406
test eax, eax
jne 0x443406
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x443406
sub eax, 0
je 0x4433b6
sub eax, 1
je 0x4433a9
sub eax, 1
je 0x4433a2
sub eax, 1
jne 0x443406
push 0x69
pop esi
push 0x64
jmp 0x4433bb
push 0x5a
pop esi
push 0x5f
jmp 0x4433ae
push 0x50
pop esi
push 0x55
test edi, edi
pop eax
cmove esi, eax
jmp 0x443406
push 0x4b
pop esi
push 0x46
test edi, edi
pop eax
cmovne esi, eax
jmp 0x443406
sub eax, 0
je 0x4433dd
sub eax, 1
je 0x4433d9
sub eax, 1
jne 0x443406
push 0x41
pop esi
push 0x3c
jmp 0x4433bb
push 0x3c
jmp 0x443405
push 0x32
jmp 0x443405
push 0x14
jmp 0x443405
push 5
jmp 0x443405
mov eax, dword [esp + 0x14]
test eax, eax
je 0x443403
cmp eax, 0xa
je 0x4433ff
cmp eax, 0x5a
jne 0x443406
push 0x28
jmp 0x443405
push 0x1e
jmp 0x443405
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x443708
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x62d88c]
call fcn.0045282b
mov esi, eax
test esi, esi
je 0x4437e4
cmp dword [ebp + 0xc], 0
je 0x443754
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x443745
cmp dword [esi + 0x1c], 0
jne 0x443745
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4437e4
test byte [ebp + 0x10], 3
push ebx
push 4
pop ebx
je 0x443772
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00443e12
cmp dword [esi + 0x3c], 0xffffffff
je 0x443796
xor eax, eax
cmp dword [esi + 0x3c], 0x1000000
sete al
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x4437ae
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
mov eax, dword [ebp + 8]
test dword [ebp + 0x10], 0x2000000
je 0x4437c9
test eax, eax
je 0x4437bf
push 8
jmp 0x4437cf
push 7
test ecx, ecx
pop eax
cmovne ebx, eax
jmp 0x4437da
test eax, eax
je 0x4437d2
push 3
pop ebx
jmp 0x4437da
xor ebx, ebx
test ecx, ecx
setne bl
inc ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc