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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x23a48308
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23a7ca94]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
push 0x24
push 0x32a
mov ecx, 0x23a7cd30
call dword [sym.imp.UICore.dll_public:_int___thiscall_CUICoreApp::Question_unsigned_int__unsigned_int_]
cmp eax, 6
jne 0x23a307c4
call sub.mfc90u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc90u.dll_CCmdTarget::BeginWaitCursor
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], 0
call fcn.23a2ecd0
xor esi, esi
mov eax, dword [0x23a7d100]
mov byte [esp + 0x80], 2
test eax, eax
je 0x23a3053a
mov dword [esp + 0x18], eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebx + 0xe0]
mov eax, dword [eax]
mov ebp, dword [ebx + 0xc8]
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
jmp 0x23a30490
mov esi, dword [ebx + 0xe0]
mov eax, dword [ebx + 0xc8]
test ebp, ebp
je 0x23a304a4
cmp ebp, eax
je 0x23a304aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x23a305c3
test ebp, ebp
jne 0x23a3056b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x23a304cd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x130]
sub ecx, dword [ebx + 0x12c]
mov esi, dword [edi + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
add edi, 0xc
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x23a304fc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
imul esi, esi, 0x7c
add esi, dword [ebx + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push esi
call eax
test eax, eax
je 0x23a30573
push eax
push str.pViewer__DeleteScreenshot___failed_with_0x_08X_error
call dword [sym.imp.actLogger32.dll_void___cdecl_logError_char_const__]
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.23a2ae00
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x23a30490
mov byte [esp + 0x80], 1
test esi, esi
je 0x23a3079f
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x23a3079f
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
jmp 0x23a3079f
mov eax, dword [ebp]
jmp 0x23a304c2
test ebp, ebp
jne 0x23a305be
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
jne 0x23a3058e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push edi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x5c]
call fcn.23a2dce0
push esi
mov ecx, 0x23a7cc6c
call fcn.23a29500
lea ecx, [esp + 0x1c]
call fcn.23a2ae00
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x23a30490
mov eax, dword [ebp]
jmp 0x23a3057f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
je 0x23a305e1
push eax
push str.pViewer__CleanupScreenshots___failed_with_0x_08X_error
call dword [sym.imp.actLogger32.dll_void___cdecl_logError_char_const__]
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.23a2de40
mov ecx, dword [ebx + 0x130]
sub ecx, dword [ebx + 0x12c]
lea edi, [ebx + 0x120]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov esi, 0
mov byte [esp + 0x80], 3
mov dword [esp + 0x1c], esi
je 0x23a306b2
jmp 0x23a30630
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.23a2d300
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x23a30661
cmp eax, dword [esp + 0x28]
je 0x23a30667
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x2c]
cmp dword [ebx + 4], ecx
jne 0x23a306a5
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x23a30693
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, esi
imul ecx, ecx, 0x7c
add ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x40]
call fcn.23a30010
inc esi
mov dword [esp + 0x1c], esi
cmp esi, ebp
jb 0x23a30630
mov ebx, dword [esp + 0x24]
mov edx, dword [ebx + 0xe0]
mov ebp, dword [edx + 4]
add ebx, 0xc8
cmp byte [ebp + 0x11], 0
mov esi, ebp
jne 0x23a306ee
lea esp, [esp]
mov eax, dword [esi + 8]
push eax
mov ecx, ebx
call fcn.23a2b8c0
mov esi, dword [esi]
push ebp
call sub.mfc90u.dll_delete
add esp, 4
cmp byte [esi + 0x11], 0
mov ebp, esi
je 0x23a306d0
mov eax, dword [ebx + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x18]
xor ebp, ebp
mov dword [ebx + 0x1c], ebp
mov dword [eax], eax
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
mov dword [eax + 8], eax
call fcn.23a2fe90
mov esi, dword [esp + 0x48]
mov byte [esp + 0x80], 4
cmp esi, ebp
je 0x23a30743
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x23a3073a
mov ecx, esi
call fcn.23a2a4c0
add esi, 0x7c
cmp esi, edi
jne 0x23a30728
mov esi, dword [esp + 0x48]
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov byte [esp + 0x84], 2
call sub.mfc90u.dll_delete
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
add esp, 4
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.23a2a700
mov esi, dword [esp + 0x18]
lea eax, [esi + 4]
push eax
mov byte [esp + 0x84], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x23a3079f
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.23a2e9c0
lea ecx, [esp + 0x17]
mov dword [esp + 0x80], 0xffffffff
call fcn.23a0a070
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret