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

Disassembly:
mov eax, 0x10bff6a
call fcn.0106f6c0
sub esp, 0x34
push ebx
push edi
call fcn.010207aa
mov dword [ebp - 0x14], eax
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call fcn.01052dda
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x105b271
xor eax, eax
jmp 0x105b9d0
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x105b286
mov dword [edi + 0x80], ebx
jmp 0x105b290
cmp eax, ebx
jne 0x105b29a
mov dword [edi + 0x80], ecx
mov eax, dword [ebp - 0x14]
mov word [eax + 0xb86], cx
push ebx
lea ecx, [ebp - 0x30]
call fcn.01019b05
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x105b2be
push 0x1f
push eax
push dword [0x10d356c]
push dword [0x10d3570]
call fcn.0105b158
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x105b2d9
push 0x1e
push eax
push dword [0x10d356c]
push dword [0x10d3570]
call fcn.0105b158
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x105b2f2
push eax
push dword [0x10d356c]
push dword [0x10d3570]
call fcn.0105a884
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x105b304
push eax
lea ecx, [edi + 0x74]
call fcn.0106e90a
jmp 0x105b37d
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
push ebx
push 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.01078063
mov dword [ebp - 0x20], eax
push 2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.010783d5
mov ecx, dword [ebp - 0x20]
push dword [ecx]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push 0x311
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x18]
lea ecx, [edi + 0x74]
call fcn.0106e90a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x105b395
push eax
lea ecx, [edi + 0x9c]
call fcn.0106e90a
jmp 0x105b416
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
push ebx
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.01078063
mov dword [ebp - 0x28], eax
push 2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.010783d5
mov ecx, dword [ebp - 0x28]
push dword [ecx]
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x18]
push 0x4ea4
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x18]
lea ecx, [edi + 0x9c]
call fcn.0106e90a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x105b441
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 0x8b8
mov dword [ebp - 4], 6
call fcn.0106e8f8
lea ecx, [ebp - 0x28]
jmp 0x105b472
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
push 0x277a
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
call sub.MFC42u.DLL_CString::LoadStringW
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
add ecx, 0x8b8
call fcn.0106e8f8
lea ecx, [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x105b48a
push eax
mov ecx, edi
call fcn.0105a4f6
call fcn.0106fab3
test ax, ax
je 0x105b81d
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x105b4ad
cmp dword [esi + 0x14], ebx
jne 0x105b4ad
cmp dword [esi + 0x18], ebx
je 0x105b81d
cmp eax, ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], bx
mov word [ebp - 0x3a], bx
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
je 0x105b6de
call fcn.01078524
mov edi, eax
cmp edi, ebx
je 0x105b58e
push edi
call fcn.0107851a
jmp 0x105b518
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x105b56b
cmp word [eax + 0x1c], 1
jne 0x105b510
push dword [esi + 0x2c]
add eax, 0x48
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x105b523
push dword [ebp + 0xc]
call fcn.0107852a
cmp dword [edi + 0x38], 3
mov dword [ebp + 0xc], eax
je 0x105b4ef
jmp 0x105b56b
lea eax, [edi + 0x3c]
push 0x50
push eax
call fcn.010207aa
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
call fcn.010207aa
mov ecx, dword [ebp - 0x10]
mov word [eax + 0xa0], bx
push 2
pop eax
mov dword [ecx + 0x7c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2ac], eax
mov eax, dword [ebp + 0xc]
add eax, 0x38
push eax
call fcn.0106fb41
lea eax, [edi + 0x3c]
push eax
call fcn.0105ab19
cmp dword [edi + 0x38], 3
jne 0x105b576
cmp dword [ebp + 0xc], ebx
jne 0x105b586
push edi
call fcn.0107852a
mov edi, eax
cmp edi, ebx
jne 0x105b4e7
cmp edi, ebx
jne 0x105b65c
call fcn.01078524
mov edi, eax
cmp edi, ebx
je 0x105b63a
push edi
call fcn.0107851a
jmp 0x105b5c8
cmp dword [ebp + 0xc], ebx
je 0x105b61b
push dword [esi + 0x2c]
mov eax, dword [ebp + 0xc]
add eax, 0x48
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x105b5d3
push dword [ebp + 0xc]
call fcn.0107852a
cmp dword [edi + 0x38], 3
mov dword [ebp + 0xc], eax
je 0x105b5a5
jmp 0x105b61b
lea eax, [edi + 0x3c]
push 0x50
push eax
call fcn.010207aa
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
call fcn.010207aa
mov ecx, dword [ebp - 0x10]
mov word [eax + 0xa0], bx
push 2
pop eax
mov dword [ecx + 0x7c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2ac], eax
mov eax, dword [ebp + 0xc]
add eax, 0x38
push eax
call fcn.0106fb41
lea eax, [edi + 0x3c]
push eax
call fcn.0105ab19
cmp dword [edi + 0x38], 3
jne 0x105b626
cmp dword [ebp + 0xc], ebx
jne 0x105b636
push edi
call fcn.0107852a
mov edi, eax
cmp edi, ebx
jne 0x105b59d
cmp edi, ebx
jne 0x105b65c
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc18
jmp 0x105b9ba
push dword [ebp + 0xc]
call fcn.0107852a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x105b6b3
jmp 0x105b6ab
cmp dword [ebp + 0xc], ebx
jne 0x105b67f
push edi
call fcn.0107851a
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x105b6ab
mov eax, dword [ebp + 0xc]
cmp word [eax + 0x1c], 1
jne 0x105b69c
push dword [esi + 0x2c]
add eax, 0x48
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x105b6bc
push dword [ebp + 0xc]
call fcn.0107852a
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x105b66d
push edi
call fcn.0107852a
mov edi, eax
cmp edi, ebx
jne 0x105b66d
jmp 0x105b92a
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc17
jmp 0x105b9ba
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x105b734
push eax
call fcn.010787bc
test eax, eax
je 0x105b7b7
push 0x50
push dword [esi + 0x14]
call fcn.010207aa
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
call fcn.010207aa
mov word [eax + 0xa0], bx
mov dword [edi + 0x7c], 2
call fcn.010207aa
push ebx
mov dword [eax + 0x2ac], 2
call fcn.0106fb41
push dword [esi + 0x14]
jmp 0x105b7ad
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x105b92a
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x105b7fb
lea eax, [ebp - 0x40]
push eax
call fcn.01078899
cmp eax, ebx
je 0x105b7d9
push eax
call fcn.0107880d
cmp eax, ebx
je 0x105b7b7
lea edi, [eax + 0x3c]
push 0x50
push edi
call fcn.010207aa
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
call fcn.010207aa
mov word [eax + 0xa0], bx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 2
call fcn.010207aa
mov dword [eax + 0x2ac], 2
lea eax, [ebp - 0x40]
push eax
call fcn.0106fb41
push edi
call fcn.0105ab19
jmp 0x105b92a
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc1f
jmp 0x105b9ba
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc1b
jmp 0x105b9ba
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc1e
jmp 0x105b9ba
cmp dword [esi + 0xc], ebx
je 0x105b99d
call fcn.0107d310
push 0x104
push dword [esi + 0xc]
call fcn.010207aa
add eax, 0xa2
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
push dword [esi + 0xc]
call fcn.0107d285
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
push 0x4e9e
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 8
call sub.MFC42u.DLL_CString::LoadStringW
push 0x50
push dword [ebp + 0xc]
call fcn.010207aa
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
call fcn.010207aa
mov word [eax + 0xa0], bx
call fcn.0104a3e2
push dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 9
call fcn.0106e8f8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
mov dword [edi + 0x7c], 1
call fcn.010207aa
xor edi, edi
inc edi
mov dword [eax + 0x2ac], edi
push dword [esi + 0xc]
call fcn.0105aa7f
call fcn.0104adb1
cmp eax, edi
jne 0x105b91e
push ebx
push ebx
push ebx
call fcn.0104beb8
push 0x1f4
xor esi, esi
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc1b
push esi
push esi
push ebx
call fcn.0104beb8
push 8
push ebx
call fcn.0104beb8
or dword [ebp - 4], 0xffffffff
add esp, 0x34
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
jmp 0x105b9cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esi + 4]
sub esi, ebx
je 0x105b98b
dec esi
je 0x105b97c
dec esi
je 0x105b96d
dec esi
je 0x105b95e
dec esi
je 0x105b94f
dec esi
jne 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 5
jmp 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 3
jmp 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 2
jmp 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 4
jmp 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 1
jmp 0x105b998
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 6
xor eax, eax
inc eax
jmp 0x105b9cf
push ebx
push ebx
push ebx
call fcn.0104beb8
xor esi, esi
push 0x1f4
inc esi
push esi
push esi
push ebx
call fcn.0104beb8
push 0xc1a
push esi
push esi
push ebx
call fcn.0104beb8
push 8
push ebx
call fcn.0104beb8
add esp, 0x34
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8