Function at 0x43da10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareRocscienceSwedgeSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43df56
mov edx, dword [esi + 0x10]
mov al, byte [esi + 0x11]
shr edx, 0x10
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
and edx, 0xff
xor ecx, ecx
push ebp
mov cl, byte [esi + 0x10]
and eax, 0xff
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
mov dword [esp + 0x24], 1
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x14]
dec ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push str.wedgeRGB
push edx
call ebp
test eax, eax
jne 0x43df3d
mov eax, dword [esi + 0x30]
xor ecx, ecx
mov cl, byte [esi + 0x31]
xor edx, edx
mov dl, byte [esi + 0x30]
and ecx, 0xff
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x10], 1
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push str.shotcreteRGB
push eax
call ebp
mov ecx, dword [esi + 0x14]
xor edx, edx
mov dl, byte [esi + 0x15]
xor eax, eax
mov al, byte [esi + 0x14]
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x10], 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push str.slopeRGB
push ecx
call ebp
mov edx, dword [esi + 0x18]
xor eax, eax
mov al, byte [esi + 0x19]
mov dword [esp + 0x10], 1
shr edx, 0x10
and edx, 0xff
and eax, 0xff
xor ecx, ecx
push edx
mov cl, byte [esi + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x14]
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push str.bgRGB
push edx
call ebp
mov eax, dword [esi + 0x1c]
xor ecx, ecx
mov cl, byte [esi + 0x1d]
xor edx, edx
mov dl, byte [esi + 0x1c]
and ecx, 0xff
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x10], 1
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push str.boltRGB
push eax
call ebp
mov ecx, dword [esi + 0x20]
xor edx, edx
mov dl, byte [esi + 0x21]
xor eax, eax
mov al, byte [esi + 0x20]
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x10], 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
not ecx
dec ecx
push ecx
push edx
push eax
push 0
push str.selectRGB
mov ecx, dword [esp + 0x28]
push ecx
call ebp
mov edx, dword [esi + 0x24]
xor eax, eax
mov al, byte [esi + 0x25]
xor ecx, ecx
mov cl, byte [esi + 0x24]
and eax, 0xff
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x10], 1
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x14]
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push str.waterRGB
push edx
call ebp
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov cl, byte [esi + 0x29]
xor edx, edx
mov dl, byte [esi + 0x28]
and ecx, 0xff
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x10], 1
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push str.seismicRGB
push eax
call ebp
mov ecx, dword [esi + 0x2c]
xor edx, edx
mov dl, byte [esi + 0x2d]
mov dword [esp + 0x10], 1
shr ecx, 0x10
and ecx, 0xff
and edx, 0xff
xor eax, eax
push ecx
mov al, byte [esi + 0x2c]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push str.externalRGB
push ecx
call ebp
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.0043d7b0
push eax
lea edx, [esp + 0x20]
push 0x57bb4c
push edx
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x14]
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push str.DrawType
push edx
call ebp
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.00419140
and eax, 0xff
push eax
lea eax, [esp + 0x20]
push 0x57bb4c
push eax
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push str.DrawNorth
push eax
call ebp
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.00419130
and eax, 0xff
lea ecx, [esp + 0x1c]
push eax
push 0x57bb4c
push ecx
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push str.DrawLabels
push ecx
call ebp
mov edx, dword [esi + 0x35c]
mov eax, dword [esi + 0x350]
mov ecx, dword [esi + 0x358]
push edx
mov edx, dword [esi + 0x354]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push str._d__d__d__d
push eax
mov dword [esp + 0x28], 1
call ebx
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push str.DrawForces
push eax
call ebp
mov ecx, dword [esi + 0x360]
lea edx, [esp + 0x1c]
push ecx
push 0x57bb4c
push edx
mov dword [esp + 0x1c], 1
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x14]
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
push 0
push str.DrawResultant
push edx
call ebp
mov eax, dword [esp + 0x14]
mov esi, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x40
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x40
ret