Function at 0x402030
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe8
push 1
mov dword [esi + 0x4c], 1
call fcn.0042d0e3
add esp, 8
mov dword [esi + 4], eax
test eax, eax
je 0x4027ff
mov dword [eax + 0x18], 0
xorps xmm0, xmm0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fmi2GetTypesPlatform
mov dword [eax + 0x1c], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x20], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x24], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x28], 0
mov eax, dword [esi + 4]
movsd qword [eax + 0x30], xmm0
push dword [esi + 0xc]
mov dword [esi + 0x44], 1
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x38], 0
jne 0x4020d9
push str.Symbol_fmi2GetTypesPlatform_is_missing_in_shared_library.
mov eax, dword [esi + 0x14]
push str.fatal
push 4
push esi
call eax
add esp, 0x10
mov eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret
push str.fmi2GetVersion
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x3c], 0
jne 0x4020f9
push str.Symbol_fmi2GetVersion_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetDebugLogging
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x40], 0
jne 0x402119
push str.Symbol_fmi2SetDebugLogging_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2Instantiate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x44], 0
jne 0x402139
push str.Symbol_fmi2Instantiate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2FreeInstance
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x48], 0
jne 0x40215c
push str.Symbol_fmi2FreeInstance_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetupExperiment
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x4c], 0
jne 0x40217f
push str.Symbol_fmi2SetupExperiment_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2EnterInitializationMode
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x50], 0
jne 0x4021a2
push str.Symbol_fmi2EnterInitializationMode_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2ExitInitializationMode
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x54], 0
jne 0x4021c5
push str.Symbol_fmi2ExitInitializationMode_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2Terminate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x58], 0
jne 0x4021e8
push str.Symbol_fmi2Terminate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2Reset
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x5c], 0
jne 0x40220b
push str.Symbol_fmi2Reset_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetReal
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x60], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x60], 0
jne 0x40222e
push str.Symbol_fmi2GetReal_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetInteger
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x64], 0
jne 0x402251
push str.Symbol_fmi2GetInteger_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetBoolean
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x68], 0
jne 0x402274
push str.Symbol_fmi2GetBoolean_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetString
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x6c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x6c], 0
jne 0x402297
push str.Symbol_fmi2GetString_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetReal
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x70], 0
jne 0x4022ba
push str.Symbol_fmi2SetReal_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetInteger
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x74], 0
jne 0x4022dd
push str.Symbol_fmi2SetInteger_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetBoolean
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x78], 0
jne 0x402300
push str.Symbol_fmi2SetBoolean_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetString
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x7c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x7c], 0
jne 0x402323
push str.Symbol_fmi2SetString_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetFMUstate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x80], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x80], 0
jne 0x40234c
push str.Symbol_fmi2GetFMUstate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetFMUstate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x84], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x84], 0
jne 0x402375
push str.Symbol_fmi2SetFMUstate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2FreeFMUstate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x88], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x88], 0
jne 0x40239e
push str.Symbol_fmi2FreeFMUstate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SerializedFMUstateSize
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x8c], 0
jne 0x4023c7
push str.Symbol_fmi2SerializedFMUstateSize_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SerializeFMUstate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x90], 0
jne 0x4023f0
push str.Symbol_fmi2SerializeFMUstate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2DeSerializeFMUstate
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x94], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x94], 0
jne 0x402419
push str.Symbol_fmi2DeSerializeFMUstate_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetDirectionalDerivative
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x98], 0
jne 0x402442
push str.Symbol_fmi2GetDirectionalDerivative_is_missing_in_shared_library.
jmp 0x4020bf
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
test ebx, ebx
jne 0x4025eb
push str.fmi2EnterEventMode
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x9c], ebx
jne 0x402476
push str.Symbol_fmi2EnterEventMode_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2NewDiscreteStates
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xa0], 0
jne 0x40249f
push str.Symbol_fmi2NewDiscreteStates_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2EnterContinuousTimeMode
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xa4], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xa4], 0
jne 0x4024c8
push str.Symbol_fmi2EnterContinuousTimeMode_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2CompletedIntegratorStep
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xa8], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xa8], 0
jne 0x4024f1
push str.Symbol_fmi2CompletedIntegratorStep_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetTime
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xac], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xac], 0
jne 0x40251a
push str.Symbol_fmi2SetTime_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetContinuousStates
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xb0], 0
jne 0x402543
push str.Symbol_fmi2SetContinuousStates_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetDerivatives
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xb4], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xb4], 0
jne 0x40256c
push str.Symbol_fmi2GetDerivatives_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetEventIndicators
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xb8], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xb8], 0
jne 0x402595
push str.Symbol_fmi2GetEventIndicators_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetContinuousStates
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xbc], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xbc], 0
jne 0x4025be
push str.Symbol_fmi2GetContinuousStates_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetNominalsOfContinuousStates
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc0], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xc0], 0
jne 0x40275a
push str.Symbol_fmi2GetNominalsOfContinuousStates_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2SetRealInputDerivatives
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc4], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xc4], 0
jne 0x402612
push str.Symbol_fmi2SetRealInputDerivatives_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetRealOutputDerivatives
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc8], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xc8], 0
jne 0x40263b
push str.Symbol_fmi2GetRealOutputDerivatives_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2DoStep
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xcc], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xcc], 0
jne 0x402664
push str.Symbol_fmi2DoStep_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2CancelStep
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xd0], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xd0], 0
jne 0x40268d
push str.Symbol_fmi2CancelStep_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetStatus
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xd4], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xd4], 0
jne 0x4026b6
push str.Symbol_fmi2GetStatus_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetRealStatus
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xd8], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xd8], 0
jne 0x4026df
push str.Symbol_fmi2GetRealStatus_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetIntegerStatus
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xdc], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xdc], 0
jne 0x402708
push str.Symbol_fmi2GetIntegerStatus_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetBooleanStatus
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xe0], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xe0], 0
jne 0x402731
push str.Symbol_fmi2GetBooleanStatus_is_missing_in_shared_library.
jmp 0x4020bf
push str.fmi2GetStringStatus
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0xe4], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0xe4], 0
jne 0x40275a
push str.Symbol_fmi2GetStringStatus_is_missing_in_shared_library.
jmp 0x4020bf
mov edi, dword [ebp + 0x1c]
mov dword [eax], 0x402c10
mov eax, dword [esi + 4]
push edi
push dword [ebp + 0x18]
mov dword [eax + 4], fcn.0042d0e3
mov eax, dword [esi + 4]
mov dword [eax + 8], fcn.0042d0ee
mov eax, dword [esi + 4]
mov dword [eax + 0xc], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x10], esi
mov eax, dword [esi + 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x14]
mov eax, dword [eax + 0x44]
push ebx
push dword [esi + 0x3c]
call eax
mov edx, eax
add esp, 0x1c
mov eax, dword [esi + 0x18]
mov dword [esi + 0x38], edx
mov dword [ebp + 8], eax
test eax, eax
je 0x4027e8
mov ecx, dword [esi + 4]
mov eax, 3
push edi
push dword [ebp + 0x18]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push dword [ecx + 8]
push dword [ecx + 4]
push dword [ecx]
xor ecx, ecx
test edx, edx
push dword [ebp + 0xc]
cmovne eax, ecx
push dword [ebp + 0x14]
push ebx
push dword [esi + 0x3c]
push str.fmi2Instantiate_instanceName__s___fmuType_d__fmuGUID__s___fmuResourceLocation__s___functionslogger0x_p__allocateMemory0x_p__freeMemory0x_p__stepFinished0x_p__componentEnvironment0x_p__visible_d__loggingOn_d_
push eax
push esi
call dword [ebp + 8]
add esp, 0x38
cmp dword [esi + 0x38], 0
je 0x4027ff
pop edi
mov dword [esi + 0x50], ebx
xor eax, eax
mov dword [esi + 0x44], 2
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 3
pop ebx
pop ebp
ret