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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ae294]
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.0040e51b
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.0040e51b
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 0x415187
cmp word [ecx], dx
je 0x415187
mov eax, dword [0x48bfac]
push edi
dec eax
push eax
push 0x48be98
call fcn.004150af
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4151fa
cmp word [eax], dx
je 0x4151fa
mov eax, dword [edi]
test eax, eax
je 0x4151ab
cmp word [eax], dx
je 0x4151ab
lea eax, [ebp - 0x10]
push eax
call fcn.00414a92
jmp 0x4151b4
lea eax, [ebp - 0x10]
push eax
call fcn.00414b2d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x415224
mov eax, dword [0x48be94]
push dword [ebp - 0x14]
dec eax
push eax
push 0x48bb88
call fcn.004150af
add esp, 0xc
test al, al
je 0x415224
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4151ef
cmp word [eax], di
je 0x4151ef
lea eax, [ebp - 0x10]
push eax
call fcn.00414a92
pop ecx
jmp 0x415226
lea eax, [ebp - 0x10]
push eax
call fcn.00414b2d
jmp 0x4151ec
mov eax, dword [edi]
test eax, eax
je 0x415211
cmp word [eax], dx
je 0x415211
lea eax, [ebp - 0x10]
push eax
call fcn.00414a29
pop ecx
jmp 0x415224
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 0x4152ef
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00414f34
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4152ef
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4152ef
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4152ef
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41527c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0040fe6a
test ebx, ebx
je 0x4152ea
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0040fe6a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4152ef
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 0x4152ef
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041bbea
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4152f1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409c3f
leave
ret
Function at 0x415f7c
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 0x416019
push ebx
push esi
call fcn.00415f38
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.004161ae
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x415fc6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416018
push edi
push eax
call fcn.0040ed2b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x415fe6
call fcn.0040dd60
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416017
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004161ae
add esp, 0x20
test eax, eax
jne 0x416005
push edi
call fcn.0040dd60
jmp 0x41600d
push ebx
call fcn.0040dd60
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 0x41601c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41602d
pop esi
ret
push ebx
push edi
push esi
call fcn.00415f38
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040ed2b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x416055
push ebx
push esi
push edi
call fcn.004229f0
add esp, 0xc
push 0
call fcn.0040dd60
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x416983
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041647a
Function at 0x41dac6
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 + 0x4b1808]
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 0x41db06
cmp byte [ebx], 0xa
jne 0x41db06
or byte [edi + eax + 0x28], 4
jmp 0x41db0b
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 0x41dc0a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41dbed
inc eax
cmp dl, 0xd
je 0x41db37
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41db5d
cmp eax, ecx
jae 0x41db6b
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 0x41db1f
jmp 0x41dc0a
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 0x41dbe8
cmp dword [ebp - 0x10], 0
je 0x41dbe8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4b1808]
test byte [eax + edi + 0x28], 0x48
je 0x41dbc2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41dbad
mov byte [esi], dl
jmp 0x41dbbe
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4b1808]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41dc0a
cmp byte [ebp - 1], 0xa
jne 0x41dbd1
cmp esi, ebx
jne 0x41dbd1
mov byte [esi], 0xa
jmp 0x41dc09
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041eb50
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41dc0a
mov byte [esi], 0xd
jmp 0x41dc09
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4b1808]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41dc07
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41dc0a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41dc13
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 + 0x4b1808]
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 0x41dc59
cmp word [ebx], dx
jne 0x41dc59
or byte [eax + edi + 0x28], 4
jmp 0x41dc5e
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 0x41ddc1
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 0x41dda1
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41dc9f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41dcd5
cmp eax, edx
jae 0x41dce3
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 0x41dc7a
jmp 0x41ddc1
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 0x41dd9c
cmp dword [ebp - 0x18], 0
je 0x41dd9c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4b1808]
test byte [eax + edi + 0x28], 0x48
je 0x41dd72
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 0x41dd36
mov word [esi], cx
jmp 0x41dd6d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4b1808]
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 + 0x4b1808]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4b1808]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41ddc1
pop eax
cmp word [ebp - 4], ax
jne 0x41dd82
cmp esi, ebx
jne 0x41dd82
mov word [esi], ax
jmp 0x41ddbe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041eb50
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41ddc1
push 0xd
pop eax
jmp 0x41dd7d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4b1808]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41ddbb
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41ddc1
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 0x42c903
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x42c958
push dword [esp + 0x10]
push 0x42c882
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x4b1d80]
test edi, edi
je 0x42c9b1
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x42c950
cmp byte [edi + 0x10], 0
je 0x42c950
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 0x42c92c
jmp 0x42c9b1
mov edi, dword [0x4b1d80]
test edi, edi
je 0x42c9b1
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x42c9aa
cmp byte [edi + 0x11], 0
je 0x42c983
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x42c99a
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 0x4b1d80
call fcn.0043d222
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x42c965
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x42ca64
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x42c9b7
push 0x10
push 0x2c
call fcn.0043cb17
push 0
push 0
push 8
mov dword [0x4b1d9c], eax
call fcn.0043c93e
cmp word [0x4b1d94], 0
mov dword [0x4b2758], eax
jne 0x42cb44
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 [0x4b1d94], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4b1da0], eax
test eax, eax
je 0x42cb44
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x4b1da0]
mov dword [0x4b1d84], eax
call esi
push str.getnameinfo
push dword [0x4b1da0]
mov dword [0x4b1d88], eax
call esi
push str.WSAStringToAddressA
push dword [0x4b1da0]
mov dword [0x4b1d8c], eax
call esi
cmp dword [0x4b1d84], 0
mov ecx, eax
mov dword [0x4b1d90], ecx
pop esi
je 0x42cb44
cmp dword [0x4b1d88], 0
je 0x42cb44
cmp dword [0x4b1d8c], 0
je 0x42cb44
mov eax, dword [0x4b1d98]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [0x4b1d98], eax
add esp, 0x190
ret
Function at 0x42d051
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
xor eax, eax
inc eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
cmp dword [edi], eax
jne 0x42d0d4
mov esi, dword [edi + 8]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x108], esi
push eax
lea eax, [esi + 1]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x42d0cb
je 0x42d0d0
lea eax, [ebp - 0x10c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42d0d0
lea eax, [ebp + 8]
push eax
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x42d0cb
cmp dword [ebp + 8], ebx
je 0x42d0cb
push 2
jmp 0x42d0cd
push 4
pop esi
jmp 0x42d121
mov esi, ebx
jmp 0x42d121
push ebx
push ebx
push ebx
push 0x800
lea eax, [ebp - 0x90c]
push eax
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp + 8], eax
test eax, eax
jle 0x42d121
push 2
pop esi
push eax
push ebx
push dword [0x4b0774]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
push ecx
mov dword [edi + 0x30], ecx
lea ecx, [ebp - 0x90c]
push ecx
push eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], eax
call fcn.004229f0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x42d12a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [esi], 1
jne 0x42d150
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
jmp 0x42d18c
cmp dword [esi + 0x2c], ebx
je 0x42d18c
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi + 0x30]
cmovg edi, dword [esi + 0x30]
push edi
push dword [esi + 0x34]
push dword [ebp + 0xc]
call fcn.004229f0
sub dword [esi + 0x30], edi
add esp, 0xc
add dword [esi + 0x34], edi
cmp dword [esi + 0x30], ebx
jne 0x42d18c
push dword [esi + 0x2c]
push ebx
push dword [0x4b0774]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x2c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x42ef74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x4b2784]
call fcn.0043ca45
mov ebx, eax
test ebx, ebx
je 0x42efd8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42ef9d
push dword [esp + 0xc]
push ebx
call eax
jmp 0x42efd8
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.0043d570
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.0041458f
pop ecx
sub edi, eax
push edi
call fcn.0043d600
pop edi
pop esi
pop ebx
ret 8
Function at 0x433283
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 0x4333ec
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4333cf
sub eax, 1
jne 0x4333ec
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.0043323c
pop ecx
test eax, eax
je 0x4332fa
cmp byte [esp + 0x23a], 1
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
jne 0x433330
inc edi
jmp 0x433330
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4333ec
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 0x4333cb
sub ecx, 1
je 0x4333c7
sub ecx, 1
je 0x4333a9
sub ecx, 1
je 0x43336d
sub ecx, 4
jne 0x4333ec
test eax, eax
jne 0x4333ec
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4333ec
sub eax, 0
je 0x43339c
sub eax, 1
je 0x43338f
sub eax, 1
je 0x433388
sub eax, 1
jne 0x4333ec
push 0x69
pop esi
push 0x64
jmp 0x4333a1
push 0x5a
pop esi
push 0x5f
jmp 0x433394
push 0x50
pop esi
push 0x55
test edi, edi
pop eax
cmove esi, eax
jmp 0x4333ec
push 0x4b
pop esi
push 0x46
test edi, edi
pop eax
cmovne esi, eax
jmp 0x4333ec
sub eax, 0
je 0x4333c3
sub eax, 1
je 0x4333bf
sub eax, 1
jne 0x4333ec
push 0x41
pop esi
push 0x3c
jmp 0x4333a1
push 0x3c
jmp 0x4333eb
push 0x32
jmp 0x4333eb
push 0x14
jmp 0x4333eb
push 5
jmp 0x4333eb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4333e9
cmp eax, 0xa
je 0x4333e5
cmp eax, 0x5a
jne 0x4333ec
push 0x28
jmp 0x4333eb
push 0x1e
jmp 0x4333eb
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x433cfd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x4b279c]
call fcn.0043ca45
mov esi, eax
test esi, esi
je 0x433dd9
cmp dword [ebp + 0xc], 0
je 0x433d49
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x433d3a
cmp dword [esi + 0x1c], 0
jne 0x433d3a
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x433dd9
test byte [ebp + 0x10], 3
push ebx
push 4
pop ebx
je 0x433d67
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.004346c7
cmp dword [esi + 0x3c], 0xffffffff
je 0x433d8b
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 0x433da3
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 0x433dbe
test eax, eax
je 0x433db4
push 8
jmp 0x433dc4
push 7
test ecx, ecx
pop eax
cmovne ebx, eax
jmp 0x433dcf
test eax, eax
je 0x433dc7
push 3
pop ebx
jmp 0x433dcf
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
Function at 0x434ac4
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x434b5a
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x434b57
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x434b57
lea eax, [esi - 1]
push eax
push dword [0x4b279c]
call fcn.0043ca45
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x434b59
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x434b47
mov edx, 0xfa01
cmp word [ecx], dx
je 0x434b52
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x434b37
jmp 0x434b57
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x434c00
push eax
call esi
test al, al
jns 0x434c00
push 0x11
call esi
test al, al
js 0x434c00
push 0x10
call esi
test al, al
js 0x434c00
push 0x12
call esi
test al, al
js 0x434c00
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x434c00
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.00415c93
add esp, 0xc
test eax, eax
je 0x434bd4
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.00415c93
add esp, 0xc
test eax, eax
jne 0x434beb
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x434c41
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.0046fb17
pop ecx
pop ecx
test eax, eax
je 0x434c41
test ebp, ebp
je 0x434c24
push 0x11
call esi
test al, al
js 0x434c1c
push 0x10
call esi
test al, al
js 0x434c1c
push 0x12
call esi
test al, al
jns 0x434c24
push 1
push ebp
call fcn.00434c4d
test ebx, ebx
je 0x434c38
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x434c41
test edi, edi
je 0x434c41
mov eax, dword [edi + 8]
jmp 0x434c43
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x4350f0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp edi, 0xffffffff
jne 0x435109
push dword [0x4b27d4]
call fcn.0043cbbf
pop edi
ret 4
push esi
push edi
push dword [0x4b27d4]
call fcn.0043ca45
mov esi, eax
test esi, esi
je 0x435173
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43515f
cmp dword [esi + 0x14], 0
mov dword [esp + 0xc], 0
jne 0x43514e
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
push dword [esi + 4]
push 0
push dword [0x4b0774]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0x4b27d4]
call fcn.0043c9f6
pop esi
pop edi
ret 4