joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50288c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x502982
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x90
call fcn.004027dc
mov ebx, eax
push ebx
push 0x90
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404294
mov eax, ebx
call fcn.004027f4
lea eax, [ebp - 0x1d4]
mov ecx, 0x502998
mov edx, dword [ebp - 4]
call fcn.004043c4
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00406cca
xor eax, eax
push ebp
push 0x502925
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
call fcn.00406ff6
call fcn.004028fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50292f
xor eax, eax
push ebp
push 0x502957
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
call fcn.00406dd0
call fcn.004028fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x502961
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502989
lea eax, [ebp - 0x1d4]
call fcn.004040dc
lea eax, [ebp - 4]
call fcn.004040dc
ret

Function at 0x503270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x503395
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50337f
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040453c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x503376
cmp dword [ebp - 0xc], 7
jne 0x503376
mov eax, dword [ebp - 0x10]
call fcn.004027dc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x50336d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040453c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, dword [ebp - 0x14]
jmp 0x503352
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404294
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
push ebx
call sub.kernel32.dll_lstrlenA_1
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x503335
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503374
mov eax, dword [ebp - 0x14]
call fcn.004027f4
ret
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50339c
lea eax, [ebp - 0x1c]
call fcn.004040dc
ret
Function at 0x503628
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5036e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x5036f8
lea edi, [ebp - 0x109]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.0040430c
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.0040c65c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
call fcn.00404174
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404378
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404580
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5036f0
lea eax, [ebp - 0x110]
call fcn.004040dc
lea eax, [ebp - 4]
call fcn.004040dc
ret

Function at 0x503800
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, 1
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, 2
jne 0x50386c
mov ebx, 2
cmp edx, 5
jne 0x50383d
test eax, eax
jne 0x50383d
mov ebx, 3
cmp edx, 5
jne 0x503851
cmp eax, 1
je 0x50384c
cmp eax, 2
jne 0x503851
mov ebx, 4
cmp edx, 6
jne 0x50385f
test eax, eax
jne 0x50385f
mov ebx, 5
cmp edx, 6
jne 0x50386c
dec eax
jne 0x50386c
mov ebx, 6
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x507cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x507cb8
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x507eb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040453c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
mov eax, ebx
call fcn.004027dc
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], esi
xor eax, eax
push ebp
push 0x507e93
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040453c
push eax
call sub.version.dll_GetFileVersionInfoA
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00507fbc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404130
lea ecx, [ebp - 0xc]
mov edx, 0x507ecc
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00404130
lea ecx, [ebp - 0x10]
mov edx, 0x507ee0
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404130
lea ecx, [ebp - 0x14]
mov edx, 0x507ef8
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00404130
lea ecx, [ebp - 0x18]
mov edx, 0x507f0c
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404130
lea ecx, [ebp - 0x1c]
mov edx, 0x507f24
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x4c
call fcn.00404130
lea ecx, [ebp - 0x20]
mov edx, 0x507f3c
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404130
lea ecx, [ebp - 0x24]
mov edx, 0x507f54
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x54
call fcn.00404130
lea ecx, [ebp - 0x28]
mov edx, 0x507f70
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.00404130
lea ecx, [ebp - 0x2c]
mov edx, 0x507f84
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00404130
lea ecx, [ebp - 0x30]
mov edx, 0x507f9c
mov eax, dword [ebp - 4]
call fcn.005080f4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00404130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507e9a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004027f4
ret
Function at 0x50e408
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x50e4d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x50e4f0
call fcn.00404174
xor eax, eax
push ebp
push 0x50e4aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x105
mov eax, ebx
call fcn.004027dc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50e48e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x50e478
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e495
mov eax, dword [ebp - 8]
call fcn.004027f4
ret
Function at 0x50e4f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040452c
mov eax, dword [ebp - 8]
call fcn.0040452c
xor eax, eax
push ebp
push 0x50e6e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, 0x50e6fc
call fcn.00404174
xor eax, eax
push ebp
push 0x50e6a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0x105
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0050e408
push dword [ebp - 0x2c]
push 0x50e708
push dword [ebp - 4]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404438
mov eax, dword [ebp - 0x28]
call fcn.0040453c
mov ebx, eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00404174
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x50e68d
mov eax, dword [ebp - 0x18]
call fcn.004027dc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50e686
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x50e66d
mov dword [ebp - 0x1c], 0xff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x50e70c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x50e644
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00408b24
movzx eax, ax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x48]
mov ecx, 2
mov eax, 0x50e730
call fcn.0040d7ac
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
call fcn.00404174
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040453c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x50e66d
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0040d264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e68d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004027f4
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
call fcn.00404130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50e6b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e6e8
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00404100
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404100
ret
Function at 0x511944
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040452c
xor eax, eax
push ebp
push 0x511a7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x511a94
call fcn.00404174
xor eax, eax
push ebp
push 0x511a44
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4e9690]
call fcn.004e9790
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x511a28
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004e9830
xor ecx, ecx
mov edx, 0x511aa0
mov eax, dword [ebp - 0xc]
call fcn.004e9974
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004ea11c
test al, al
je 0x511a0a
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004e9ef0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040bd9c
mov eax, dword [ebp - 0x14]
call fcn.00404378
test eax, eax
je 0x511a0a
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004e9ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511a2f
mov eax, dword [ebp - 0xc]
call fcn.004e9800
mov eax, dword [ebp - 0xc]
call fcn.004032b4
ret
Function at 0x513440
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040452c
xor eax, eax
push ebp
push 0x51357a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x513590
call fcn.00404174
xor eax, eax
push ebp
push 0x513540
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4e9690]
call fcn.004e9790
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x513524
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004e9830
xor ecx, ecx
mov edx, 0x51359c
mov eax, dword [ebp - 0xc]
call fcn.004e9974
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004ea11c
test al, al
je 0x513506
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004e9ef0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040bd9c
mov eax, dword [ebp - 0x14]
call fcn.00404378
test eax, eax
je 0x513506
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004e9ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51352b
mov eax, dword [ebp - 0xc]
call fcn.004e9800
mov eax, dword [ebp - 0xc]
call fcn.004032b4
ret

Function at 0x5200c0
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 0x52017a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047bc
mov eax, dword [0x663938]
cmp byte [eax], 0
je 0x52012f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404b88
mov eax, dword [ebx]
call fcn.00404938
push eax
mov eax, dword [ebx]
call fcn.00404928
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404938
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404b88
jmp 0x520161
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.0040d264
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520181
lea eax, [ebp - 0x3f0]
call fcn.004040dc
ret

Function at 0x52b2e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0049625c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x25c], 0
xor edx, edx
mov eax, ebx
call fcn.0048ff8c
pop ebx
ret
Function at 0x531370
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 0x53142a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047bc
mov eax, dword [0x663938]
cmp byte [eax], 0
je 0x5313df
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404b88
mov eax, dword [ebx]
call fcn.00404938
push eax
mov eax, dword [ebx]
call fcn.00404928
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404938
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404b88
jmp 0x531411
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.0040d264
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531431
lea eax, [ebp - 0x3f0]
call fcn.004040dc
ret

Function at 0x531438
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040d264
add esp, 0x3ec
pop ebx
ret

Function at 0x5375bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x663e18]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
jne 0x537655
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x70]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x74]
cdq
cmp edx, dword [esp + 4]
jne 0x5375f7
cmp eax, dword [esp]
pop edx
pop eax
jae 0x537630
jmp 0x5375fb
pop edx
pop eax
jge 0x537630
mov eax, dword [0x663e18]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x70], eax
mov eax, ebx
call fcn.005323cc
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x537655
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x537655
cmp dword [ebx + 0x10c], 0
je 0x537655
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.004b37e0
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x11c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x54209c
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54220d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x5421f2
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040d264
mov dl, 1
mov eax, dword [0x5197ec]
call fcn.00519844
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x414668]
call fcn.00403284
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.005198c0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5421ef
mov dl, 1
mov eax, dword [0x51b2ec]
call fcn.0051b354
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x542224
call fcn.00519e84
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004043c4
xor eax, eax
push ebp
push 0x5421e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0051b654
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0054222c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5421ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004032b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004032b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004032b4
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x542214
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404100
ret
Function at 0x547374
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x54737d
mov eax, dword [ebp - 4]
add esp, 0xfffff1d8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4e2c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x547512
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4e2c]
mov ecx, 0x547528
mov edx, dword [ebx + 0x328]
call fcn.004043c4
mov ecx, dword [ebp - 0x4e2c]
mov dl, 1
mov eax, dword [0x4c228c]
call fcn.004c2334
mov esi, eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x547540
mov edx, 0x547560
mov eax, esi
mov edi, dword [eax]
call dword [edi]
cmp dword [ebp - 4], 0
je 0x547404
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x30c]
call fcn.004900a4
jmp 0x547414
mov edx, 0x547570
mov eax, dword [ebx + 0x30c]
call fcn.004900a4
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x547584
mov edx, 0x547560
mov eax, esi
mov edi, dword [eax]
call dword [edi]
cmp dword [ebp - 4], 0
je 0x54743e
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x310]
call fcn.004900a4
mov eax, dword [esi + 4]
call fcn.0040453c
push eax
push 0x4e1f
lea eax, [ebp - 0x4e25]
push eax
push 0x547594
push 0x547598
push 0x5475ac
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 4]
lea edx, [ebp - 0x4e25]
mov ecx, 0x4e21
call fcn.0040430c
mov eax, dword [ebx + 0x2f0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2f0]
call fcn.004fc604
push 0x5475bc
lea eax, [ebp - 4]
push eax
mov ecx, 0x5475c8
mov edx, 0x547560
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov eax, dword [ebp - 4]
mov edx, 0x5475bc
call fcn.00404488
jne 0x5474d3
mov dl, 1
mov eax, dword [ebx + 0x318]
mov ecx, dword [eax]
call dword [ecx + 0xb8]
jmp 0x5474e3
xor edx, edx
mov eax, dword [ebx + 0x318]
mov ecx, dword [eax]
call dword [ecx + 0xb8]
mov eax, ebx
call fcn.00547ef8
mov eax, esi
call fcn.004032b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547519
lea eax, [ebp - 0x4e2c]
call fcn.004040dc
lea eax, [ebp - 4]
call fcn.004040dc
ret