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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10415990]
xor eax, esp
mov dword [esp + 0x128], eax
mov edx, dword [0x10372e5c]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, 9
push 0x38
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [str.loginid]
lea eax, [esp + 0x100]
push eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
call sub.MSVCR100.dll_memset
mov ecx, dword [0x1045a9a4]
mov edx, dword [0x1045b8f0]
add esp, 0xc
xor eax, eax
push eax
push 0x59d
push 0x3c
push 0x3e9
push str.QIVWSessionBegin__DNN_ivwVersion_d._d._d
push 0x26c
push str......._source_appmsc_luacqivw.c
push ecx
push 2
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], eax
call fcn.10062060
add esp, 0x28
cmp dword [0x1045a8c4], 0
jne 0x1000ba4e
test edi, edi
je 0x1000ba35
mov dword [edi], 0x277f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret 0xc
push str.luacFramework_SetMacro____in_
call fcn.1001d170
xor eax, eax
add esp, 4
cmp eax, str.BUILD_IVW6X
je 0x1000ba83
push 1
push str.BUILD_IVW6X
mov edi, str.macros
call fcn.1006a040
push eax
push str.luacFramework_SetMacro____out___d
call fcn.1001d170
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x1045a9a4]
mov eax, dword [0x1045b8f0]
push 0
push ecx
push esi
push ebx
push str.QIVWSessionBegin5__x__x__x___in_
push 0x27f
push str......._source_appmsc_luacqivw.c
push edx
push 2
push eax
call fcn.10062060
add esp, 0x28
cmp dword [0x1045a9a8], 0
jbe 0x1000bac8
mov dword [esp + 0x14], 0x2794
jmp 0x1000bfac
push 0x68
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1000bae8
mov dword [esp + 0x14], 0x2775
jmp 0x1000bff9
push 0x60
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xf4]
push edx
push str.loginid
mov dword [esp + 0x24], 0x40
call sym.msc.dll_MSPGetParam
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push str._x_x_s
push 0x40
push edi
call fcn.1005f880
mov eax, edi
add esp, 0x18
lea ecx, [eax + 1]
jmp 0x1000bb40
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000bb40
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0xd4]
call fcn.100692f0
mov eax, dword [0x1045a9ac]
mov ecx, dword [0x1045a9a8]
lea edx, [esp + 0xd4]
push edx
inc eax
push eax
inc ecx
push ecx
push 0x40
push edi
mov eax, str.civw
mov byte [esp + 0xf8], 0
call fcn.100333b0
add esp, 0x1c
mov edi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push eax
push 0x10457b78
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], eax
call fcn.100610f0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test edi, edi
jne 0x1000bfb0
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [eax + 0x4c], edi
mov edx, dword [esp + 0x18]
push 1
push edx
push str.ivw_local
call fcn.1005bf70
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp dword [eax + 0x40], edi
je 0x1000bfb0
mov edx, dword [0x1045a9a8]
fild dword [0x1045a9a8]
mov dword [esp + 0x60], 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], 3
test edx, edx
jns 0x1000bc0e
fadd qword [0x10378770]
lea ecx, [esp + 0x38]
fstp qword [esp + 0x78]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x68]
push ecx
push 2
push 6
push edx
call fcn.1005c8b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfac
mov eax, dword [esp + 0x38]
fld qword [eax + 8]
call fcn.1015f310
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfac
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx + 8]
fld qword [eax + 8]
mov dword [esp + 0x84], edx
call fcn.1015f310
mov ecx, dword [esp + 0x44]
fld qword [ecx + 8]
mov dword [esp + 0x8c], eax
call fcn.1015f310
mov edx, dword [esp + 0x48]
fld qword [edx + 8]
mov dword [esp + 0x5c], eax
call fcn.1015f310
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
fld qword [eax + 8]
call fcn.1015f310
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
mov ecx, dword [0x1045a9a4]
push 0
push 0
push 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 8]
push ebx
push str.ivwKeywordInResFile___s
push 0x2ba
push str......._source_appmsc_luacqivw.c
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [0x1045b8f0]
push 2
push edx
call fcn.10062060
push str.ivw_network_id
push 0x2c
push 0x3d
push esi
call fcn.10061670
mov edi, eax
add esp, 0x38
test edi, edi
je 0x1000bd16
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x90]
push 0x1000b530
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
push 0x1037466c
call fcn.10028760
mov edx, dword [esp + 0x38]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x38]
add esp, 0x28
cmp dword [eax + 0x44], 0
je 0x1000bfb0
cmp dword [esp + 0x14], 0
jne 0x1000bfb0
mov edx, dword [eax + 0x40]
push 0
push 0
lea ecx, [esp + 0x68]
push ecx
push 2
push 0xf
push edx
mov dword [esp + 0x78], 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], 2
mov dword [esp + 0x90], 0x10457b78
call fcn.1005c8b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfac
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
push ecx
mov eax, ebx
call fcn.1000b2f0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfac
push str.ivwnet_mode
push 0x2c
push 0x3d
push esi
call fcn.10061670
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1000be8a
push 0x1037467c
push ebx
call fcn.10061320
add esp, 8
test eax, eax
jne 0x1000be80
mov edx, dword [esp + 0x10]
push str.ivw_netval
push 0x2c
push 0x3d
push esi
mov dword [edx + 0x54], 1
mov dword [esp + 0x34], 0x32
call fcn.10061670
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000be52
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x40]
lea eax, [esp + 0xb8]
push eax
push 1
push 8
push edx
mov dword [esp + 0xc8], 4
mov dword [esp + 0xd0], esi
call fcn.1005c740
add esp, 0x10
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push str.ivw_threshold
push 0x2c
push 0x3d
push esi
call fcn.10061670
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x40]
mov edi, eax
mov eax, dword [esp + 0x34]
push eax
push edx
mov edx, edi
call fcn.1000ac30
add esp, 0x18
mov ebx, eax
mov dword [esp + 0x14], ebx
test edi, edi
je 0x1000beca
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test ebx, ebx
jne 0x1000bfac
push 0x102953b8
push 0x2c
push 0x3d
push esi
call fcn.10061670
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000bf88
push str.oneshot
push edi
call fcn.10061320
add esp, 8
mov ebx, 1
test eax, eax
jne 0x1000bf7c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x90]
mov dword [ecx + 4], ebx
mov ecx, 4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], 0
test eax, eax
je 0x1000bf37
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
lea edx, [esp + 0x94]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x40]
lea ecx, [esp + 0x68]
push ecx
push 2
push 0xa
push eax
call fcn.1005c8b0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfa2
mov ecx, dword [esp + 0x94]
fld qword [ecx + 8]
call fcn.1015f310
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000bfa2
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x1000bf8d
mov ebx, 1
mov edx, dword [esp + 0x10]
add dword [0x1045a9a8], ebx
add dword [0x1045a9ac], ebx
mov dword [edx + 0x4c], ebx
jmp 0x1000bff9
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000bff9
cmp dword [eax + 0x44], 0
je 0x1000bfd1
mov edi, dword [eax + 0x44]
call fcn.10028c00
mov eax, dword [esp + 0x10]
mov dword [eax + 0x44], 0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x40], 0
je 0x1000bfe3
mov eax, dword [eax + 0x40]
call fcn.1005c5b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000bff1
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [esp + 0x10], 0
mov edi, dword [sym.imp.MSVCR100.dll_free]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], eax
jbe 0x1000c067
mov esi, dword [esp + eax*4 + 0x38]
test esi, esi
je 0x1000c05c
mov eax, dword [esi]
cmp eax, 4
je 0x1000c03f
cmp eax, 7
jne 0x1000c04c
lea edi, [esi + 8]
test edi, edi
je 0x1000c04c
mov eax, dword [edi]
test eax, eax
je 0x1000c04c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
test eax, eax
jne 0x1000c04c
mov dword [edi], eax
jmp 0x1000c04c
mov eax, dword [esi + 8]
test eax, eax
je 0x1000c04c
push eax
call edi
add esp, 4
mov edi, dword [sym.imp.MSVCR100.dll_free]
push esi
call edi
mov eax, dword [esp + 0x1c]
add esp, 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x1000c00b
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], eax
jbe 0x1000c0d2
mov esi, dword [esp + eax*4 + 0x94]
test esi, esi
je 0x1000c0c7
mov eax, dword [esi]
cmp eax, 4
je 0x1000c0aa
cmp eax, 7
jne 0x1000c0b7
lea edi, [esi + 8]
test edi, edi
je 0x1000c0b7
mov eax, dword [edi]
test eax, eax
je 0x1000c0b7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
add esp, 4
test eax, eax
jne 0x1000c0b7
mov dword [edi], eax
jmp 0x1000c0b7
mov eax, dword [esi + 8]
test eax, eax
je 0x1000c0b7
push eax
call edi
add esp, 4
mov edi, dword [sym.imp.MSVCR100.dll_free]
push esi
call edi
mov eax, dword [esp + 0x1c]
add esp, 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x1000c073
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000c0e0
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [0x1045a9a4]
mov ecx, dword [0x1045b8f0]
push 0
push 0
push 0
push edx
push str.QIVWSessionBegin____out___d
push 0x346
push str......._source_appmsc_luacqivw.c
push eax
push 2
push ecx
call fcn.10062060
mov ecx, dword [esp + 0x15c]
mov eax, dword [esp + 0x38]
add esp, 0x28
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret 0xc