joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494e70
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx]
sub esp, 0x3e8
push esi
xor esi, esi
test al, al
push edi
lea edx, [esp + 8]
je 0x494e8f
inc ecx
mov byte [edx], al
mov al, byte [ecx]
inc edx
inc esi
test al, al
jne 0x494e84
test esi, esi
mov byte [edx], 0
lea edi, [esp + 8]
ja 0x494ea5
pop edi
xor eax, eax
pop esi
add esp, 0x3e8
ret
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
mov cl, byte [esp + 8]
xor eax, eax
test cl, cl
je 0x494ed0
jmp 0x494ec0
movzx ecx, cl
xor ecx, eax
shl ecx, 1
inc edi
mov eax, ecx
mov cl, byte [edi]
test cl, cl
jne 0x494ec0
pop edi
pop esi
add esp, 0x3e8
ret

Function at 0x499b50
Capabilities:
Capture screenshot

Disassembly:
push esi
call fcn.00561000
mov esi, eax
test esi, esi
je 0x499ba3
mov eax, dword [esi + 0x724]
test eax, eax
jg 0x499ba3
mov eax, dword [esi]
cmp eax, dword [0x5f92f8]
je 0x499ba3
push eax
mov dword [esi + 0x724], 1
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x499b9b
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x499b9b
xor edx, edx
mov ecx, esi
call fcn.00499aa0
xor ecx, ecx
pop esi
jmp fcn.0053b590
pop esi
ret
Function at 0x49a770
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov ebx, edx
mov esi, ecx
call fcn.00561000
mov ebp, eax
test ebp, ebp
je 0x49a99a
push edi
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
neg eax
mov ecx, esi
mov dword [ebp + 0x784], eax
call fcn.005613e0
test eax, eax
je 0x49a930
mov eax, dword [0x5bfdbc]
test eax, eax
jne 0x49a7c2
mov eax, dword [0x5f8b8c]
test eax, eax
je 0x49a930
test bl, 1
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x49a835
call fcn.00524660
test eax, eax
jne 0x49a835
call fcn.00499bb0
mov eax, dword [0x5f92f0]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebp
cmp eax, esi
jne 0x49a835
push 2
push eax
call ebp
mov edi, eax
test edi, edi
je 0x49a81a
lea ebx, [ebx]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49a908
push 2
push edi
call ebp
mov edi, eax
test edi, edi
jne 0x49a800
mov ecx, esi
call fcn.004f0c80
mov edi, eax
mov ecx, edi
call fcn.005613e0
test eax, eax
je 0x49a835
push edi
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
mov ebp, 0x2c
push esi
mov dword [esp + 0x44], ebp
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x50]
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edi, dword [sym.imp.USER32.dll_SetWindowPlacement]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
push edx
mov ebp, 1
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], 0xffffff9c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], 7
call edi
lea eax, [esp + 0x3c]
push eax
push esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0
call edi
call fcn.00563430
mov ecx, dword [0x5f92f0]
push ecx
call ebx
push esi
call ebx
mov ecx, esi
call fcn.00563350
call fcn.00499bb0
xor ecx, ecx
call fcn.0053b590
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
test edi, edi
je 0x49a81a
cmp edi, esi
je 0x49a81a
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call ebx
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x49a835
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 7
push esi
call ebx
mov ecx, esi
call fcn.005613e0
test eax, eax
jne 0x49a973
mov eax, dword [0x5f9308]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x49a966
push 0x10
call edi
test ah, ah
jns 0x49a96e
mov eax, dword [0x5f9308]
test eax, eax
jne 0x49a973
push 0x10
call edi
test ah, ah
jns 0x49a973
push 0
push esi
call ebx
cmp esi, dword [0x5f92f8]
jne 0x49a985
mov dword [0x5f92f8], 0
mov ecx, dword [ebp]
call fcn.00563350
call fcn.00563430
xor ecx, ecx
call fcn.0053b590
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x49a9c0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ecx
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
cmp edi, dword [0x5ed588]
je 0x49aa2b
push ebx
xor eax, eax
mov bl, 0x20
push esi
mov esi, dword [sym.imp.USER32.dll_VkKeyScanA]
mov dword [0x5ed584], eax
mov byte [esp + 0xc], bl
lea esp, [esp]
test bl, bl
je 0x49aa20
test eax, eax
jne 0x49aa20
mov eax, dword [esp + 0xc]
push eax
call esi
cmp ah, 6
jne 0x49aa10
mov eax, 1
mov dword [0x5ed584], eax
jmp 0x49aa15
mov eax, dword [0x5ed584]
inc bl
cmp bl, 0xff
mov byte [esp + 0xc], bl
jbe 0x49a9f0
pop esi
pop ebx
mov dword [0x5ed588], edi
pop edi
pop ecx
ret
mov eax, dword [0x5ed584]
pop edi
pop ecx
ret
Function at 0x49f070
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov eax, dword [0x5edb20]
test eax, eax
push esi
mov esi, ecx
je 0x49f0a7
mov eax, dword [0x5bfbd0]
test eax, eax
je 0x49f090
xor ecx, ecx
call fcn.004f31b0
test eax, eax
je 0x49f0a7
push 0
mov edx, esi
mov ecx, 0x5edb28
call fcn.004fe660
test eax, eax
jne 0x49f0af
mov dword [0x5edb20], eax
xor ecx, ecx
pop esi
jmp fcn.0049efe0
mov eax, dword [0x5bfbd8]
or esi, 0xffffffff
cmp eax, esi
jne 0x49f114
push 0
push 1
push 2
mov dword [0x5bfbdc], esi
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, esi
mov dword [0x5bfbd8], eax
je 0x49f0a7
mov edx, dword [0x5bfbd4]
mov ecx, eax
call fcn.00515960
test eax, eax
je 0x49f0a7
mov eax, dword [0x5bfbd8]
push 5
push eax
call dword [sym.imp.WSOCK32.dll_listen]
test eax, eax
jne 0x49f0a7
mov ecx, dword [0x5f92ec]
mov edx, dword [0x5bfbd8]
push 8
push 0x802a
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop esi
ret
Function at 0x49f120
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x5bfbdc]
sub esp, 0x17c
cmp eax, 0xffffffff
push ebp
push esi
jne 0x49f20d
mov eax, dword [0x5f92ec]
mov ecx, dword [0x5bfbd8]
push 0
push 0
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov ecx, dword [0x5bfbd8]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
mov dword [0x5bfbdc], eax
je 0x49f20d
mov edx, 0x64
lea ecx, [esp + 0x1c]
call fcn.00420e60
mov eax, dword [esp + 8]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [0x5bfbe0], 0xffffffff
je 0x49f1dc
cmp eax, 6
jl 0x49f1dc
movzx edx, byte [esp + 0x13]
movzx eax, byte [esp + 0x12]
movzx ecx, byte [esp + 0x11]
push edx
movzx edx, byte [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x5a5754
push eax
call ebp
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [0x5bfbe0], eax
mov ecx, 1
call fcn.004f31b0
mov esi, eax
test esi, esi
jne 0x49f29c
mov eax, dword [0x5bfbd0]
test eax, eax
jne 0x49f217
call fcn.004f0b80
mov esi, eax
test esi, esi
jne 0x49f2a6
mov eax, dword [0x5bfbdc]
mov ecx, dword [0x5bfbd0]
test ecx, ecx
je 0x49f237
xor ecx, ecx
call fcn.004f31b0
test eax, eax
jne 0x49f232
xor ecx, ecx
call fcn.0049efe0
pop esi
pop ebp
add esp, 0x17c
ret
mov eax, dword [0x5bfbdc]
cmp eax, 0xffffffff
je 0x49f25c
push 1
push eax
call dword [sym.imp.WSOCK32.dll_shutdown]
mov edx, dword [0x5bfbdc]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [0x5bfbdc], 0xffffffff
mov eax, dword [0x5bfbd8]
cmp eax, 0xffffffff
mov dword [0x5edbc0], 0
mov dword [0x5bfbe0], 0xffffffff
je 0x49f33d
mov ecx, dword [0x5f92ec]
push 8
push 0x802a
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop esi
pop ebp
add esp, 0x17c
ret
mov dword [esi + 0x838], 2
mov eax, dword [0x5bfbcc]
test eax, eax
je 0x49f30f
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
mov al, byte [esp + 0x1c]
test al, al
je 0x49f2f3
lea edx, [esp + 0x1c]
push edx
xor edx, edx
mov ecx, 0xc1d
call fcn.0041f1a0
push eax
lea eax, [esp + 0x88]
push eax
call ebp
mov ecx, dword [0x5c9d54]
add esp, 0xc
push ecx
lea edx, [esp + 0x84]
jmp 0x49f308
mov edx, dword [0x5c9d54]
push edx
xor edx, edx
mov ecx, 0xc1e
call fcn.0041f1a0
mov edx, eax
mov ecx, dword [esi]
call fcn.00513d20
mov eax, dword [0x5f92ec]
mov ecx, dword [0x5bfbdc]
push 0x21
push 0x802b
push eax
push ecx
mov dword [0x5edbc0], 0x1e
mov dword [0x5edbc4], 0
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop esi
pop ebp
add esp, 0x17c
ret
Function at 0x49f350
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x550
push ebx
mov eax, ecx
shr eax, 0x10
test eax, eax
push ebp
push esi
jne 0x49f39a
cmp ecx, 0x20
je 0x49f39a
mov eax, dword [0x5bfbdc]
cmp eax, 0xffffffff
je 0x49f39a
push 0
push 0x103
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x49f3c7
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x49f5c2
mov eax, dword [0x5bfbd0]
test eax, eax
je 0x49f56c
xor ecx, ecx
call fcn.004f31b0
test eax, eax
jne 0x49f56c
xor ecx, ecx
call fcn.0049efe0
pop esi
pop ebp
pop ebx
add esp, 0x550
ret
cmp eax, 1
jle 0x49f39a
cmp eax, 0x19
jg 0x49f39a
lea edx, [esp + 0x70]
push 0x2c
push edx
mov byte [esp + eax + 0x78], 0
call fcn.005912e0
mov esi, eax
add esp, 8
test esi, esi
je 0x49f39a
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x49f39a
lea eax, [esp + 0x70]
push eax
call fcn.0059164b
push esi
mov ebp, eax
call fcn.0059164b
add esp, 8
mov ecx, 2
mov ebx, eax
call fcn.004f31b0
mov esi, eax
test esi, esi
jne 0x49f437
mov eax, dword [0x5bfbd0]
test eax, eax
jne 0x49f3a7
call fcn.004f0b80
mov esi, eax
test esi, esi
je 0x49f39a
jmp 0x49f441
mov dword [esi + 0x838], 0
push 0x5edb28
mov edx, 0x64
lea ecx, [esp + 0x10]
call fcn.00420d70
mov eax, dword [0x5edb24]
test eax, eax
je 0x49f48f
mov edx, 0x64
lea ecx, [esp + 0xc]
call fcn.00420e60
push 0
mov edx, esi
lea ecx, [esp + 0x10]
call fcn.004fe660
test eax, eax
jne 0x49f48f
push 0x5edb28
mov edx, 0x64
lea ecx, [esp + 0x10]
call fcn.00420d70
mov eax, dword [0x5bfbcc]
test eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x49f4e6
lea ecx, [esp + 0x10]
push ecx
push 0x5edb8c
push ebx
push ebp
xor edx, edx
mov ecx, 0xc1f
call fcn.0041f1a0
push eax
lea edx, [esp + 0x18c]
push edx
call edi
mov eax, dword [0x5c9d54]
mov ecx, dword [esi]
add esp, 0x18
push eax
lea edx, [esp + 0x17c]
call fcn.00513d20
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
mov ecx, dword [0x5f92ec]
mov edx, dword [0x5bfbdc]
push 0x22
push 0x802c
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
lea eax, [esp + 0x10]
push eax
push 0x5edb8c
push ebx
push ebp
lea ecx, [esp + 0x84]
push str._d___d_:_USERID_:__s_:__s_r_n
push ecx
call edi
add esp, 0x18
lea eax, [esp + 0x74]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49f527
sub eax, edx
push 0
mov esi, eax
mov eax, dword [0x5bfbdc]
push esi
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, esi
jne 0x49f39a
pop esi
pop ebp
mov dword [0x5edbc0], 3
mov dword [0x5edbc4], 1
pop ebx
add esp, 0x550
ret
mov eax, dword [0x5bfbdc]
or esi, 0xffffffff
cmp eax, esi
je 0x49f594
push 1
push eax
call dword [sym.imp.WSOCK32.dll_shutdown]
mov ecx, dword [0x5bfbdc]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [0x5bfbdc], esi
mov eax, dword [0x5bfbd8]
cmp eax, esi
mov dword [0x5edbc0], 0
mov dword [0x5bfbe0], esi
je 0x49f5c2
mov edx, dword [0x5f92ec]
push 8
push 0x802a
push edx
push eax
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop esi
pop ebp
pop ebx
add esp, 0x550
ret
Function at 0x4b0690
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 8]
test eax, eax
push ebp
mov ebp, edx
jne 0x4b06b9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push eax
push edx
mov edx, dword [ebp]
push ebx
call fcn.00503c20
pop ebp
pop ebx
ret 0x10
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4b0812
cmp dword [eax + 0x1c], 1
je 0x4b06d4
pop ebp
mov eax, 1
pop ebx
ret 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4b07df
mov eax, dword [eax]
movzx ecx, byte [eax]
push ecx
call fcn.005920a7
add esp, 4
test eax, eax
je 0x4b07df
mov edx, dword [ebx + 0x40]
push esi
mov esi, dword [edx]
mov al, byte [esi]
test al, al
je 0x4b0769
push edi
cmp al, 0x30
mov edi, esi
jne 0x4b0747
jmp 0x4b0710
movzx eax, byte [edi + 1]
push eax
call fcn.005920a7
add esp, 4
test eax, eax
je 0x4b0729
mov al, byte [edi + 1]
inc edi
cmp al, 0x30
je 0x4b0710
cmp edi, esi
je 0x4b0747
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b0732
sub eax, edx
inc eax
push eax
push edi
push esi
call fcn.00592290
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x4b075c
lea ecx, [ecx]
cmp al, 0x2e
je 0x4b0761
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b0750
cmp byte [esi], 0x2e
jne 0x4b0762
inc esi
mov al, byte [esi]
test al, al
jne 0x4b0702
pop edi
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx]
push 0x2e
push edx
call fcn.005912e0
add esp, 8
test eax, eax
je 0x4b07c4
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b07a7
mov edx, dword [ebx + 0x40]
mov eax, dword [edx]
push str.255.255.255.255
push eax
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x4b07de
push esi
call dword [sym.imp.WSOCK32.dll_htonl]
mov ecx, dword [esp + 0x14]
push eax
push 0x5a4980
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4b07de
mov edx, dword [ebx + 0x40]
mov eax, dword [edx]
push eax
call fcn.0059139e
push ecx
mov ecx, dword [esp + 0x1c]
fstp qword [esp]
xor edx, edx
call fcn.004210b0
pop esi
mov eax, dword [ebx + 8]
test eax, eax
jle 0x4b080b
jmp 0x4b07f0
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebp]
call fcn.004d3ac0
mov dword [ebp], eax
mov ecx, dword [ebx + 8]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx + 8], ecx
jg 0x4b07f0
mov dword [ebx + 8], 0
pop ebp
mov eax, 2
pop ebx
ret 0x10
Function at 0x4bc830
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x4bc85c
cmp byte [esi], 0
je 0x4bc85c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bc85c
test al, 0x50
jne 0x4bc85c
test ah, 0x11
jne 0x4bc85c
and eax, 0xfffffff8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret

Function at 0x4bc860
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x2f
push 0x5ee150
call fcn.005912e0
add esp, 8
test eax, eax
je 0x4bc889
push 0x2f
push 0x5ee150
mov byte [eax], 0x5c
call fcn.005912e0
add esp, 8
test eax, eax
jne 0x4bc873
push 0x5c5d18
push 0x5c5c18
push 0x5c5b18
push 0x5c5b14
push 0x5ee150
call fcn.00591920
mov al, byte [0x5ee150]
add esp, 0x14
cmp al, 0x5c
jne 0x4bc8f0
cmp byte [0x5ee151], 0x5c
jne 0x4bc8f0
mov al, byte [0x5c5c18]
test al, al
jne 0x4bc95e
mov al, byte [0x5c5d18]
test al, al
jne 0x4bc95e
push 0x5ee048
push str._smirc.ini
push 0x5ee150
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4bc955
mov al, byte [0x5c5c18]
test al, al
jne 0x4bc902
mov al, byte [0x5c5d18]
test al, al
je 0x4bc8d6
mov al, byte [0x5c5b14]
test al, al
jne 0x4bc955
mov al, byte [0x5c5b18]
test al, al
push 0x5c5d18
push 0x5c5c18
je 0x4bc93d
push 0x5c5b18
push 0x5ee048
push str._s_s_s_s
push 0x5ee150
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x4bc955
push 0x5ee048
push str._s_s_s
push 0x5ee150
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov al, byte [0x5ee150]
test al, al
je 0x4bc986
push 0x5ee150
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bc986
test al, 0x50
jne 0x4bc986
test ah, 0x11
jne 0x4bc986
and eax, 0xfffffff8
push eax
push 0x5ee150
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x4c10b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x440
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
xor esi, esi
push eax
mov edx, str.main
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0050ee40
cmp dword [0x5f8a48], esi
mov edi, 3
je 0x4c1115
mov ecx, dword [0x5f92ec]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c1115
mov dword [esp + 8], edi
jmp 0x4c1147
mov edx, dword [0x5f92ec]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4c1130
mov dword [esp + 8], 1
jmp 0x4c1147
mov eax, dword [0x5f92ec]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 2
mov dword [esp + 8], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4c11e1
mov dword [esp + 8], edi
mov ecx, dword [0x5f92ec]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x10]
push edi
sub ecx, esi
push ecx
sub eax, edx
push esi
push eax
push edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x7c]
push str._d__d__d__d__d__d__d
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 0x5ee150
lea eax, [esp + 0x64]
push eax
mov edx, str.main
mov ecx, str.windows
call fcn.004bc990
pop edi
pop esi
add esp, 0x440
ret
cmp dword [esp + 8], esi
jne 0x4c115b
mov edx, dword [0x5f92ec]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x4c1185
Function at 0x4cc800
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.004f0af0
test eax, eax
je 0x4cc81d
mov ecx, dword [esi]
call fcn.00561000
xor edx, edx
mov ecx, eax
pop esi
jmp fcn.004cc080
xor ecx, ecx
pop esi
jmp fcn.0053b590
Function at 0x4d2d50
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x5aa8d8
push reloc.WSOCK32.dll_accept
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4d2d76
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
jmp 0x4d2d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d2d80
mov ecx, dword [esp + 8]
sub eax, edx
inc eax
push eax
push esi
push 1
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x4d2dc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x5aa8d8
mov esi, edx
push reloc.WSOCK32.dll_accept
mov edi, ecx
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4d2ded
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push edi
push edx
mov dword [esp + 0x1c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
add esp, 8
ret

Function at 0x4d2e30
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x5aa8d8
push reloc.WSOCK32.dll_accept
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4d2e52
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x4d2e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, 0xb
mov eax, 0xa
push edi
mov edi, ecx
mov ecx, 0xe
mov dword [esp + 0x14], esi
mov ebp, 6
mov ebx, 0x10
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], esi
mov esi, 8
mov dword [esp + 0x10], edx
mov edx, 0xc
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov ecx, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], eax
mov eax, edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0x11
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], 9
mov dword [esp + 0x6c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4d2f98
sub eax, esi
cmp eax, ecx
jae 0x4d2fb2
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xa4
ret
mov ebx, dword [esp + 0x10]
push 0x2d
push ebx
call fcn.005912e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4d2fa5
push ebx
mov byte [esi], 0
call fcn.005915c3
add esp, 4
mov byte [esi], 0x2d
inc esi
mov ebp, eax
cmp byte [esi], 0
je 0x4d2fa5
push esi
call fcn.005915c3
mov ecx, edi
add esp, 4
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d2ff0
sub ecx, edx
mov esi, 3
xor edx, edx
xor ebx, ebx
cmp ecx, esi
jle 0x4d3028
jmp 0x4d3010
movzx eax, byte [esi + edi]
imul eax, dword [esp + edx*4 + 0x14]
add ebx, eax
inc edx
cmp edx, 0x26
jle 0x4d3023
xor edx, edx
inc esi
cmp esi, ecx
jl 0x4d3010
cmp ebp, ebx
jne 0x4d2fa5
mov esi, 3
xor edx, edx
xor ebx, ebx
cmp ecx, esi
jle 0x4d3060
lea ecx, [ecx]
movzx eax, byte [esi + edi - 1]
movzx ebp, byte [esi + edi]
imul eax, ebp
imul eax, dword [esp + edx*4 + 0x14]
add ebx, eax
inc edx
cmp edx, 0x26
jle 0x4d305b
xor edx, edx
inc esi
cmp esi, ecx
jl 0x4d3040
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
cmp ecx, ebx
pop ebp
sete al
pop ebx
add esp, 0xa4
ret