joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409951
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call sub.shlwapi.dll_StrStrIA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push eax
push eax
call fcn.004023e6
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 0x18], eax
push reloc.opengl32.dll_glPixelStoref
call fcn.00401e6a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 0x18]
push eax
call fcn.00401e05
push eax
push dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.004097d6
call fcn.00401871
push dword [ebp - 0x18]
call fcn.00401871
call fcn.00401871
push reloc.gdi32.dll_SetWorldTransform
call fcn.00401888
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.advapi32.dll_RegOpenKeyA
or eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0x10]
call fcn.00401db1
push dword [ebp - 8]
push eax
call fcn.00401e05
mov dword [ebp - 0x14], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409951
push dword [ebp - 0x14]
call fcn.00401871
inc dword [ebp - 0x10]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
push dword [ebp - 8]
call fcn.00401871
leave
ret 0x14
Function at 0x40abea
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [reloc.wsock32.dll_WSACleanup]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x810]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x818], eax
call fcn.00401871
lea eax, [ebp - 0x10]
push eax
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x10], 4
jne reloc.gdi32.dll_SetWorldTransform
mov eax, dword [ebp - 0x814]
push dword [eax]
pop dword [ebp - reloc.gdi32.dll_SetWorldTransform]
cmp dword [ebp - 0x814], 0x3e8
jbe reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 0x814], 0x3e8
jmp reloc.gdi32.dll_SetWorldTransform
dec dword [ebp - 0x814]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040a951
cmp dword [ebp - 0x814], 0
jne reloc.gdi32.dll_SetWorldTransform
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040abea
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 8
Function at 0x40d3f3
Capabilities:
Gather robo-ftp information

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push reloc.shlwapi.dll_PathRemoveExtensionA
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp + 0xc]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push eax
cmp dword [ebp - 4], 4
jne reloc.gdi32.dll_SetWorldTransform
push dword [eax]
pop dword [ebp - 8]
cmp dword [ebp - 8], 0x1f4
jbe reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0x1f4
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 8]
push reloc.shlwapi.dll_PathRemoveExtensionA
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0
lea eax, [ebp - 0x1c]
push eax
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp + 0xc]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push eax
push reloc.gdi32.dll_SetWorldTransform
push eax
push dword [ebp + 8]
call fcn.00403f0f
call fcn.00401871
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
jne reloc.gdi32.dll_SetWorldTransform
call fcn.00401871
leave
ret 8
Function at 0x40d6e8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [reloc.wsock32.dll_WSACleanup]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x824], eax
call fcn.00401871
push 0
push reloc.shlwapi.dll_PathIsRelativeA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x810], eax
push 0
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push reloc.shlwapi.dll_PathCanonicalizeA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [reloc.wsock32.dll_WSACleanup]
call fcn.00401d2a
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x814], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040d6e8
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 8
Function at 0x40db22
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x828], eax
call fcn.00401871
push 0
push reloc.shlwapi.dll_PathIsRelativeA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x810], eax
push 0
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x824]
push eax
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push reloc.shlwapi.dll_PathIsPrefixA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x810], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x814], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x818], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 0x10]
call fcn.00401522
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.00401558
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp + 0x10]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040db22
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0xc
Function at 0x40e35f
Capabilities:
Gather winzip information

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
push 0
push reloc.shlwapi.dll_ChrCmpIA
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 8], eax
push 0
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push reloc.shlwapi.dll_PathFindNextComponentA
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x10], eax
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x14], eax
push 0
push reloc.shlwapi.dll_PathRemoveExtensionA
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x1c], 0
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.00402ad7
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
shr dword [ebp - 0x1c], 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.0040427f
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 8], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0xc], 0
je reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x10], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 0x10]
call fcn.00401522
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call fcn.00401558
push dword [ebp - 0x14]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - 0x18]
push dword [ebp + 0x10]
call fcn.00401584
push dword [ebp - 8]
call fcn.00401871
push dword [ebp - 0xc]
call fcn.00401871
push dword [ebp - 0x10]
call fcn.00401871
push dword [ebp - 0x14]
call fcn.00401871
push dword [ebp - 0x18]
call fcn.00401871
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0xc
Function at 0x40e4a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
lea eax, [ebp - 0x814]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumValueA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
cmp dword [ebp - 0x814], 1
je reloc.gdi32.dll_SetWorldTransform
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401d2a
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 0x810], eax
push reloc.shlwapi.dll_StrRStrIA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call sub.shlwapi.dll_StrStrIA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.0040e226
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0xc
Function at 0x40eb2f
Capabilities:
Query or enumerate registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_GetPath
call fcn.00401888
mov dword [ebp - 0x818], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x810], eax
call fcn.00401871
push 0
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401db1
push eax
push eax
push reloc.gdi32.dll_AbortPath
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push 0x4150c6
push reloc.shlwapi.dll_StrDupA
push reloc.shlwapi.dll_SHRegGetBoolUSValueA
call sub.kernel32.dll_GetPrivateProfileStringA
cmp eax, 3
jbe reloc.gdi32.dll_SetWorldTransform
push reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_StrPBrkA
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0x10]
call fcn.004041f4
call fcn.00401871
push dword [ebp + 0x10]
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 8]
call fcn.0040eb2f
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
leave
ret 0xc
Function at 0x40f45f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0x10]
call fcn.00401db1
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401e05
mov dword [ebp - 0x810], eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f2ca
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0xc

Function at 0x40f4fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je reloc.gdi32.dll_SetWorldTransform
jmp reloc.gdi32.dll_SetWorldTransform
push reloc.shlwapi.dll_PathIsUNCServerShareW
push dword [ebp + 0x10]
call fcn.00401db1
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401e05
push dword [ebp + 0x14]
push eax
call fcn.00401e05
mov dword [ebp - 0x810], eax
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f45f
push dword [ebp - reloc.gdi32.dll_SetWorldTransform]
call fcn.00401871
inc dword [ebp - 8]
jmp reloc.gdi32.dll_SetWorldTransform
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0x10
Function at 0x410395
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
push edi
xor edx, eax
xor eax, edx
xor edx, eax
push reloc.gdi32.dll_FlattenPath
nop
clc
nop
jb reloc.gdi32.dll_SetWorldTransform
nop
ret
inc bh
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov edi, reloc.shlwapi.dll_PathRemoveBlanksA
push dword [ebp + 8]
pop dword [reloc.gdi32.dll_SetWorldTransform]
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 8]
call fcn.00401026
jmp reloc.gdi32.dll_SetWorldTransform
call fcn.004023c5
push dword [ebp + 8]
call fcn.004014db
mov dword [0x417f1d], eax
push dword fs:[0]
mov eax, esp
push dword fs:[0]
push ebp
push eax
push reloc.shlwapi.dll_PathIsURLA
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push eax
mov dword fs:[0], esp
push dword [ebp + 8]
call dword [edi]
cmp dword [edi], 0x4044a0
je reloc.gdi32.dll_SetWorldTransform
cmp eax, 0x10
je reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 4], 1
jmp reloc.gdi32.dll_SetWorldTransform
push dword [0x417f1d]
push dword [0x417f21]
call fcn.0040130e
add esp, 0x18
jmp reloc.gdi32.dll_SetWorldTransform
pop dword fs:[0]
add edi, 4
cmp dword [edi], 0
jne reloc.gdi32.dll_SetWorldTransform
mov eax, dword [ebp - 4]
pop edi
leave
ret 4

Function at 0x4103af
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, reloc.gdi32.dll_SetWorldTransform
push edi
xor edx, eax
xor eax, edx
xor edx, eax
push reloc.gdi32.dll_FlattenPath
nop
clc
nop
jb reloc.gdi32.dll_SetWorldTransform
nop
ret
inc bh
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov edi, reloc.shlwapi.dll_PathRemoveBlanksA
push dword [ebp + 8]
pop dword [reloc.gdi32.dll_SetWorldTransform]
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
je reloc.gdi32.dll_SetWorldTransform
push dword [ebp + 8]
call fcn.00401026
jmp reloc.gdi32.dll_SetWorldTransform
call fcn.004023c5
push dword [ebp + 8]
call fcn.004014db
mov dword [0x417f1d], eax
push dword fs:[0]
mov eax, esp
push dword fs:[0]
push ebp
push eax
push reloc.shlwapi.dll_PathIsURLA
push reloc.shlwapi.dll_SHRegDeleteUSValueW
push eax
mov dword fs:[0], esp
push dword [ebp + 8]
call dword [edi]
cmp dword [edi], 0x4044a0
je reloc.gdi32.dll_SetWorldTransform
cmp eax, 0x10
je reloc.gdi32.dll_SetWorldTransform
mov dword [ebp - 4], 1
jmp reloc.gdi32.dll_SetWorldTransform
push dword [0x417f1d]
push dword [0x417f21]
call fcn.0040130e
add esp, 0x18
jmp reloc.gdi32.dll_SetWorldTransform
pop dword fs:[0]
add edi, 4
cmp dword [edi], 0
jne reloc.gdi32.dll_SetWorldTransform
mov eax, dword [ebp - 4]
pop edi
leave
ret 4