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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59c074]
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.0042ab35
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.0042ab35
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 0x430b63
cmp word [ecx], dx
je 0x430b63
mov eax, dword [0x4e34d4]
push edi
dec eax
push eax
push 0x4e33c0
call fcn.00430a8b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x430bd6
cmp word [eax], dx
je 0x430bd6
mov eax, dword [edi]
test eax, eax
je 0x430b87
cmp word [eax], dx
je 0x430b87
lea eax, [ebp - 0x10]
push eax
call fcn.0043046e
jmp 0x430b90
lea eax, [ebp - 0x10]
push eax
call fcn.00430509
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x430c00
mov eax, dword [0x4e33bc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4e30b0
call fcn.00430a8b
add esp, 0xc
test al, al
je 0x430c00
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x430bcb
cmp word [eax], di
je 0x430bcb
lea eax, [ebp - 0x10]
push eax
call fcn.0043046e
pop ecx
jmp 0x430c02
lea eax, [ebp - 0x10]
push eax
call fcn.00430509
jmp 0x430bc8
mov eax, dword [edi]
test eax, eax
je 0x430bed
cmp word [eax], dx
je 0x430bed
lea eax, [ebp - 0x10]
push eax
call fcn.00430423
pop ecx
jmp 0x430c00
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 0x430ccb
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00430910
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x430ccb
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x430ccb
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x430ccb
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x430c58
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042b5ac
test ebx, ebx
je 0x430cc6
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042b5ac
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x430ccb
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 0x430ccb
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004330ab
add esp, 0x10
xor eax, eax
inc eax
jmp 0x430ccd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426cb5
leave
ret
Function at 0x435fa3
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 + 0x59d678]
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 0x435fe3
cmp byte [ebx], 0xa
jne 0x435fe3
or byte [edi + eax + 0x28], 4
jmp 0x435fe8
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 0x4360e7
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4360ca
inc eax
cmp dl, 0xd
je 0x436014
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x43603a
cmp eax, ecx
jae 0x436048
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 0x435ffc
jmp 0x4360e7
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 0x4360c5
cmp dword [ebp - 0x10], 0
je 0x4360c5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x59d678]
test byte [eax + edi + 0x28], 0x48
je 0x43609f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43608a
mov byte [esi], dl
jmp 0x43609b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x59d678]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4360e7
cmp byte [ebp - 1], 0xa
jne 0x4360ae
cmp esi, ebx
jne 0x4360ae
mov byte [esi], 0xa
jmp 0x4360e6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00435da8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4360e7
mov byte [esi], 0xd
jmp 0x4360e6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x59d678]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4360e4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4360e7
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4360f0
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 + 0x59d678]
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 0x436136
cmp word [ebx], dx
jne 0x436136
or byte [eax + edi + 0x28], 4
jmp 0x43613b
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 0x43629e
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 0x43627e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x43617c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4361b2
cmp eax, edx
jae 0x4361c0
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 0x436157
jmp 0x43629e
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 0x436279
cmp dword [ebp - 0x18], 0
je 0x436279
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x59d678]
test byte [eax + edi + 0x28], 0x48
je 0x43624f
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 0x436213
mov word [esi], cx
jmp 0x43624a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x59d678]
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 + 0x59d678]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x59d678]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x43629e
pop eax
cmp word [ebp - 4], ax
jne 0x43625f
cmp esi, ebx
jne 0x43625f
mov word [esi], ax
jmp 0x43629b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00435da8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x43629e
push 0xd
pop eax
jmp 0x43625a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x59d678]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x436298
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x43629e
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 0x43b072
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 0x43b10d
push edi
push 0x5a1920
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x59d97c]
test edi, edi
je 0x43b0e0
push ebp
push esi
lea ebp, [edi + 8]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43b0d9
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebp
push 0x59d97c
call fcn.00452bdf
pop ecx
pop ecx
jmp 0x43b0db
mov edi, dword [edi]
test edi, edi
jne 0x43b0ae
pop ebp
mov esi, dword [0x59c910]
push 0x10
push 0x59d97c
lea eax, [esi + 1]
mov dword [0x59c910], eax
call fcn.00452bb0
pop ecx
pop ecx
push 0x5a1920
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 0x43b1d3
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.0043b187
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x5a1920
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x59d97c]
jmp 0x43b204
cmp dword [esi + 0xc], edi
je 0x43b20a
mov esi, dword [esi]
test esi, esi
jne 0x43b1fd
jmp 0x43b222
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x59d97c
call fcn.00452bdf
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4

Function at 0x43b22f
Capabilities:
Suspend thread

Disassembly:
push dword [esp + 4]
call fcn.0043b187
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret 4

Function at 0x43b242
Capabilities:
Resume thread

Disassembly:
push dword [esp + 4]
call fcn.0043b187
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret 4
Function at 0x43df1f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x43df74
push dword [esp + 0x10]
push 0x43de9e
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x59dbbc]
test edi, edi
je 0x43dfcd
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x43df6c
cmp byte [edi + 0x10], 0
je 0x43df6c
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 0x43df48
jmp 0x43dfcd
mov edi, dword [0x59dbbc]
test edi, edi
je 0x43dfcd
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x43dfc6
cmp byte [edi + 0x11], 0
je 0x43df9f
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x43dfb6
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 0x59dbbc
call fcn.00452bdf
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x43df81
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x43ed36
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push dword [0x5a1964]
call fcn.00452288
mov ebx, eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43ed8b
push ebp
push esi
xor ecx, ecx
mov ebp, 0xfde9
push ecx
push ecx
push 0xffffffffffffffff
push dword [eax + 0xc]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [esp + 0x10]
mov esi, eax
lea ecx, [esi - 1]
push ecx
call fcn.00452f50
push esi
push eax
mov eax, dword [ebx + 0x20]
push 0xffffffffffffffff
push dword [eax + 0xc]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop esi
pop ebp
pop ebx
ret 4
pop ebx
jmp fcn.00452fe0
Function at 0x43fbcb
Capabilities:
Reference http user-agent string

Disassembly:
push str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0043fbe0
ret 8

Function at 0x43fbe0
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push dword [0x5a1974]
xor edi, edi
call fcn.00452288
mov ebx, eax
cmp dword [esp + 0xc], edi
je 0x43fc95
push ebp
push esi
push 0x60
push 8
push dword [0x59cd20]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x14]
mov esi, eax
xor ebp, ebp
inc ebp
or dword [esi + 4], 0xffffffff
mov dword [esi], ebp
call fcn.004c01c1
push dword [esp + 0x20]
mov dword [esi + 8], eax
call fcn.004c01c1
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x24], ecx
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x58], ebp
test cl, 1
je 0x43fc83
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x43fe2b
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43fc71
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43fc77
cmp dword [esp + 0x14], edi
je 0x43fc7b
mov edi, esi
jmp 0x43fc93
push esi
call fcn.0043fec0
jmp 0x43fc92
push esi
call fcn.0043fcaa
push esi
mov edi, eax
call fcn.0043fec0
pop ecx
pop ecx
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
ret 0xc

Function at 0x43fffe
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x43ff51
push 0x10
push 0x2c
call fcn.0045256a
push 0
push 0
push 8
mov dword [0x59dc08], eax
call fcn.004522f3
cmp word [0x59dc00], 0
mov dword [0x5a197c], eax
jne 0x4400d7
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 [0x59dc00], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x59dc0c], eax
test eax, eax
je 0x4400d7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e6ae0
push eax
call esi
push 0x4e6aec
push dword [0x59dc0c]
mov dword [0x59dbf0], eax
call esi
push str.getnameinfo
push dword [0x59dc0c]
mov dword [0x59dbf4], eax
call esi
push str.WSAStringToAddressA
push dword [0x59dc0c]
mov dword [0x59dbf8], eax
call esi
cmp dword [0x59dbf0], 0
mov dword [0x59dbfc], eax
pop esi
je 0x4400d7
cmp dword [0x59dbf4], 0
je 0x4400d7
cmp dword [0x59dbf8], 0
je 0x4400d7
test eax, eax
je 0x4400d7
mov dword [0x59dc04], 1
add esp, 0x190
ret
Function at 0x440b09
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x5a19c0]
call fcn.00452288
xor ebx, ebx
mov esi, eax
cmp dword [0x59dd7c], ebx
jne 0x440bdb
xor ebp, ebp
inc ebp
mov dword [0x59dd7c], ebp
call fcn.00445969
mov edi, 0xa8
push edi
push ebx
push 0x59dcd0
call fcn.00436fb0
add esp, 0xc
mov dword [0x59dcd0], 0x13
lea eax, [esp + 0x10]
mov dword [0x59dcd4], edi
mov dword [0x59dce0], 0x4402a1
mov dword [0x59dce4], 0x4404d7
push eax
mov dword [0x59dd38], 0x440a49
mov dword [0x59dd3c], 0x440cbe
mov dword [0x59dcdc], 0x440a24
mov dword [0x59dd60], 0x440a71
mov dword [0x59dd80], ebp
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440bdb
cmp dword [esp + 0x20], ebp
je 0x440bd5
cmp dword [esp + 0x20], 2
jne 0x440bdb
cmp dword [esp + 0x14], 5
jb 0x440bd5
jne 0x440bdb
cmp dword [esp + 0x18], ebx
jne 0x440bdb
mov dword [0x59dd80], ebx
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0044af68
mov eax, dword [esp + 0x140]
push ebx
push dword [0x59cd24]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x440caf
mov ebp, dword [esp + 0x128]
push ebp
push dword [0x5a19c4]
call fcn.004524d6
mov esi, dword [esp + 0x13c]
mov ebx, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x440c80
push esi
call fcn.0044d4cf
test eax, eax
je 0x440c80
push 0
push 0
push esi
call fcn.0044d113
jmp 0x440c82
xor eax, eax
push 0x44077b
push 0xfffffffffffffffc
mov dword [ebx + 0x18], eax
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x59dcd0
push edi
push ebx
push ebp
mov dword [0x59dd78], eax
call fcn.004458ed
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x443072
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x5a19c4]
call fcn.00452497
mov ebx, eax
test ebx, ebx
je 0x4430d6
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x44309b
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4430d6
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.00452f50
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.0042f265
pop ecx
sub edi, eax
push edi
call fcn.00453000
pop edi
pop esi
pop ebx
ret 8

Function at 0x4435bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x5a19c0]
call fcn.00452288
xor ebx, ebx
mov ebp, eax
cmp dword [0x59fd58], ebx
jne 0x443650
mov esi, 0xa8
push esi
push ebx
push 0x59fcb0
call fcn.00436fb0
add esp, 0xc
mov dword [0x59fcb4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x59fcb0], 0xa
mov dword [0x59fcb8], 0x443119
push 0x7f89
push ebx
mov dword [0x59fd28], 0x4463bc
mov dword [0x59fd2c], 0x446396
mov dword [0x59fcbc], 0x443138
mov dword [0x59fd40], 0x443158
call esi
mov dword [0x59fd58], eax
test eax, eax
jne 0x443650
push 0x7f00
push ebx
call esi
mov dword [0x59fd58], 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.0044af68
push ebx
push dword [0x59cd24]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40010000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x44371c
push edi
push dword [esp + 0x14]
push dword [0x5a19c4]
call fcn.004524d6
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 [0x59cd20]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x59fcb0
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.004458ed
push 0x44323e
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 0x44674a
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 0x4468ce
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4468b1
sub eax, 1
jne 0x4468ce
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.00446703
pop ecx
test eax, eax
je 0x4467be
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
cmp byte [esp + 0x23a], 1
jmp 0x4467ef
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4468ce
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x356], 1
jne 0x4467f4
xor edi, edi
inc edi
sub ecx, 3
je 0x4468ad
sub ecx, 1
je 0x4468a9
sub ecx, 1
je 0x446884
sub ecx, 1
je 0x446834
sub ecx, 4
jne 0x4468ce
test eax, eax
jne 0x4468ce
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4468ce
sub eax, 0
je 0x446876
sub eax, 1
je 0x446868
sub eax, 1
je 0x44685a
sub eax, 1
jne 0x4468ce
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4468ce
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4468ce
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4468ce
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4468ce
sub eax, 0
je 0x4468a5
sub eax, 1
je 0x4468a1
sub eax, 1
jne 0x4468ce
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4468ce
push 0x3c
jmp 0x4468cd
push 0x32
jmp 0x4468cd
push 0x14
jmp 0x4468cd
push 5
jmp 0x4468cd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4468cb
cmp eax, 0xa
je 0x4468c7
cmp eax, 0x5a
jne 0x4468ce
push 0x28
jmp 0x4468cd
push 0x1e
jmp 0x4468cd
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x4469cf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x5a19e0]
call fcn.00452497
mov esi, eax
test esi, esi
je 0x446aa9
cmp dword [ebp + 0xc], 0
je 0x446a1b
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x446a0c
cmp dword [esi + 0x1c], 0
jne 0x446a0c
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x446aa9
test byte [ebp + 0x10], 3
je 0x446a36
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00447a60
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x446a5b
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 0x446a6f
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 0x446a8c
test ebx, ebx
je 0x446a80
push 8
jmp 0x446a92
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x446a9f
test ebx, ebx
je 0x446a95
push 3
pop ecx
jmp 0x446a9f
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