joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4651b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4651cf
add esp, 0xfffffff0
call fcn.00403e60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420220
mov eax, dword [0x50f314]
cmp word [eax + 2], 0
jne 0x4651f7
mov eax, dword [0x50f314]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466938
mov eax, dword [0x50f488]
cmp word [eax + 2], 0
jne 0x465211
mov eax, dword [0x50f488]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466b30
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416e88]
call fcn.00403b0c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416e88]
call fcn.00403b0c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4227c4]
call fcn.0042a560
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x465398
mov eax, dword [0x50f168]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a930
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4670e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50f168]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dfb0
test eax, eax
je 0x465306
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e84
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dfd8
test eax, eax
je 0x46531a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b80
mov eax, dword [0x50eebc]
cmp byte [eax], 0
jne 0x46534e
mov eax, ebx
call fcn.004654c0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004672bc
mov eax, ebx
call fcn.00467c80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46538e
call fcn.00403eb8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465740
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x510be4]
cmp dword [eax + 0x30], 0
je 0x4657ea
cmp dword [ebx + 0x94], 0
jne 0x4657e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4656d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4657e4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4657aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4657e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419540
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4657b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46634c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x466381
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a00
jmp 0x46638e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404964
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467498
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4674d9
mov eax, esi
call fcn.0044d36c
test al, al
je 0x4674d9
mov eax, dword [ebx + 0x84]
call fcn.0044d068
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4674d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d068
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x476f14
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x476f1c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47710e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x477124
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404964
lea ecx, [ebp - 0x10]
mov edx, 0x477138
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404964
lea ecx, [ebp - 0x14]
mov edx, 0x477150
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404964
lea ecx, [ebp - 0x18]
mov edx, 0x47716c
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404964
lea ecx, [ebp - 0x1c]
mov edx, 0x477188
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404964
lea ecx, [ebp - 0x24]
mov edx, 0x4771a0
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408edc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004092bc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4771b8
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x28]
call fcn.0046e744
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4771c8
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x2c]
call fcn.0046e744
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4771e0
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004092bc
inc eax
je 0x4770b1
lea ecx, [ebp - 0x34]
mov edx, 0x4771e0
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x34]
call fcn.00409280
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ae30
fstp qword [ebp - 0x3c]
wait
call fcn.0040b194
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4770cc
lea ecx, [ebp - 0x40]
mov edx, 0x4771e0
mov eax, esi
call fcn.00474da0
mov eax, dword [ebp - 0x40]
call fcn.0046e744
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4771f0
mov eax, esi
call fcn.00474da0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477115
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404934
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404934
ret
Function at 0x47dea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47defa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047de90
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046d3b0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046cfb0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47df01
lea eax, [ebp - 4]
call fcn.00404910
ret
Function at 0x48e360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e4d1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e4ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404af8
lea eax, [ebp - 0x118]
mov edx, 0x48e4e8
call fcn.00404bd8
mov eax, dword [ebp - 0x118]
call fcn.00404dd0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48e41e
lea eax, [ebp - 0x111]
call fcn.00409e48
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404a00
jmp 0x48e425
mov eax, esi
call fcn.00404910
cmp bl, 0x61
jae 0x48e446
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040de84
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404964
jmp 0x48e460
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ddf8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404964
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x48e4f4
call fcn.0040a524
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e4b3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x494114
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x49420d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00495a88
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c6c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00494ad4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409b50
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00494b48
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494214
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404934
ret
Function at 0x49421c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x494325
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00495a88
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x4942eb
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c6c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00494ad4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409b50
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00494b48
jmp 0x4942fd
xor edx, edx
mov eax, ebx
call fcn.00494ad4
xor edx, edx
mov eax, ebx
call fcn.00494b48
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49432c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404934
ret

Function at 0x495ce4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x495d42
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00495dc0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x495d2a
lea eax, [ebp - 4]
call fcn.00495dc0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x495d2c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495d49
lea eax, [ebp - 4]
call fcn.00404910
ret

Function at 0x495d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x495db4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00495dc0
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495dbb
lea eax, [ebp - 4]
call fcn.00404910
ret
Function at 0x49b1c4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.0049b3f8
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.0049b3f8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x49b238
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x49b25d
inc esi
mov eax, edi
call fcn.0049b21c
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.0049b1c4
inc ebx
dec esi
jne 0x49b247
pop edi
pop esi
pop ebx
ret

Function at 0x49b2ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x49b361
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0049b264
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0049b21c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0049b1c4
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x49b32c
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b368
lea eax, [ebp - 4]
call fcn.00404910
ret
Function at 0x49bf24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c108
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49c0c4
mov eax, dword [ebp - 4]
call fcn.0049d8a0
cmp ebx, eax
jge 0x49c0c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0049282c
mov edx, dword [0x493bb4]
call fcn.00403cec
mov esi, eax
mov eax, esi
call fcn.00494a68
test al, al
je 0x49c0ba
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x49c0ae
xor eax, eax
push ebp
push 0x49c0a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049c4dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041bd30
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404f5c
mov eax, dword [ebp - 8]
call fcn.00404e28
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c2a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0f2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x49c0a6
mov eax, dword [ebp - 4]
call fcn.0049c560
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a034
jmp 0x49c0f2
mov eax, dword [ebp - 8]
call fcn.00404910
jmp 0x49c0f2
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409598
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x416c60]
call fcn.0040cff0
call fcn.004042c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c10f
lea eax, [ebp - 0x54]
call fcn.00404910
ret
Function at 0x4a4230
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a425e
mov eax, ebx
call fcn.004a4ce4
cmp dword [ebx + 0x40], 0
je 0x4a4257
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a42cf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a42c1
cmp dword [ebx + 8], 0
je 0x4a4280
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 0x4a4292
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a42c1
cmp dword [ebx + 8], 0
je 0x4a4273
cmp eax, 3
je 0x4a42a5
dec eax
jne 0x4a4273
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 0x4a4273
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a4273
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a42ed
cmp dword [ebx + 0x14], 0xcc
je 0x4a42ed
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.004a42f8
pop ebx
ret
Function at 0x4bd3a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bd419
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x50ed24]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4bd403
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004bd398
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bd1a0]
call fcn.004bd440
mov dword [0x50ed88], eax
mov eax, dword [ebp - 4]
call fcn.004bd348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd420
lea eax, [ebp - 8]
call fcn.00406440
ret
Function at 0x4c0768
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c0822
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040501c
mov eax, dword [0x50f710]
cmp dword [eax], 2
jne 0x4c07d7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405294
mov eax, dword [ebx]
call fcn.004051b8
push eax
mov eax, dword [ebx]
call fcn.004051a8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004051b8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405294
jmp 0x4c0809
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a034
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0829
lea eax, [ebp - 0x3f0]
call fcn.00404910
ret