Function at 0x40355f
Capabilities:
Load windows common language runtime
Print debug messages

Disassembly:
mov eax, 0x43fcf6
call fcn.0042f618
push ecx
mov eax, 0x402c
call fcn.0042f1b0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 0x10], esp
lea eax, [esi + 0x14]
mov dword [ebp - 0x2c], esi
push eax
call edi
lea eax, [esi + 0x3c]
push eax
call edi
lea eax, [esi + 0x68]
push eax
call edi
lea eax, [esi + 0x88]
push eax
call edi
lea eax, [esi + 0xa0]
push eax
call edi
push 0x452c20
push 0x4413a0
push 0x4413b0
xor ebx, ebx
push 3
push ebx
push ebx
call sub.mscoree.dll_CorBindToRuntimeEx
mov eax, dword [0x452c20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 4], ebx
call fcn.0040df63
mov dword [esi + 0x60], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, ebx
je 0x4035f5
push ebx
push ebx
mov edi, 0xd000abcd
push 1
push edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edi, 0xd000abcd
lea eax, [esi + 0x64]
push eax
push 0x441560
push 0x17
push ebx
push 0x441370
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x40362b
push str.ElecrocSvc_not_registered_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi + 0x64]
push dword [esi + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
je 0x403651
push str.ElecrocSvc_fail_to_initiate_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push esi
call fcn.0040390f
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push esi
call fcn.00403950
call fcn.0040c42e
mov dword [esi + 0x84], eax
lea eax, [ebp - 0x18]
push eax
push 0x441340
push 0x17
push ebx
push 0x441350
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x84]
imul eax, eax, 0x3e8
push eax
call fcn.0040c55f
mov al, byte [0x452c14]
mov ecx, 0x7cf
mov byte [ebp - 0x1f70], al
xor eax, eax
lea edi, [ebp - 0x1f6f]
lea edx, [ebp - 0x1f70]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x30], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
lea eax, [ebp - 0x1f70]
push 0x7c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1f70]
push eax
call fcn.0042f6e0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x20], ebx
cmp edi, ebx
je 0x4037a3
lea eax, [ebp - 0x20]
mov byte [edi], bl
push eax
push 0x44b0e0
push dword [ebp - 0x14]
call fcn.0042f8c4
inc edi
push 0x7c
push edi
mov dword [ebp - 0x14], edi
call fcn.0042f6e0
mov edi, eax
push 0x20cc
lea eax, [ebp - 0x403c]
push ebx
push eax
call fcn.0042f0a0
mov eax, dword [ebp - 0x20]
add esp, 0x20
mov dword [ebp - 0x403c], eax
mov eax, dword [esi + 0x60]
lea edx, [ebp - 0x403c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
lea eax, [ebp - 0x3eb4]
push eax
lea eax, [ebp - 0x3f38]
push eax
lea eax, [ebp - 0x4038]
push eax
push dword [ebp - 0x403c]
call fcn.0040c460
mov ecx, dword [esi + 0x84]
add esp, 0x10
push eax
call fcn.0040c668
jmp 0x403715
mov ecx, dword [esi + 0x84]
call fcn.0040c574
push 0x64
mov dword [0x452e20], esi
call fcn.0042f231
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x4037d8
lea eax, [esi + 4]
add esi, 0x14
push eax
push esi
call fcn.0040384d
mov ebx, eax
mov dword [0x452c24], ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret