Function at 0x406ba4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fd04
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10134
call fcn.00445f70
mov eax, dword [0x47b570]
xor eax, esp
mov dword [esp + 0x10130], eax
push ebx
push esi
push edi
mov eax, dword [0x47b570]
xor eax, esp
push eax
lea eax, [esp + 0x10148]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, str.Zbv05AiN1PtOmPXgJdibhw_Z6P8dxZrKQteR
mov dword [esp + 0x1c], ebx
call fcn.00420467
push eax
call fcn.0041f822
cmp byte [ebx + 0x195], 0
pop ecx
jne 0x4070f3
cmp dword [ebx + 0xd0], 0
je 0x4070f3
mov edi, 0x46afbc
mov esi, ebx
mov byte [ebx + 0x195], 1
call fcn.00407b99
push str.cmdl
lea esi, [esp + 0x28]
call fcn.004022ed
and dword [esp + 0x10150], 0
push 1
lea ecx, [esp + 0x124]
call fcn.0041849e
pop ecx
mov esi, eax
lea ecx, [ebx + 0x150]
lea edx, [esp + 0x24]
mov byte [esp + 0x10150], 1
mov dword [esp + 0x14], ecx
call fcn.00408df1
mov ebx, esi
call fcn.00409812
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.00402342
or dword [esp + 0x10150], 0xffffffff
push 1
lea esi, [esp + 0x28]
call fcn.00402342
push str._srvlog
lea esi, [esp + 0x28]
call fcn.004022ed
mov ecx, dword [esp + 0x14]
mov edx, esi
mov dword [esp + 0x10150], 2
call fcn.00408df1
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
add eax, 0x11c
call fcn.00401feb
or dword [esp + 0x10150], 0xffffffff
push 1
call fcn.00402342
call fcn.0041d5e7
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xcc]
call fcn.0042bd9b
mov dword [esp + 0x10150], 3
cmp dword [esp + 0xe0], 8
mov ecx, dword [esp + 0xcc]
jae 0x406d19
lea ecx, [esp + 0xcc]
mov eax, dword [esp + 0x1c]
add eax, 0xc0
cmp dword [eax + 0x14], 8
mov dword [esp + 0x20], eax
jb 0x406d2e
mov eax, dword [eax]
push ecx
push eax
mov ecx, str.F8nuqwzWicoGrMnHRpfL_AaJ9PgIl4rOUpi7ri9
call fcn.00420467
push eax
call fcn.0041f822
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0042bc3b
sub esp, 0x1c
mov byte [esp + 0x1016c], 4
lea eax, [esp + 0x5c]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00411d64
lea eax, [esp + 0xcc]
push eax
call fcn.004088ba
lea ecx, [esp + 0xb0]
mov byte [esp + 0x10150], 5
call fcn.0042b887
mov ecx, str.H5v_5VY
call fcn.004204c2
push eax
lea esi, [esp + 0x60]
call fcn.004022ed
push 0x5be6
mov ecx, str.ELza6RmFrg
mov byte [esp + 0x10154], 6
call fcn.004204c2
pop ecx
push eax
mov eax, esi
push eax
call fcn.00408d24
push str.kjxWL
mov eax, esi
push eax
call fcn.00408d24
push 0x267d
push 0xa80
mov ecx, str.TLzdvy_j
call fcn.004204c2
pop ecx
pop ecx
push eax
mov eax, esi
push eax
call fcn.00408d24
push str.LTXft
mov eax, esi
push eax
call fcn.00408d24
push str.pBc7yN_
mov eax, esi
push eax
call fcn.00408d24
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
call fcn.00409865
cmp dword [esp + 0x54], 8
mov esi, dword [esp + 0x40]
jae 0x406e26
lea esi, [esp + 0x40]
call fcn.0042b67c
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
mov esi, 0xfde9
push esi
call dword [0x47f4a8]
mov dword [esp + 0x18], eax
inc eax
push eax
call fcn.0042e9e4
cmp dword [esp + 0x58], 8
mov edi, eax
mov eax, dword [esp + 0x44]
pop ecx
jae 0x406e5c
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.0042b67c
push ebx
push ebx
push dword [esp + 0x20]
push edi
push 0xffffffffffffffff
push dword [esp + 0x24]
push ebx
push esi
call dword [0x47f4a8]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004027f6
lea ecx, [esp + 0x24]
lea esi, [esp + 0xe8]
mov byte [esp + 0x10150], 7
call fcn.004241ee
push ebx
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10158], 9
call fcn.004026a5
push edi
call fcn.00430e3d
lea esi, [esp + 0x7c]
mov dword [esp], 0x46c3f8
call fcn.004022ed
push str.capp
lea esi, [esp + 0x28]
mov byte [esp + 0x10154], 0xa
call fcn.004022ed
mov eax, esi
mov esi, dword [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x10154], 0xb
call fcn.00408ecb
mov eax, dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x28]
mov dword [esp + 0x14], eax
mov byte [esp + 0x10154], 0xa
call fcn.00402342
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x154]
je 0x406f4a
push 0xffffffffffffffff
add eax, 0x28
push ebx
lea ecx, [esp + 0x80]
call fcn.00401feb
lea ecx, [esp + 0x78]
call fcn.0042b887
push 0x46a818
lea esi, [esp + 0x98]
call fcn.004022ed
push 0x46b060
lea esi, [esp + 0x28]
mov byte [esp + 0x10154], 0xc
call fcn.004022ed
mov eax, esi
mov esi, dword [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x10154], 0xd
call fcn.00408ecb
mov eax, dword [eax]
push 1
xor edi, edi
lea esi, [esp + 0x28]
mov dword [esp + 0x14], eax
mov byte [esp + 0x10154], 0xc
call fcn.00402342
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp eax, dword [edi + 0x154]
je 0x406fc6
push 0xffffffffffffffff
add eax, 0x28
push ebx
lea ecx, [esp + 0x9c]
call fcn.00401feb
cmp dword [esp + 0xc4], 8
mov esi, dword [esp + 0xb0]
jae 0x406fde
lea esi, [esp + 0xb0]
cmp dword [esp + 0xfc], 0x10
mov edx, dword [esp + 0xe8]
jae 0x406ff6
lea edx, [esp + 0xe8]
cmp dword [esp + 0xa8], 8
mov ecx, dword [esp + 0x94]
jae 0x40700e
lea ecx, [esp + 0x94]
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x407020
lea eax, [esp + 0x78]
push esi
push edx
push ecx
push eax
push str.capp_scid_smhx_Sbase_s
lea eax, [esp + 0x150]
push 0x8000
push eax
call fcn.004311bc
add esp, 0x1c
xor esi, esi
call fcn.00421578
jmp 0x40705d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00421578
inc esi
cmp esi, 0x1e
jg 0x407061
cmp al, bl
je 0x407047
lea eax, [esp + 0x13c]
push eax
lea esi, [esp + 0x108]
call fcn.004022ed
mov byte [esp + 0x10150], 0xe
movzx eax, byte [edi + 0x82]
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.0041be41
pop ecx
pop ecx
push 1
xor edi, edi
call fcn.00402342
push 1
lea esi, [esp + 0x98]
call fcn.00402342
push 1
lea esi, [esp + 0x7c]
call fcn.00402342
push ebx
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esp + 0xf0]
call fcn.004026a5
push ebx
lea esi, [esp + 0x60]
call fcn.00402342
push ebx
lea esi, [esp + 0xb4]
call fcn.00402342
push ebx
lea esi, [esp + 0x44]
call fcn.00402342
push ebx
lea esi, [esp + 0xd0]
call fcn.00402342
mov ecx, dword [esp + 0x10148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10130]
xor ecx, esp
call fcn.0042fd59
mov esp, ebp
pop ebp
ret