joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405311
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c2a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x2c], ecx
call fcn.00404650
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x5c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.00404680
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
push ecx
push 0x45cfa8
lea ecx, [ebp - 0x24]
call fcn.0043df01
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xec
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0043e0c2
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0043e0c2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0043de93
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.0043de93
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0043de93
lea eax, [ebp - 0x1c]
push eax
push 0x20006
push 0
lea ecx, [ebp - 0x14]
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405404
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
jmp 0x40547f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x5c]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.00404680
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00404610
push eax
lea ecx, [ebp - 0x10]
call fcn.00404600
push eax
push 1
push 0
push 0x45cfac
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x405464
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
jmp 0x40547f
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x405e3a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov dword [ebp - 0x30c], ecx
cmp dword [ebp + 8], 0
jne 0x405e56
xor eax, eax
jmp 0x405f27
mov dword [ebp - 4], 0xff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30c]
mov edx, dword [ecx + 8]
push edx
push 0x45d04c
lea eax, [ebp - 0x204]
push eax
call fcn.0042ada4
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
push 0x45d054
call fcn.00401000
add esp, 8
lea edx, [ebp - 0x208]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x204]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405f25
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x308]
push edx
push 0
push 0
push 0x45d078
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405f14
lea ecx, [ebp - 0x308]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042a2c0
add esp, 8
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
push 0x45d088
call fcn.00401000
add esp, 8
mov eax, 1
jmp 0x405f27
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x405f27
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x408fc3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x38], eax
push 0x32
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.0042aa90
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x45d660
call fcn.00414290
add esp, 8
mov edx, dword [ebp - 0x38]
push edx
call fcn.0042a790
add esp, 4
test eax, eax
je 0x40910e
mov eax, dword [ebp - 0x38]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x40910e
push 0x20
mov edx, dword [ebp - 0x38]
push edx
call fcn.0042ba00
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40910e
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x40]
movsx edx, byte [ecx]
cmp edx, 0x25
jne 0x409066
mov eax, dword [ebp - 0x38]
push eax
push 0x45d684
call fcn.00414290
add esp, 8
xor eax, eax
jmp 0x409110
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
lea eax, [edx + ecx + 1]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x114
call fcn.0043e01c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x114]
push edx
push 0x45d6a8
call fcn.00414290
add esp, 8
mov eax, dword [ebp - 0x40]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0042a840
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x118
call fcn.0043e01c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x118]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x114]
push ecx
push 0x45d6b8
call fcn.00414290
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, 0x114
call fcn.00404610
test eax, eax
je 0x40910e
mov ecx, dword [ebp - 0x44]
add ecx, 0x118
call fcn.00404610
test eax, eax
je 0x40910e
mov eax, 1
jmp 0x409110
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x409114
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x204], 1
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4091e9
push 0x45d6d4
lea ecx, [ebp - 0x200]
push ecx
call fcn.0042a2d0
add esp, 8
lea edx, [ebp - 0x200]
push edx
push 0x45d6e0
call fcn.00414290
add esp, 8
lea eax, [ebp - 0x208]
push eax
push 0x20006
push 0
push 0x45d71c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x409195
jmp 0x4091f6
lea ecx, [ebp - 0x200]
push ecx
call fcn.0042a790
add esp, 4
push eax
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x204]
push eax
push 0
mov ecx, dword [ebp - 0x20c]
add ecx, 0xe8
call fcn.00404600
push eax
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4091da
jmp 0x4091f6
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4091f6
push 0x45d74c
call fcn.00414290
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x409aff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c78d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x14]
push eax
push 0x20006
push 0
lea ecx, [ebp + 8]
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409baa
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
lea ecx, [ebp + 0xc]
call fcn.00404600
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x409ba0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp - 0x18]
jmp 0x409bcf
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e4be
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ce2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x45f064
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e611
mov dword [ebp - 0x1c], 0xff
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x46ce88
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
call fcn.00404590
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043e01c
lea ecx, [ebp - 0x20]
call fcn.0043cf16
lea ecx, [ebp - 0x20]
call fcn.0043ceca
lea ecx, [ebp - 0x20]
call fcn.00404610
test eax, eax
jle 0x40e602
push 0x45f07c
lea ecx, [ebp - 0x20]
call fcn.0043cb31
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
jl 0x40e5a4
mov ecx, dword [ebp - 0x28]
add ecx, 1
push ecx
push 0x45f080
lea ecx, [ebp - 0x20]
call fcn.0043cb3f
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043cab9
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x20]
call fcn.0043dfcc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0043de93
lea ecx, [ebp - 0x20]
call fcn.00404600
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042a2c0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x45f084
call fcn.00414290
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043de93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e857
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ce74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
call fcn.00404650
mov ecx, eax
add ecx, 0xec
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e8c4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x14]
jmp 0x40e942
lea ecx, [ebp + 8]
call fcn.00404610
push eax
lea ecx, [ebp + 8]
call fcn.00404600
push eax
push 1
push 0
push 0x45f104
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40e908
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x18]
jmp 0x40e942
lea ecx, [ebp + 8]
call fcn.00404600
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d0
call fcn.0041f285
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043de93
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x410f53
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x410f81
xor eax, eax
jmp 0x410fcd
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 1
je 0x410fa1
cmp dword [ebp - 0x9c], 2
je 0x410fa5
jmp 0x410fc7
xor eax, eax
jmp 0x410fcd
cmp dword [ebp - 0x90], 4
jne 0x410fb5
mov eax, 1
jmp 0x410fcd
cmp dword [ebp - 0x90], 5
jb 0x410fc5
mov eax, 1
jmp 0x410fcd
jmp 0x410fcb
xor eax, eax
jmp 0x410fcd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x411f6e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], ecx
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 0xa90]
push ecx
push 0x45ff1c
call fcn.00414290
add esp, 8
mov ecx, dword [ebp - 0x204]
add ecx, 0xa90
call fcn.00404600
push eax
push 0x200
lea edx, [ebp - 0x200]
push edx
push 0x46cebc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x412003
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 0xa90]
push ecx
push 0x45ff30
call fcn.00414290
add esp, 0xc
lea edx, [ebp - 0x200]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0043e01c
mov eax, 1
jmp 0x412005
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4121b4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4121df
xor eax, eax
jmp 0x41227c
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 1
je 0x4121ff
cmp dword [ebp - 0x98], 2
je 0x412216
jmp 0x412273
cmp dword [ebp - 0x8c], 0xa
jb 0x41220f
mov eax, 1
jmp 0x41227c
mov eax, 3
jmp 0x41227c
cmp dword [ebp - 0x90], 4
jne 0x412226
mov eax, 4
jmp 0x41227c
cmp dword [ebp - 0x90], 5
jne 0x41223f
cmp dword [ebp - 0x8c], 0
jne 0x41223f
mov eax, 2
jmp 0x41227c
cmp dword [ebp - 0x90], 5
jne 0x412258
cmp dword [ebp - 0x8c], 1
jb 0x412258
mov eax, 5
jmp 0x41227c
cmp dword [ebp - 0x90], 6
jne 0x412271
cmp dword [ebp - 0x8c], 0
jb 0x412271
mov eax, 6
jmp 0x41227c
jmp 0x41227a
mov eax, 3
jmp 0x41227c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4143f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d2f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push edi
mov dword [ebp - 4], 1
mov byte [ebp - 0x10c], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x110], 0xff
push 0xff
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.0042aa90
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.00404600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4144fb
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00404600
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4144ee
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0043e01c
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp - 0x118]
jmp 0x414526
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x414711
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0x4607e8
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x414753
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
push edx
push 0x414634
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x414806
mov dword [ebp - 0x24], 0x24
lea ecx, [ebp - 0x24]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4147d6
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x414779
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x41480a]
mov ecx, dword [ebp - 8]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 8], edx
jmp case.default.0x414779
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x414806
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, 0x96
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, 0x1e
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4158c5
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x415901
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042a2c0
add esp, 8
mov eax, 1
jmp 0x415a87
mov dword [ebp - 4], 0
jmp 0x415913
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x41c]
jge 0x415a85
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 4]
push eax
push 0x461034
call fcn.00401000
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00415c0c
test eax, eax
jne 0x4159b3
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004179f5
test eax, eax
jne 0x4159b3
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041826b
test eax, eax
jne 0x4159b3
jmp 0x41590a
push 0x461068
call fcn.00401000
add esp, 4
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415a20
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcc
jne 0x415a20
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415a87
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0x10]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x304
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415a80
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xca
jne 0x415a80
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415a87
jmp 0x41590a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x415a8d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xca
jne 0x415ac9
mov edx, dword [ebp - 8]
add edx, 0x304
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042a2c0
add esp, 8
mov eax, 1
jmp 0x415c06
mov dword [ebp - 4], 0
jmp 0x415adb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x41c]
jge 0x415c04
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00415c0c
test eax, eax
jne 0x415b3f
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004179f5
test eax, eax
jne 0x415b3f
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041826b
test eax, eax
jne 0x415b3f
jmp 0x415ad2
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415b9f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcc
jne 0x415b9f
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415c06
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415bff
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x415bff
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x415c06
jmp 0x415ad2
xor eax, eax
mov esp, ebp
pop ebp
ret 4