Function at 0x414c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x53c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004135e0
xor ebx, ebx
cmp eax, ebx
je 0x414cda
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x1bc]
cmp edi, eax
je 0x414cbc
push eax
call fcn.004debba
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004df3e0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov word [esi + ecx*2 + 0x1bc], bx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push edx
push 0x57c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x416fba
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4168ed
mov ecx, dword [ebp + 8]
mov edx, eax
push edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], 0xa
call fcn.004debba
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.004de48f
add esp, 8
mov edx, eax
cmp edi, ebx
mov dword [esi + 0x1b8], edx
jbe 0x414d2a
mov ecx, edi
xor eax, eax
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1b8]
push edi
push ecx
call fcn.004df3e0
mov eax, dword [esi + 0xc54]
add esp, 8
cmp eax, 1
jne 0x414d6f
mov eax, dword [esi + 0xc5c]
cmp eax, ebx
je 0x414d6f
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x414d6f
mov eax, dword [esi + 0xc5c]
push ebx
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x50d0e0]
mov eax, edi
shr eax, 0x10
cmp ax, bx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
jne 0x414d97
mov eax, edi
lea ecx, [ebp - 0x18]
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x414dcd
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x414dcd
push edi
lea ecx, [ebp - 0x18]
call fcn.00402190
test eax, eax
je 0x414dcd
mov ecx, dword [ebp + 0xc]
lea eax, [edi + edi]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [edi + edi + 2]
push ecx
push edx
push eax
call fcn.00402060
add esp, 0x10
lea ecx, [ebp - 0x14]
push 4
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004071a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408c00
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, dword [esi + 0xb8]
add eax, 0xfffffff0
cmp eax, 0x50
ja case.0x414e0e.23
xor ecx, ecx
mov cl, byte [eax + 0x416ff4]
jmp dword [ecx*4 + 0x416fd4]
mov edi, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
mov edx, dword [0x50d0e0]
cmp edi, ebx
mov dword [ebp - 0x10], edx
je 0x414e76
mov eax, edi
shr eax, 0x10
jne 0x414e40
and edi, 0xffff
lea ecx, [ebp - 0x10]
push edi
call fcn.00407b60
jmp 0x414e76
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x414e76
mov ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402190
test eax, eax
je 0x414e76
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea edx, [eax + eax]
lea eax, [eax + eax + 2]
push edx
push edi
push eax
push ecx
call fcn.00402060
add esp, 0x10
mov edx, dword [ebp - 0x14]
push str..swf
push edx
mov byte [ebp - 4], 2
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x414f63
cmp word [ebp - 0x1c], bx
push ecx
mov dword [esi + 0xb8], 0x13
mov eax, dword [0x50d0e0]
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], ecx
mov dword [ecx], eax
jne 0x414ec3
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x414efa
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x414efa
mov ebx, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00402190
test eax, eax
je 0x414efa
mov eax, dword [ebp + 0xc]
lea edx, [edi + edi]
push edx
mov edx, dword [ebx]
lea ecx, [edi + edi + 2]
push eax
push ecx
push edx
call fcn.00402060
add esp, 0x10
mov ecx, esi
call fcn.00422c00
mov edx, dword [0x50d0e4]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414f34
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414f34
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41523c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41523c
jmp 0x41522d
mov eax, dword [ebp - 0x14]
push str..f4v
push eax
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4150f7
mov ecx, dword [ebp - 0x14]
push str..m4v
push ecx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4150f7
cmp dword [0x525dbc], ebx
jne 0x414fb6
mov edx, dword [ebp - 0x14]
push str..flv
push edx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4150f7
mov eax, dword [ebp - 0x14]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00414af0
test eax, eax
jl 0x414fd1
mov dword [esi + 0xb8], 0x15
cmp dword [esi + 0xb8], 0x10
jne 0x41504f
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2f8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, ebx
je 0x41504f
cmp edi, 0xffffffff
je 0x41504f
mov eax, dword [ebp - 0x2dc]
mov ecx, 0x20
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], ebx
mov eax, dword [esi + 0x1b0]
mov edx, ebx
call fcn.004df8d0
mov ecx, dword [ebp - 0x2d8]
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], edx
mov edx, dword [esi + 0x1b0]
add edx, ecx
push edi
mov dword [esi + 0x1b0], edx
mov ecx, dword [esi + 0x1b4]
adc ecx, ebx
mov dword [esi + 0x1b4], ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esi + 0x190]
lea eax, [esi + 0xb4]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.00406b50
mov eax, dword [esi + 0xb8]
mov ecx, esi
push eax
call fcn.00413d80
mov eax, dword [ebp - 0x10]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je case.0x414e0e.23
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg case.0x414e0e.23
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
lea edx, [esi + 0xf0]
push edx
push 0x4fc9ac
push 1
push ebx
push 0x4fcbcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jge 0x416f80
lea ecx, [ebp - 0x14]
mov dword [esi + 0xbc], ebx
mov byte [ebp - 4], 0
call fcn.00402160
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402160
mov eax, edi
jmp 0x416fba
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x548]
push eax
push ecx
mov dword [esi + 0xb8], 0x14
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, ebx
je 0x415176
cmp edi, 0xffffffff
je 0x415176
mov edx, dword [ebp - 0x52c]
mov ecx, 0x20
mov dword [esi + 0x1b0], edx
mov dword [esi + 0x1b4], ebx
mov eax, dword [esi + 0x1b0]
mov edx, ebx
call fcn.004df8d0
mov dword [esi + 0x1b0], eax
mov eax, dword [ebp - 0x528]
mov dword [esi + 0x1b4], edx
mov edx, dword [esi + 0x1b0]
add edx, eax
push edi
mov dword [esi + 0x1b0], edx
mov ecx, dword [esi + 0x1b4]
adc ecx, ebx
mov dword [esi + 0x1b4], ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [0x50d0e0]
cmp word [ebp - 0x1c], bx
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], ecx
mov dword [ecx], edx
jne 0x41519d
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x4151d1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x4151d1
mov ebx, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00402190
test eax, eax
je 0x4151d1
mov edx, dword [ebp + 0xc]
lea ecx, [edi + edi]
push ecx
mov ecx, dword [ebx]
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00402060
add esp, 0x10
mov ecx, esi
call fcn.00422c00
mov ecx, dword [0x50d0e4]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41520b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41520b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41523c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41523c
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x50d0e4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415270
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415270
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, esi
jmp 0x416fba
lea eax, [esi + 0x120]
push eax
push 0x4fc93c
push 1
push ebx
push 0x4fcb6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
push esi
call fcn.00418a50
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41586a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41586a
jmp 0x41585b
lea eax, [ebp - 0x2c]
lea ecx, [ebp + 0xc]
push eax
lea edx, [esi + 0xf0]
push ecx
lea eax, [esi + 0x194]
push edx
push eax
mov ecx, esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00420dd0
test eax, eax
jne 0x41568c
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x1a8]
lea edi, [esi + 0x1a0]
lea edx, [ebp - 0x7c]
mov ebx, 4
mov dword [ebp - 0x74], ecx
push edx
push eax
mov ecx, edi
mov dword [ebp - 0x78], 0x14
mov dword [ebp - 0x7c], ebx
call fcn.00428b50
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x38], ebx
call fcn.00428b50
push esi
call fcn.00418a50
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x50d0e4]
add esp, 4
mov byte [ebp - 4], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41586a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41586a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
jmp 0x415861
lea edi, [esi + 0xf0]
push edi
push 0x4fc9ac
push 1
push ebx
push 0x4fcbcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [edi], ebx
jne 0x4153b7
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push 0x4fc9ac
push 1
push ebx
push 0x4fcbcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xc60], ebx
jne 0x41543a
push 4
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x4153ed
mov dword [eax], ebx
mov ecx, eax
jmp 0x4153ef
xor ecx, ecx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x3c]
push ebx
push edx
push eax
push str.AtlAxWin
mov dword [esi + 0xc60], ecx
call fcn.00417050
lea eax, [ebp + 8]
push eax
push 0x4fc6fc
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esi + 0xc60]
mov ecx, dword [ebp + 8]
push ebx
push 0x4fc6bc
mov eax, dword [eax]
push ebx
push ebx
push ebx
push eax
push ecx
call fcn.004170b0
mov eax, dword [esi + 0xc60]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov eax, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 3
call fcn.004174a0
mov edi, eax
cmp edi, ebx
jl 0x41546f
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x4fc71c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x415480
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x4154cc
cmp dword [ebp + 0xc], ebx
je 0x4154cc
push 0x50fd34
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [ebp + 0xc]
push ebx
push ebx
mov edx, dword [eax]
push ebx
push ebx
push edi
push eax
call dword [edx + 0x2c]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4154bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0xc], ebx
mov eax, dword [esi + 0xc60]
push 5
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
push fcn.00418a50
call fcn.004df750
add esp, 0xc
jmp 0x41529a
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xc60], ebx
jne 0x415563
push 4
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x415516
mov dword [eax], ebx
mov ecx, eax
jmp 0x415518
xor ecx, ecx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x3c]
push ebx
push edx
push eax
push str.AtlAxWin
mov dword [esi + 0xc60], ecx
call fcn.00417050
lea eax, [ebp + 8]
push eax
push 0x4fc6fc
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esi + 0xc60]
mov ecx, dword [ebp + 8]
push ebx
push 0x4fc6bc
mov eax, dword [eax]
push ebx
push ebx
push ebx
push eax
push ecx
call fcn.004170b0
mov eax, dword [esi + 0xc60]
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
mov eax, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.004174a0
mov edi, eax
cmp edi, ebx
jl 0x415598
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push 0x4fc71c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4155a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x4155f5
cmp dword [ebp - 0x10], ebx
je 0x4155f5
push 0x50fd34
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [ebp - 0x10]
push ebx
push ebx
mov edx, dword [eax]
push ebx
push ebx
push edi
push eax
call dword [edx + 0x2c]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4155e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0xc60]
push 5
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50d0e0]
cmp word [ebp - 0x1c], bx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], ecx
mov dword [ecx], eax
jne 0x41561b
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x415653
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x415653
mov ecx, dword [ebp + 8]
push edi
call fcn.00402190
test eax, eax
je 0x415653
mov eax, dword [ebp + 0xc]
lea edx, [edi + edi]
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [edi + edi + 2]
mov eax, dword [edx]
push ecx
push eax
call fcn.00402060
add esp, 0x10
mov ecx, esi
call fcn.004220e0
cmp eax, ebx
jge 0x41529a
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xbc], ebx
mov dword [0x525d88], 0xa76c
mov esi, dword [esi + 0x198]
push 3
push eax
mov edx, dword [esi]
push 0x575
mov ecx, esi
call dword [edx]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4168b9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4168b9
jmp 0x4168aa
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xc60], ebx
jne 0x41573e
push 4
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x4156f1
mov dword [eax], ebx
mov ecx, eax
jmp 0x4156f3
xor ecx, ecx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x3c]
push ebx
push edx
push eax
push str.AtlAxWin
mov dword [esi + 0xc60], ecx
call fcn.00417050
lea eax, [ebp + 8]
push eax
push 0x4fc6fc
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esi + 0xc60]
mov ecx, dword [ebp + 8]
push ebx
push 0x4fc6bc
mov eax, dword [eax]
push ebx
push ebx
push ebx
push eax
push ecx
call fcn.004170b0
mov eax, dword [esi + 0xc60]
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
mov eax, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.004174a0
mov edi, eax
cmp edi, ebx
jl 0x415773
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push 0x4fc71c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x415784
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x4157d0
cmp dword [ebp - 0x10], ebx
je 0x4157d0
push 0x50fd34
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [ebp - 0x10]
push ebx
push ebx
mov edx, dword [eax]
push ebx
push ebx
push edi
push eax
call dword [edx + 0x2c]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4157bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0xc60]
push 5
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50d0e0]
cmp word [ebp - 0x1c], bx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], ecx
mov dword [ecx], eax
jne 0x4157f6
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x41582e
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x41582e
mov ecx, dword [ebp + 8]
push edi
call fcn.00402190
test eax, eax
je 0x41582e
mov eax, dword [ebp + 0xc]
lea edx, [edi + edi]
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [edi + edi + 2]
mov eax, dword [edx]
push ecx
push eax
call fcn.00402060
add esp, 0x10
mov ecx, esi
call fcn.00422660
cmp eax, ebx
jl 0x4158ab
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41586a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41586a
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x50d0e4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416fb8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416fb8
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
jmp 0x416fb8
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xbc], ebx
mov esi, dword [esi + 0x198]
push 3
push eax
push 0x575
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4168b9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4168b9
jmp 0x4168aa
cmp dword [esi + 0x19c], ebx
je 0x416f9d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x70]
push eax
push ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xc60], ebx
jne 0x415989
push 4
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x41593c
mov dword [eax], ebx
mov ecx, eax
jmp 0x41593e
xor ecx, ecx
mov eax, dword [esi + 4]
push ebx
push ebx
push ebx
push 0x50000000
lea edx, [ebp - 0x70]
push ebx
push edx
push eax
push str.AtlAxWin
mov dword [esi + 0xc60], ecx
call fcn.00417050
lea eax, [ebp - 0x2c]
push eax
push 0x4fc6fc
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov eax, dword [esi + 0xc60]
mov ecx, dword [ebp - 0x2c]
push ebx
push 0x4fc6bc
mov eax, dword [eax]
push ebx
push ebx
push ebx
push eax
push ecx
call fcn.004170b0
mov eax, dword [esi + 0xc60]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.004174a0
mov edi, eax
cmp edi, ebx
jl 0x4159be
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
push edx
push 0x4fc71c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4159cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x415aa3
cmp dword [ebp - 0x40], ebx
je 0x415aa3
mov edx, dword [0x50d0e0]
mov dword [ebp - 0x24], edx
mov eax, 0x50fd34
mov byte [ebp - 4], 7
test eax, eax
je 0x415a01
push 0x50fd34
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x50fd34
push eax
lea ecx, [ebp - 0x24]
call fcn.004021f0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xf0]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
push ebx
push ebx
lea edx, [ebp - 0x3c]
push ebx
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], 0xc
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x415a72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x415aa3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415aa3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
lea edi, [esi + 0xf0]
push edi
push 0x4fc9ac
push 1
push ebx
push 0x4fcbcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [edi], ebx
jne 0x415adc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push 0x4fc9ac
push 1
push ebx
push 0x4fcbcc
call dword [sym.imp.ole32.dll_CoCreateInstance]
lea ecx, [ebp - 0x2b0]
push 0x104
push ecx
push eax
call dword [sym.imp.QUARTZ.dll_AMGetErrorTextW]
mov edx, dword [0x50d0e0]
cmp word [ebp - 0x1c], bx
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], edx
jne 0x415b11
and eax, 0xffff
lea ecx, [ebp + 8]
push eax
call fcn.00407b60
jmp 0x415b44
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x415b44
push edi
lea ecx, [ebp + 8]
call fcn.00402190
test eax, eax
je 0x415b44
mov edx, dword [ebp + 0xc]
lea ecx, [edi + edi]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00402060
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00408c00
mov edi, dword [ebp + 8]
mov ax, word [edi]
push eax
call fcn.004ded8d
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add esp, 4
test eax, eax
je 0x415b7e
push edi
call ebx
mov edi, eax
mov ax, word [edi]
push eax
call fcn.004ded8d
add esp, 4
test eax, eax
jne 0x415b69
mov eax, dword [ebp + 8]
mov edx, edi
sub edx, eax
mov ebx, dword [eax - 8]
sar edx, 1
sub ebx, edx
mov edx, dword [eax - 4]
lea ecx, [ebx + ebx + 2]
push ecx
lea ecx, [edx + edx + 2]
push edi
push ecx
push eax
call fcn.00408be0
mov edx, dword [ebp + 8]
add esp, 0x10
lea ecx, [ebp + 8]
mov dword [edx - 8], ebx
call fcn.00408c00
mov ebx, dword [ebp + 8]
xor edi, edi
cmp word [ebx], di
je 0x415bf7
mov ax, word [ebx]
push eax
call fcn.004ded8d
add esp, 4
test eax, eax
je 0x415bd3
test edi, edi
jne 0x415bd5
mov edi, ebx
jmp 0x415bd5
xor edi, edi
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
cmp word [ebx], 0
jne 0x415bbb
test edi, edi
je 0x415bf7
mov word [edi], 0
mov eax, dword [ebp + 8]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
lea ecx, [ebp + 8]
call fcn.00408c00
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0
push str.qvod:__
lea ecx, [ebp + 8]
call fcn.00414af0
test eax, eax
jne 0x416606
mov eax, dword [ebp + 8]
mov dword [esi + 0xcd4], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x415c52
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x415c45
lea ecx, [ebp + 8]
call fcn.00402350
jmp 0x415c52
push 0x5209fc
lea ecx, [ebp + 8]
call fcn.00406e00
mov ecx, dword [ebp + 0xc]
lea edi, [ecx + 0xe]
test edi, edi
jne 0x415c60
xor eax, eax
jmp 0x415c67
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.004021f0
push 0
push 0x7c
lea ecx, [ebp + 8]
call fcn.004174e0
mov edi, eax
mov eax, dword [0x50d0e0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
test edi, edi
mov byte [ebp - 4], 0xb
jg 0x415d27
mov ecx, dword [0x50d0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [ebp - 4], 0xa
je 0x415cc7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415cc7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415cf8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415cf8
mov edx, dword [ebp - 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416269
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416269
jmp 0x41625a
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00407030
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
mov byte [ebp - 4], 0xc
je 0x415d84
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x415d57
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x415d5e
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x415d6d
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004021f0
jmp 0x415d84
lea ecx, [ebp - 0x10]
call fcn.00402350
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
lea eax, [ebx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0xb
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x415db5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415db5
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov eax, dword [ecx - 8]
lea ecx, [ebp + 8]
sub eax, edi
dec eax
push eax
push edx
call fcn.004071a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
mov byte [ebp - 4], 0xd
je 0x415e1b
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x415ded
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x415df4
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x415e03
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.004021f0
jmp 0x415e1b
lea ecx, [ebp + 8]
call fcn.00402350
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0x7c
lea ecx, [ebp + 8]
call fcn.004174e0
mov ebx, eax
test ebx, ebx
jg 0x415e8d
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xb
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415e5e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415e5e
mov edx, dword [ebp - 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xa
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416077
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416077
jmp 0x416068
lea eax, [ebp - 0x50]
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.00407030
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
mov byte [ebp - 4], 0xe
je 0x415eea
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x415ebd
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x415ec4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x415ed3
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004021f0
jmp 0x415eea
lea ecx, [ebp - 0x28]
call fcn.00402350
mov edi, dword [edi]
mov dword [ebp - 0x28], edi
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0xd
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x415f1b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415f1b
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x48]
mov eax, dword [ecx - 8]
lea ecx, [ebp + 8]
sub eax, ebx
dec eax
push eax
push edx
call fcn.004071a0
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
mov byte [ebp - 4], 0xf
je 0x415f84
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x415f54
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x415f5b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x415f6a
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021f0
jmp 0x415f81
lea ecx, [ebp - 0x1c]
call fcn.00402350
mov edi, dword [edi]
mov dword [ebp - 0x1c], edi
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
mov edi, dword [0x50d0e4]
mov byte [ebp - 4], 0xd
lea edx, [eax - 0xc]
cmp edx, edi
je 0x415fb8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415fb5
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x416001
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x415fd3
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x415fda
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x415fe9
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [ebp + 8]
call fcn.004021f0
jmp 0x416001
lea ecx, [ebp + 8]
call fcn.00402350
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0x7c
lea ecx, [ebp + 8]
call fcn.004174e0
test eax, eax
jg 0x4160a6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0xb
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416046
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416046
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xa
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416077
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416077
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415cf8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415cf8
jmp 0x415ce9
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.00407030
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
mov byte [ebp - 4], 0x10
je 0x416103
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4160d6
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4160dd
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4160ec
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.004021f0
jmp 0x416103
lea ecx, [ebp - 0x20]
call fcn.00402350
mov edi, dword [edi]
mov dword [ebp - 0x20], edi
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x44]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0xd
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416134
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416134
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x416151
push eax
call fcn.004de3a6
add esp, 4
mov dword [esi + 0x1b8], 0
mov eax, dword [ebp - 0x20]
push ecx
mov dword [ebp + 0xc], esp
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x416172
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x416183
mov edx, dword [0x50d0e0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406e00
mov ecx, esi
call fcn.004247e0
test eax, eax
je 0x4162a7
mov ecx, dword [esi + 4]
push 0
push 2
push 0x57e
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0xb
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4161d6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4161d6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xa
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416207
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416207
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416238
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416238
mov edx, dword [ebp - 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416269
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416269
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41568c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41568c
mov edx, dword [ebp + 8]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
jmp 0x41568c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 8]
lea ebx, [eax + 1]
lea ecx, [ebx + ebx]
push ecx
call fcn.004de48f
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x1b8], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
dec ebx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x4162ea
cmp ebx, dword [eax - 4]
jle 0x416332
mov eax, dword [eax - 8]
cmp ebx, eax
mov dword [ebp + 0xc], eax
jge 0x4162f6
mov ebx, eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00402190
test eax, eax
je 0x416332
mov eax, dword [ebp + 0xc]
lea edx, [edi + 0xc]
lea ecx, [eax + eax + 2]
lea eax, [ebx + ebx + 2]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ecx
call fcn.00402060
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [edx - 8], eax
push edi
call fcn.00408030
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x1b8]
push eax
push ecx
call fcn.004df3e0
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0xa8]
add esp, 8
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x28]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x416367
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2c], eax
jmp 0x416392
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov edx, dword [ebp + 0xc]
mov eax, esp
push 0
push edi
push edx
push eax
call fcn.00406870
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4163a1
mov dword [ebp - 0x24], eax
jmp 0x4163c6
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov ecx, dword [ebp + 0xc]
mov eax, esp
push 0
push edi
push ecx
push eax
call fcn.00406870
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4163d5
mov dword [ebp + 0xc], eax
jmp 0x4163fa
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov edx, dword [ebp + 0xc]
mov eax, esp
push 0
push edi
push edx
push eax
call fcn.00406870
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xa8]
push eax
push ecx
mov ecx, esi
call fcn.004b8d00
mov edi, dword [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
add edi, 0x33
push edi
call fcn.004de48f
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
mov dword [ebp - 0x2c], ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
push ecx
push str.__s__s
push ebx
call fcn.004df42f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.00474350
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0x11
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x24]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x34]
lea edi, [ebp - 0xa8]
not ecx
dec ecx
mov ebx, ecx
or ecx, 0xffffffff
add ebx, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, edx
lea edi, [ecx + ebx + 0x104]
push edi
call fcn.004de48f
mov ecx, edi
mov ebx, eax
mov edx, ecx
add esp, 0x24
xor eax, eax
mov edi, ebx
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 - 0x38]
test eax, eax
jne 0x4164d3
mov eax, 0x4fb788
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xa8]
push eax
push ecx
push edx
push 0x525c78
push str.http:___s:8031__s__s__s_at_s
push ebx
call fcn.004df42f
mov ecx, dword [esi + 0x19c]
add esp, 0x1c
push 0
push 0
push 0
push 0
push ebx
call fcn.00495c70
test ebx, ebx
je 0x416517
push ebx
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x416527
push eax
call fcn.004de3a6
add esp, 4
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.00411770
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xb
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416566
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416566
mov edx, dword [ebp - 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0xa
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416597
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416597
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4165c8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4165c8
mov edx, dword [ebp - 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416f72
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416f72
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
jmp 0x416f72
push 0
push 0x50fcec
lea ecx, [ebp + 8]
call fcn.00414af0
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
je 0x416cab
mov eax, dword [0x50d0e0]
cmp word [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
jne 0x416645
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
and eax, 0xffff
push eax
call fcn.00407b60
jmp 0x416678
mov ebx, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x416678
push edi
lea ecx, [ebp - 0x28]
call fcn.00402190
test eax, eax
je 0x416678
mov eax, dword [ebp - 0x28]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push ebx
push edx
push eax
call fcn.00402060
add esp, 0x10
mov ecx, dword [ebp - 0x28]
push 0x2f
push ecx
mov byte [ebp - 4], 0x12
call fcn.004dec29
add esp, 8
test eax, eax
je 0x416928
sub eax, dword [ebp - 0x28]
sar eax, 1
mov edi, eax
test edi, edi
jle 0x416928
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x4166be
push eax
call fcn.004de3a6
add esp, 4
mov dword [esi + 0x1b8], 0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004071a0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x13
mov eax, dword [ecx - 8]
lea ebx, [eax + 1]
lea edx, [ebx + ebx]
push edx
call fcn.004de48f
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x1b8], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
dec ebx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x41671b
cmp ebx, dword [eax - 4]
jle 0x416763
mov eax, dword [eax - 8]
cmp ebx, eax
mov dword [ebp - 0x24], eax
jge 0x416727
mov ebx, eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402190
test eax, eax
je 0x416763
mov eax, dword [ebp - 0x24]
lea edx, [edi + 0xc]
lea ecx, [eax + eax + 2]
lea eax, [ebx + ebx + 2]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ecx
call fcn.00402060
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov dword [edx - 8], eax
push edi
call fcn.00408030
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x1b8]
push eax
push ecx
call fcn.004df3e0
mov edi, dword [esi + 0x1b8]
mov edx, dword [0x50d0e0]
add esp, 4
mov ebx, esp
mov dword [ebp - 0x24], esp
test edi, edi
mov dword [ebx], edx
je 0x4167d3
mov eax, edi
shr eax, 0x10
jne 0x4167a1
and edi, 0xffff
mov ecx, ebx
push edi
call fcn.00407b60
jmp 0x4167d3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x4167d3
push eax
mov ecx, ebx
call fcn.00402190
test eax, eax
je 0x4167d3
mov eax, dword [ebp - 0x24]
lea ecx, [eax + eax]
lea edx, [eax + eax + 2]
mov eax, dword [ebx]
push ecx
push edi
push edx
push eax
call fcn.00402060
add esp, 0x10
mov ecx, esi
call fcn.004247e0
test eax, eax
je 0x4168f7
mov ecx, dword [esi + 4]
push 0
push 2
push 0x57e
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x50d0e4]
mov byte [ebp - 4], 0x12
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416826
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416826
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416857
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416857
mov edx, dword [ebp - 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416888
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416888
mov edx, dword [ebp + 8]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4168b9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4168b9
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x50d0e4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4168ed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4168ed
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, 1
jmp 0x416fba
mov eax, dword [ebp - 0x10]
mov edx, dword [0x50d0e4]
mov byte [ebp - 4], 0x12
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416928
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416928
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00402160
lea ecx, [ebp + 8]
call fcn.00406cd0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push eax
call fcn.00406e00
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov eax, dword [ecx - 8]
lea ecx, [ebp + 8]
add eax, 0xfffffff9
push eax
push edx
call fcn.004071a0
push 0
push 0x2f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
call fcn.004174e0
mov ecx, dword [0x50d0e0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
test eax, eax
mov byte [ebp - 4], 0x16
jle 0x416be8
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.004071a0
mov bl, 0x17
push 0
push 0x2f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004174e0
mov edi, eax
test edi, edi
jle 0x416a60
lea eax, [ebp - 0x5c]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00407030
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00402090
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00402160
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x10]
sub eax, edi
dec eax
push eax
push edx
call fcn.004071a0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.00402090
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00402160
push 0
push 0x2f
lea ecx, [ebp - 0x1c]
call fcn.004174e0
test eax, eax
jle 0x416a60
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407030
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.00402090
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00402160
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402090
mov edx, dword [ebp - 0x10]
mov edi, 1
cmp dword [edx - 8], 0x28
je 0x416a63
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x16
call fcn.00402160
test edi, edi
je 0x416be8
mov eax, dword [0x50d0e0]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
push ecx
push edx
lea eax, [ebp - 0x24]
push 0x50fcdc
push eax
mov byte [ebp - 4], 0x1b
call fcn.004074f0
mov eax, dword [ebp - 0x24]
add esp, 0x10
test eax, eax
mov ebx, eax
jne 0x416aa9
xor edx, edx
jmp 0x416ace
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov eax, esp
push 0
push edi
push ebx
push eax
call fcn.00406870
mov edx, eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x3c]
push edx
push ecx
call fcn.00474350
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov eax, esp
push 0
push edi
push ebx
push eax
call fcn.00406870
mov ebx, eax
push 0x50fcd8
push ebx
call fcn.004df6d0
mov dword [ebp - 0x10], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [ebp - 0x34]
not ecx
dec ecx
lea edi, [ecx + edx + 0xa]
push edi
call fcn.004de48f
mov edx, eax
mov ecx, edi
mov dword [ebp + 0xc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0xc
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x416b77
test eax, eax
jne 0x416b6a
mov eax, 0x4fb788
push eax
mov eax, dword [ebp + 0xc]
push ebx
push str._stag_s
push eax
jmp 0x416b8b
test eax, eax
jne 0x416b80
mov eax, 0x4fb788
mov ecx, dword [ebp + 0xc]
push eax
push ebx
push str._s_tag_s
push ecx
call fcn.004df42f
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x19c]
add esp, 0x10
push 0
push 0
push 0
push 0
push edx
call fcn.00495c70
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
call fcn.00411770
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.00402160
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00402160
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00402160
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
jmp 0x416f6d
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x416c05
push eax
call fcn.004de3a6
add esp, 4
mov dword [esi + 0x1b8], 0
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.004debba
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.004de48f
mov edx, eax
mov ecx, edi
mov dword [esi + 0x1b8], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x1b8]
push eax
call fcn.004df3e0
mov ecx, dword [esi + 0x198]
add esp, 0x10
test ecx, ecx
mov dword [esi + 0xb8], 0x51
je 0x416c66
mov edx, dword [ecx]
push ebx
push 0x51
push 0x51f
call dword [edx]
push esi
push 0
push fcn.00418a50
call fcn.004df750
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00402160
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00402160
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00402160
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00402160
jmp 0x416f9d
push 0
push 0x50fcac
lea ecx, [ebp + 8]
call fcn.00414af0
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
test eax, eax
je 0x416e26
push 0x525780
lea ecx, [ebp - 0x10]
call fcn.0040bd90
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1d
call fcn.00406cd0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push edx
call fcn.00406e00
mov eax, dword [0x50d0e0]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x5258ec]
mov byte [ebp - 4], 0x1e
mov eax, dword [ecx - 8]
test eax, eax
je 0x416d2b
push 0x5258ec
lea ecx, [ebp - 0x2c]
call fcn.00402090
mov ecx, 0x5258ec
call fcn.00406cd0
mov eax, dword [ebp - 0x2c]
test eax, eax
mov ebx, eax
jne 0x416d34
jmp 0x416d59
mov eax, dword [ebp - 0x10]
test eax, eax
mov ebx, eax
je 0x416d59
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov eax, esp
push 0
push edi
push ebx
push eax
call fcn.00406870
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x416d89
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ded50
mov edx, dword [ebp + 0xc]
mov eax, esp
push 0
push edi
push edx
push eax
call fcn.00406870
mov ecx, dword [esi + 0x19c]
push ebx
push eax
call fcn.00495d00
test eax, eax
jge 0x416e0e
mov edi, dword [esi + 0xb8]
mov ecx, esi
call fcn.004135e0
mov dword [0x525d88], 0xa76d
mov esi, dword [esi + 0x198]
push 3
push edi
mov eax, dword [esi]
push 0x575
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
call fcn.00402160
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00402160
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00402160
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00402160
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402160
mov eax, 1
jmp 0x416fba
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
call fcn.00402160
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
jmp 0x416f6d
push 0
push str.taskid:
lea ecx, [ebp + 8]
call fcn.00414af0
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
je 0x416f72
lea ecx, [ebp + 8]
call fcn.00406cd0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
call fcn.00406e00
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
mov eax, dword [edx - 8]
add eax, 0xfffffff9
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004071a0
mov ecx, dword [ebp - 0x24]
mov bl, 0x1f
push ecx
mov byte [ebp - 4], bl
call fcn.004debd7
add esp, 4
lea ecx, [ebp + 8]
mov dword [esi + 0xc24], eax
mov dword [esi + 0xc28], 0
push 0
push str.tindex:
call fcn.00414af0
test eax, eax
jle 0x416f51
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [ebp - 0x58]
sub ecx, 7
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.004071a0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call fcn.00402090
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00402160
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004debd7
add esp, 4
cmp eax, 0xffffffff
mov dword [esi + 0xc28], eax
jne 0x416f51
mov edi, dword [esi + 0xb8]
mov ecx, esi
call fcn.004135e0
mov dword [0x525d88], 0xa76e
mov esi, dword [esi + 0x198]
push 3
push edi
mov edx, dword [esi]
push 0x575
mov ecx, esi
call dword [edx]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00402160
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00402160
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00402160
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402160
mov eax, 1
jmp 0x416fba
mov eax, dword [esi + 0xc28]
mov ecx, dword [esi + 0xc24]
push eax
push ecx
mov ecx, esi
call fcn.00421600
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.00402160
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00402160
jmp 0x416f9d
mov eax, dword [esi + 0x190]
mov ecx, esi
push eax
call fcn.00417520
push esi
push ebx
push fcn.00418a50
call fcn.004df750
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00402160
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402160
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x554]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8