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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50e0f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x50e0b7
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x50dff9
cmp dword [ebp - 8], 0
jne 0x50e002
mov byte [ebp - 0x11], 1
jmp 0x50e0b7
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404a0c
push 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
call fcn.004048d8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x50e037
cmp dword [ebp - 0xc], 0
jg 0x50e03d
mov byte [ebp - 0x11], 1
jmp 0x50e0b7
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404a0c
mov edx, dword [ebp - 0x10]
mov eax, 0x50e108
call fcn.004049c4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x50e070
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [ebp - 0x18]
call fcn.00404920
jmp 0x50e048
cmp dword [ebp - 0x10], 0
je 0x50e0b7
mov eax, dword [ebp - 4]
call fcn.0050e36c
xor eax, eax
push ebp
push 0x50e0b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 0x10]
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e0b7
mov eax, dword [ebp - 4]
call fcn.0050e958
ret
cmp byte [ebp - 0x11], 0
je 0x50e0de
mov eax, dword [ebp - 4]
call fcn.0050e970
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0xffffffff
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.0050df94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e0fb
lea eax, [ebp - 0x10]
call fcn.004043c0
ret
Function at 0x50e180
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
test dl, dl
je 0x50e195
add esp, 0xfffffff0
call fcn.004038f4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
mov dl, 1
mov al, 1
call fcn.00407900
push eax
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dl, 1
mov eax, dword [0x41bf6c]
call fcn.00403560
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.004043c0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
add eax, 0x70
xor ecx, ecx
mov edx, 0x20
call fcn.00402f00
mov eax, dword [ebp - 4]
add eax, 0x90
xor ecx, ecx
mov edx, 0x20
call fcn.00402f00
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [ebp - 4]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
mov ecx, 0x50c70c
xor edx, edx
xor eax, eax
call fcn.00404374
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
mov ecx, 0x50c720
xor edx, edx
xor eax, eax
call fcn.00404374
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x50e288
call fcn.0040394c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x50e75c
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50e925
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41bf6c]
call fcn.00403560
mov dword [ebp - 8], eax
jmp 0x50e8d9
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x50e8d9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x50e7ba
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
push ebp
call fcn.0050e690
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x120], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x14
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x124]
push eax
push 0
push 0
call sub.wsock32.dll_select
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x50e83c
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x50e820
push 1
call sub.kernel32.dll_Sleep_1
jmp 0x50e8d9
mov eax, dword [ebp - 4]
call fcn.0050e970
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.0050df94
jmp 0x50e8d9
cmp dword [ebp - 0x18], 0
jg 0x50e8c9
push 1
call sub.kernel32.dll_Sleep_1
jmp 0x50e8d9
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00404680
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
call fcn.004048d8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x50e8d9
mov eax, dword [ebp - 0x1c]
call fcn.00404680
cmp eax, dword [ebp - 0x18]
jne 0x50e8a4
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x50e8c9
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004048e0
mov ecx, dword [ebp - 0x128]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x50e852
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x50e796
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
call fcn.00403590
mov eax, dword [ebp - 4]
lea edx, [eax + 0x70]
mov eax, dword [ebp - 4]
call fcn.0050e324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e92c
lea eax, [ebp - 0x128]
call fcn.004043c0
lea eax, [ebp - 0x1c]
call fcn.004043c0
ret

Function at 0x50e934
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
pop ecx
pop ebp
ret
Function at 0x5111e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404870
xor eax, eax
push ebp
push 0x511324
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00409964
test al, al
je 0x511306
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.004097d4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x511306
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004098b0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x511253
add eax, 3
sar eax, 2
shl eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.0040283c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00402f00
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004098b0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00409858
mov eax, dword [ebp - 0x10]
call fcn.004098f4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x2c]
mov eax, 4
call fcn.004093ec
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d108
mov eax, dword [ebp - 0x18]
test eax, eax
jns 0x5112c7
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x5112f3
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x5112da
mov eax, dword [ebp - 0x1c]
call fcn.0040285c
mov eax, dword [ebp - 0x24]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51132b
lea eax, [ebp - 0x2c]
call fcn.004043c0
lea eax, [ebp - 4]
call fcn.004043c0
ret
Function at 0x5191a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x519270
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404acc
mov eax, dword [0x606098]
cmp byte [eax], 0
je 0x519221
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00404e38
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c64
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c54
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c64
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.00404e38
jmp 0x519257
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.0040a06c
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 8]
call fcn.00404c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519277
lea eax, [ebp - 0x3f8]
call fcn.004043c0
ret

Function at 0x51927c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc0c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3f1]
call fcn.0040a06c
mov esp, ebp
pop ebp
ret
Function at 0x5194b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x5195c3
lea eax, [ebp - 0x10d]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x10d]
call fcn.00474874
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 8]
mov dx, word [edx + 4]
mov eax, dword [ebp - 4]
call fcn.005190a8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x51953e
mov al, byte [0x5195c8]
cmp al, byte [ebp - 0xd]
jne 0x51953e
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00518fa0
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 1
jmp 0x5195c3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x161], 2
jne 0x519572
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + 4]
mov eax, dword [0x6067a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0045ec10
test eax, eax
jne 0x5195c3
jmp 0x5195bb
mov eax, dword [0x6065b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x128]
je 0x5195bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
test byte [eax + 0x2f4], 8
jne 0x5195bb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + 4]
mov eax, dword [0x6065b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0045ec10
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x520c54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [0x6067a0]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x520d22
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x520ca3
cmp eax, dword [esp]
pop edx
pop eax
jae 0x520cf4
jmp 0x520ca7
pop edx
pop eax
jge 0x520cf4
mov eax, dword [0x6067a0]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
mov dword [ebp - 0x10], 2
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0051a6e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf4], 0
je 0x520d22
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x520d22
mov eax, dword [ebp - 4]
cmp dword [eax + 0x11c], 0
je 0x520d22
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00439f34
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x528a08
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x528ad8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404acc
mov eax, dword [0x606098]
cmp byte [eax], 0
je 0x528a89
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00404e38
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c64
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c54
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c64
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.00404e38
jmp 0x528abf
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.0040a06c
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 8]
call fcn.00404c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528adf
lea eax, [ebp - 0x3f8]
call fcn.004043c0
ret
Function at 0x52c574
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52c60b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2cc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c8]
mov eax, dword [ebp - 4]
call fcn.0052c618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c612
lea eax, [ebp - 0x10]
call fcn.004043c0
ret

Function at 0x533bc8
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x533c0c
jmp 0x533cee
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [ebp - 0xc], eax
test dword [ebp - 0x10], 2
jbe 0x533c65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x17c], 0
je 0x533c65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
jmp 0x533c86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x178], 0
je 0x533c86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x178]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x533ca7
mov eax, dword [ebp - 0xc]
push eax
push 2
push 5
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0052fa08
jmp 0x533cee
mov dl, 1
mov eax, dword [0x4290f4]
call fcn.0042b0d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0042bbe8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
call fcn.0042ac88
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0042b7dc
mov eax, dword [ebp - 0x14]
call fcn.00403590
mov esp, ebp
pop ebp
ret
Function at 0x536de4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045d97c
pop ecx
pop ebp
ret
Function at 0x543320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x543494
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x543479
lea eax, [ebp - 0x111]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x111]
call fcn.0040a06c
mov dl, 1
mov eax, dword [0x512554]
call fcn.005125ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41c280]
call fcn.00403560
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00512648
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x543473
mov dl, 1
mov eax, dword [0x513d28]
call fcn.00513d90
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x5434ac
call fcn.00512ee8
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004046cc
xor eax, eax
push ebp
push 0x54346c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005140f8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005434b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543473
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403590
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403590
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403590
ret
mov al, byte [ebp - 0x11]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54349b
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043e4
ret

Function at 0x551c44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x551cab
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404a0c
push edi
mov eax, dword [ebp - 8]
call fcn.00404880
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551cb2
lea eax, [ebp - 8]
call fcn.004043c0
ret
Function at 0x5565e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x55666e
xor edx, edx
push ebp
push 0x55664f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55666e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x55a520
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x55a54e
mov eax, ebx
call fcn.0055afd4
cmp dword [ebx + 0x40], 0
je 0x55a547
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x55a5bf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x55a5b1
cmp dword [ebx + 8], 0
je 0x55a570
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x55a582
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x55a5b1
cmp dword [ebx + 8], 0
je 0x55a563
cmp eax, 3
je 0x55a595
dec eax
jne 0x55a563
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x55a563
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x55a563
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x55a5dd
cmp dword [ebx + 0x14], 0xcc
je 0x55a5dd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0055a5e8
pop ebx
ret