Function at 0x438d80
Capabilities:
Encode data using xor
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebx + 0x30ec]
xor edi, edi
push edi
mov dword [ebp - 4], edi
mov cx, word [eax + 0x28]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], edi
mov word [ebp - 0x64], cx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebx + 0x30f0]
push edx
call dword [sym.imp.KERNEL32.dll_PulseEvent]
mov eax, dword [ebx + 0x30f0]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 0x30f0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebx + 0x31a8]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x438e63
mov esi, dword [ebx + 0x30b4]
cmp esi, edi
je 0x438e52
mov eax, dword [ebx + 0x30b8]
mov edx, eax
dec eax
test edx, edx
je 0x438e3d
lea edi, [eax + 1]
push 0
mov ecx, esi
call fcn.00438470
add esi, 4
dec edi
jne 0x438e2c
xor edi, edi
mov eax, dword [ebx + 0x30b4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x30b4], edi
mov dword [ebx + 0x30bc], edi
mov dword [ebx + 0x30b8], edi
jmp 0x438fba
mov ecx, dword [ebx + 0x30b4]
cmp ecx, edi
jne 0x438ec2
lea edi, [esi*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x30b4], edx
mov dword [ebp - 0x20], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
lea ecx, [esi]
test eax, eax
je 0x438eab
mov dword [eax], 0
add eax, 4
dec ecx
jne 0x438ea1
mov dword [ebx + 0x30bc], esi
mov dword [ebx + 0x30b8], esi
jmp 0x438fb8
mov edi, dword [ebx + 0x30bc]
cmp esi, edi
jg 0x438f08
mov eax, dword [ebx + 0x30b8]
cmp eax, esi
jge 0x438eef
mov edx, esi
sub edx, eax
lea eax, [ecx + eax*4]
push edx
push eax
call fcn.004384d0
mov dword [ebx + 0x30b8], esi
jmp 0x438fb8
jle 0x438efd
sub eax, esi
lea ecx, [ecx + esi*4]
push eax
push ecx
call fcn.0043adc0
mov dword [ebx + 0x30b8], esi
jmp 0x438fb8
mov eax, dword [ebx + 0x30c0]
test eax, eax
jne 0x438f39
mov eax, dword [ebx + 0x30b8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x438f2d
mov eax, 4
jmp 0x438f39
cmp eax, 0x400
jle 0x438f39
mov eax, 0x400
add eax, edi
cmp esi, eax
mov dword [ebp - 0x14], eax
jl 0x438f45
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0x14]
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x30b8]
mov esi, dword [ebx + 0x30b4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [ebp - 0x24], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x30b8]
mov edx, esi
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.004384d0
mov eax, dword [ebx + 0x30b4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebx + 0x30b4], ecx
mov dword [ebx + 0x30b8], esi
mov dword [ebx + 0x30bc], edx
xor edi, edi
lea eax, [ebx + 0x31f8]
push edi
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [ebx + 0x30e4]
lea ecx, [ebp - 0x38]
mov esi, eax
shl eax, 0x1c
shl esi, 0x1f
sar eax, 0x1f
sar esi, 0x1f
mov edi, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x54], edi
call sub.MFC42.DLL_CSingleLock::Unlock
test esi, esi
je 0x439052
mov ecx, ebx
call fcn.00439e70
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CSingleLock::Lock
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x38]
or edx, 8
mov dword [ebx + 4], edx
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [ebx + 0x30dc]
push 4
push 0
push 0x4c8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x38]
and al, 0xf7
mov dword [ebx + 4], eax
call sub.MFC42.DLL_CSingleLock::Unlock
jmp 0x439064
test edi, edi
jne 0x4391f2
mov eax, dword [0x52bce8]
test eax, eax
je 0x4390bf
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [eax]
mov esi, dword [0x52bce8]
add eax, 0x10
xor edx, edx
imul eax, dword [esi]
mov ecx, 0x76
mov edi, 0x7e
div ecx
lea ecx, [esi + 4]
inc edx
xor eax, eax
add eax, eax
xor eax, dword [ecx]
add ecx, 4
dec edi
jne 0x43909f
mov edi, dword [esi + edx*4]
mov edx, dword [esi + 0x1fc]
sub edi, edx
add edi, eax
cmp edi, 0xffffffff
je 0x4391f2
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0x4f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
push 0x70
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x65
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x6e
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x54
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x68
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x72
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x65
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x61
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0x64
lea ecx, [ebp - 0x14]
call fcn.004212da
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 0x14]
add eax, 0x40
push edx
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov esi, dword [ecx - 8]
dec esi
js 0x439161
push 0x20
push esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::SetAt
dec esi
jns 0x439153
push edi
push 0
push 0x100002
call dword [ebp - 0x20]
mov edi, eax
test edi, edi
jne 0x439183
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x439dad
xor esi, esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4391d7
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4391d5
lea edx, [ebp - 0x20]
push edx
call fcn.00470c20
mov eax, dword [eax]
push 0x528278
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0xc
lea ecx, [ebp - 0x20]
test eax, eax
setne byte [ebp - 0x19]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x19]
test al, al
je 0x4391d5
mov esi, 1
jmp 0x4391d7
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x439dad
lea eax, [ebx + 0x28]
push eax
push ebx
call fcn.0043a050
jmp 0x43920c
mov ecx, dword [ebx + 0x31a8]
lea edx, [ecx*4 - 4]
push edx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [ebx + 0x31a8]
mov dword [ebp - 0x44], edi
add esp, 4
lea ecx, [eax*4 - 4]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x3190]
shr edx, 6
test eax, eax
mov dword [ebp - 0x5c], edx
je case.0x439362.23
mov edx, dword [ebx + 0x3194]
mov edi, dword [ebx + 0x20]
dec edx
cmp edi, edx
ja case.0x439362.23
mov ecx, dword [ebx + 0x3190]
mov eax, dword [ebp - 0x2c]
lea edi, [edi + edi*8]
add edi, ecx
test eax, eax
mov dword [ebp - 0x24], edi
jne 0x4392bb
mov eax, dword [ebx + 0x24]
mov esi, dword [edi + 1]
xor edx, edx
cmp eax, esi
sete dl
mov ecx, ebx
call fcn.0044a600
test eax, eax
je 0x4392bb
mov word [ebx + 0x30cc], 0xffff
jmp 0x439644
mov ecx, ebx
call fcn.0044a790
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4392d6
mov ecx, dword [edi + 1]
push ecx
mov ecx, ebx
call fcn.0044a850
jmp 0x439348
cmp word [ebp - 0x64], 0
je 0x439348
lea eax, [ebx + 0x31f8]
push 0
push eax
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [ebx + 4]
test al, 4
jne 0x439339
shl eax, 0x1c
sar eax, 0x1f
lea ecx, [ebp - 0x88]
mov esi, eax
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CSingleLock::Unlock
test esi, esi
je 0x439348
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4392dd
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CSingleLock::Unlock
mov eax, dword [edi + 1]
test eax, eax
je 0x439352
mov dword [ebx + 0x24], eax
xor eax, eax
mov al, byte [edi]
add eax, 0xfffffffe
cmp eax, 0x1d
ja case.0x439362.3
jmp dword [eax*4 + 0x439ddc]
mov edx, dword [edi + 5]
push 0
mov ecx, ebx
lea esi, [ebx + 0x28]
call fcn.0043a900
push eax
mov ecx, esi
call fcn.0043df50
mov ecx, dword [ebx + 0x30dc]
and eax, 0xff
test ecx, ecx
je case.0x439362.3
test eax, eax
jne case.0x439362.3
jmp 0x439ad8
mov edx, dword [edi + 5]
push 1
mov ecx, ebx
call fcn.0043a900
mov esi, eax
lea ecx, [ebx + 0x28]
push esi
call fcn.0043df50
and eax, 0xff
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
test eax, eax
je 0x4393c9
mov eax, dword [eax]
jmp 0x4393cb
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [esi]
test eax, eax
je 0x439405
mov eax, dword [eax]
test eax, eax
je 0x439405
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [ebp - 0x3c], eax
jae 0x439405
mov eax, dword [ebp - 0x24]
mov cx, word [eax]
add eax, 2
neg cx
mov word [eax - 2], cx
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x3c]
jmp 0x4393d5
mov eax, dword [ebp - 0x28]
test eax, eax
jne case.0x439362.3
mov eax, dword [ebx + 0x30dc]
test eax, eax
je case.0x439362.3
lea ecx, [ebx + 0x28]
jmp 0x439ada
mov ecx, dword [edi + 5]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebx + 0x31a0]
call fcn.00439e60
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea edx, [ebp - 0x110]
lea ecx, [ebx + 0x28]
push edx
call fcn.0043e2c0
mov si, word [eax + 8]
mov eax, dword [ebx + 4]
xor ecx, ecx
mov dword [ebp - 4], 1
test si, si
sete cl
xor ecx, eax
xor edx, edx
and ecx, 1
xor ecx, eax
mov eax, dword [ebx + 0x20]
and ecx, 0xfffffffd
test si, si
setl dl
and edx, 1
shl edx, 1
or ecx, edx
inc eax
mov dword [ebx + 4], ecx
mov dword [ebx + 0x20], eax
jmp 0x43926e
mov eax, dword [edi + 5]
mov dword [ebx + 0x20], eax
jmp 0x43926e
test byte [ebx + 4], 1
jne case.0x439362.16
inc dword [ebx + 0x20]
jmp 0x43926e
test byte [ebx + 4], 1
je case.0x439362.16
inc dword [ebx + 0x20]
jmp 0x43926e
mov eax, dword [ebx + 4]
test al, 2
jne case.0x439362.3
test al, 1
je case.0x439362.16
inc dword [ebx + 0x20]
jmp 0x43926e
test byte [ebx + 4], 2
je case.0x439362.16
inc dword [ebx + 0x20]
jmp 0x43926e
test byte [ebx + 4], 2
jne case.0x439362.16
inc dword [ebx + 0x20]
jmp 0x43926e
mov eax, dword [ebx + 4]
test al, 2
jne case.0x439362.16
test al, 1
je case.0x439362.3
mov ecx, dword [edi + 5]
mov eax, dword [ebx + 0x20]
add eax, ecx
mov dword [ebx + 0x20], eax
jmp 0x43926e
mov eax, dword [ebx + 0x1c]
cmp eax, 0x2000
jb 0x4395b6
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x439d7a
mov eax, dword [ebx + 0x30dc]
test eax, eax
je 0x439644
push 0
push 0
lea ecx, [ebp - 0x78]
push str.CoreLibRunTimeStackOverflow
push ecx
call fcn.0041d690
add esp, 0x10
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [edi + 1]
push eax
mov eax, dword [ebx + 0x30dc]
push edx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x439644
mov edx, dword [ebx + 0x20]
lea ecx, [eax + 1]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebx + 0xc]
inc edx
mov dword [ecx + eax*4], edx
mov edx, dword [edi + 5]
mov dword [ebx + 0x20], edx
jmp 0x43926e
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4395ea
dec eax
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebx + 0x20], edx
jmp 0x43926e
mov eax, dword [ebx + 0x30dc]
test eax, eax
je case.0x439362.23
push 0
push 0
lea eax, [ebp - 0x58]
push str.CoreLibRunTimeUnknownError
push eax
call fcn.0041d690
add esp, 0x10
push 0
mov ecx, eax
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [edi + 1]
mov edx, dword [ebx + 0x30dc]
push eax
push ecx
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x439d7a
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x439d7a
mov eax, dword [ebx + 0x30c4]
test eax, eax
jne 0x439d7a
xor eax, eax
mov ax, word [ebx + 0x30cc]
sub eax, 0
je 0x439d4c
dec eax
je 0x43969e
dec eax
jne 0x439d61
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x30d0]
shr edx, 6
sub edx, ecx
cmp edx, eax
jae 0x439d61
mov ecx, ebx
call fcn.0043a180
mov dword [ebx + 0x20], eax
jmp 0x43926e
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4396c4
dec eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x20]
inc eax
mov dword [ebx + 0x20], eax
jmp 0x43926e
mov eax, dword [ebx + 0x30dc]
test eax, eax
je case.0x439362.23
push 0
push 0
lea eax, [ebp - 0x4c]
push str.CoreLibRunTimeUnknownError
push eax
call fcn.0041d690
add esp, 0x10
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [edi + 1]
mov edx, dword [ebx + 0x30dc]
push eax
push ecx
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
jmp 0x439634
mov eax, dword [edi + 5]
mov ecx, dword [ebx + 0x31a4]
mov byte [ebp - 4], 9
mov edx, dword [ecx + eax*4]
lea eax, [ebp - 0x18]
push edx
push str.CLng__s_
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x120]
lea ecx, [ebx + 0x28]
push eax
call fcn.0043e2c0
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 0x20]
add ecx, eax
mov dword [ebp - 4], 1
mov dword [ebx + 0x20], ecx
jmp 0x43926e
mov cx, word [ebx + 0x30cc]
mov edx, dword [ebx + 0x30c4]
mov eax, dword [ebx + 0x30c8]
mov word [ebp - 0xf8], cx
mov cx, word [ebx + 0x30d6]
mov dword [ebp - 0x100], edx
mov edx, dword [ebx + 0x30d0]
mov dword [ebp - 0xfc], eax
mov ax, word [ebx + 0x30d4]
mov word [ebp - 0xee], cx
lea ecx, [ebx + 0x30e0]
mov dword [ebp - 0xf4], edx
mov edx, dword [ebx + 0x30d8]
mov word [ebp - 0xf0], ax
mov eax, dword [ebx + 0x30dc]
push ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xe8], eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x30e4]
mov eax, dword [ebx + 0x30e8]
mov ecx, dword [ebx + 0x30f0]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], ecx
mov edx, dword [edi + 5]
lea ecx, [ebp - 0x100]
lea eax, [ebx + 0x3110]
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xd8], eax
call fcn.00438bf0
add esp, 4
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
inc dword [ebx + 0x20]
jmp 0x43926e
mov esi, dword [edi + 5]
mov eax, dword [ebx + 0x31b8]
shl esi, 6
add esi, eax
mov eax, dword [ebx + 0x3118]
push 0
lea edx, [ebp - 0x14]
push eax
push edx
mov ecx, esi
call fcn.00432f70
mov eax, dword [ebp - 0x14]
push 0x528278
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4398f5
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0x22
jne 0x4398f5
lea edx, [ebp - 0x60]
push 1
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x509998
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x60]
test eax, eax
setne byte [ebp - 0x19]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x19]
test al, al
je 0x439956
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.0041a250
add esp, 4
test eax, eax
jne 0x439956
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x68]
push eax
push 0x509998
push ecx
call sub.MFC42.DLL_operator
push 0x509998
lea edx, [ebp - 0x74]
push eax
push edx
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
push 0x528278
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x439a10
mov esi, dword [esi]
lea ecx, [ebp - 0x50]
push esi
push ecx
call fcn.00447420
add esp, 8
push 0x509dd0
lea edx, [ebp - 0x70]
push eax
push edx
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x7c]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea esi, [ebx + 0x28]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.0043de60
and eax, 0xff
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x439a10
mov eax, dword [ebx + 0x30dc]
test eax, eax
je 0x439a10
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [ebx + 0x30dc]
push eax
mov eax, dword [edi + 1]
push eax
push 0x4c9
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
inc dword [ebx + 0x20]
jmp 0x43926e
mov edx, dword [edi + 5]
mov eax, dword [ebx + 0x31a4]
mov ecx, dword [eax + edx*4]
lea edx, [ebp - 0x18]
push ecx
push str.F2730835_2229_445E_97C7_l3F76l2771DA
push str._sQMLibrary_Inner.GetGlobal___s__
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea esi, [ebx + 0x28]
push eax
mov ecx, esi
call fcn.0043de60
test al, al
jne case.0x439362.3
mov eax, dword [ebx + 0x30dc]
test eax, eax
je case.0x439362.3
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [edi + 1]
mov edx, dword [ebx + 0x30dc]
push eax
push ecx
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebx + 0x20]
jmp 0x43926e
mov eax, dword [edi + 5]
mov ecx, dword [ebx + 0x31a4]
push str.F2730835_2229_445E_97C7_l3F76l2771DA
mov edx, dword [ecx + eax*4]
lea eax, [ebp - 0x18]
push edx
push str.QMLibrary_Inner.SetGlobal___s____s
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [ebp - 0x18]
add esp, 0x10
lea esi, [ebx + 0x28]
push ecx
mov ecx, esi
call fcn.0043de60
test al, al
jne case.0x439362.3
mov eax, dword [ebx + 0x30dc]
test eax, eax
je case.0x439362.3
mov ecx, esi
call fcn.0043d5a0
mov edx, dword [edi + 1]
push eax
mov eax, dword [ebx + 0x30dc]
push edx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebx + 0x20]
jmp 0x43926e
mov eax, dword [ebx + 0x30c4]
test eax, eax
je case.0x439362.3
mov dword [ebx + 0x20], eax
jmp 0x43926e
mov eax, dword [edi + 5]
mov ecx, dword [ebp - 0x44]
shl eax, 2
cmp dword [eax + ecx], 1
je case.0x439362.3
mov edx, dword [ebx + 0x31a4]
lea ecx, [ebp - 0x18]
add edx, eax
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x18]
push 0x528278
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je case.0x439362.3
mov ecx, dword [edi + 5]
mov edx, dword [ebp - 0x44]
push 0xa
mov dword [edx + ecx*4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
test esi, esi
jle 0x439c8f
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
inc esi
lea ecx, [ebp - 0x18]
push esi
xor esi, esi
push esi
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::Delete
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_4
mov dword [ebp - 0x9c], 0x4bb060
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xa8], esi
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x5287e8
call fcn.00431980
mov eax, dword [ebp - 0x18]
lea esi, [ebx + 0x28]
push eax
mov ecx, esi
call fcn.0043de60
mov ecx, dword [ebx + 0x30dc]
and eax, 0xff
test ecx, ecx
je 0x439c36
test eax, eax
jne 0x439c36
mov ecx, esi
call fcn.0043d5a0
mov ecx, dword [edi + 1]
mov edx, dword [ebx + 0x30dc]
push eax
push ecx
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x15
test eax, eax
mov dword [ebp - 0x9c], 0x4bb060
je 0x439c57
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x9c], 0x4b74b0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
inc dword [ebx + 0x20]
jmp 0x43926e
lea ecx, [ebp - 0xd0]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString_4
mov edi, 0x4bb060
xor esi, esi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xcc], esi
lea eax, [ebp - 0xd0]
lea edx, [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x5287e8
call fcn.00431980
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x18
cmp eax, esi
mov dword [ebp - 0xc0], edi
je 0x439d15
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc0], 0x4b74b0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
inc dword [ebx + 0x20]
jmp 0x43926e
inc dword [ebx + 0x20]
jmp 0x43926e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx + 0x30d0]
inc eax
cmp eax, ecx
mov dword [ebp - 0x48], eax
jb 0x43969e
mov eax, dword [ebx + 0x31cc]
test eax, eax
je 0x439d7a
mov dword [ebp - 0x2c], 1
mov dword [ebx + 0x20], eax
jmp 0x43926e
push str.UnlockMouse
lea ecx, [ebx + 0x28]
call fcn.0043de60
mov ebx, dword [ebx + 0x30dc]
test ebx, ebx
je 0x439da1
push 0
push 0xffffffffffffffff
push 0x4c8
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp - 0x44]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret