Function at 0x41a4a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x4ba8
call fcn.0043f4d0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x47a9b8
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x3c], edi
call fcn.0045ed43
mov dword [esi + 0x4a50], 0xffffffff
mov eax, dword [0x497e8c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x4a6c]
lea ebx, [esi + 0x4a6c]
mov byte [ebp - 4], 1
cmp dword [ecx - 8], edi
je 0x41a517
push 0x47a9b8
lea ecx, [ebp - 0x60]
call fcn.0045ee5e
push str..mmhd.ctx
lea edx, [ebp - 0x48]
push ebx
push edx
call fcn.0045ef6a
push str..mmhd
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0045ed43
mov eax, dword [esi + 0x4cd0]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x41a552
push 0x47a9b8
lea ecx, [ebp - 0x40]
call fcn.0045ee5e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp eax, edi
mov dword [esi + 0x4ae8], eax
jne 0x41a56e
mov dword [esi + 0x4ae8], 1
cmp dword [esi + 8], edi
je 0x41a57b
mov dword [esi + 0x4bb4], edi
jmp 0x41a591
call ebx
cmp eax, edi
mov dword [esi + 0x4bb4], eax
jne 0x41a591
mov dword [esi + 0x4bb4], 1
cmp dword [esi + 0x4c3c], edi
jne 0x41adce
cmp dword [0x1da9780], edi
jne 0x41adce
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push 1
lea ecx, [ebp - 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.00412590
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0045ee0e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0045ecd5
mov edx, dword [ebp - 0x60]
push str.NOTREADY
push edx
call fcn.0043ee58
add esp, 8
test eax, eax
jne 0x41a5f7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ad96
mov eax, dword [ebp - 0x60]
cmp dword [eax - 8], edi
je 0x41adc3
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x41adc3
cmp dword [esi + 0x4c24], edi
je 0x41a61d
mov edi, dword [esi + 0x4c34]
push eax
mov ecx, esi
call fcn.00412c00
mov ecx, dword [esi + 0x4cd4]
mov edx, dword [esi + 0x4a70]
mov eax, dword [esi + 0x4a6c]
push edi
push ecx
mov ecx, dword [esi + 0x4ccc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
mov edx, dword [esi + 0x4cc8]
push ecx
mov ecx, dword [esi + 0x4cd0]
push edx
mov edx, dword [ebp - 0x64]
push ecx
mov ecx, dword [esi + 0x4c84]
push eax
mov eax, dword [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x70]
push str.Thread1
push 0
push eax
push ecx
push edx
call fcn.0041e150
lea edx, [esi + 0x4c58]
mov ebx, eax
add esp, 0x40
mov ecx, 0xa
xor eax, eax
mov edi, edx
test ebx, ebx
mov dword [ebp - 0x38], ebx
rep stosd dword es:[edi], eax
je 0x41ada4
mov dword [ebp - 0x3c], eax
lea eax, [esi + 0x4c54]
push eax
mov dword [edx], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi + 0x4c3c]
test eax, eax
jne 0x41aca0
push ebx
call fcn.0041d840
push ebx
mov dword [ebp - 0x30], eax
call fcn.0041dca0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
push ebx
call fcn.0041d980
add esp, 0x18
test eax, eax
je 0x41ac61
mov eax, dword [ebp - 0x2c]
test eax, eax
jbe 0x41ac08
mov eax, dword [esi + 0x4c08]
test eax, eax
jne 0x41ac08
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.0041d930
add esp, 8
test eax, eax
jne 0x41a72a
mov dword [esi + 0x4cc0], eax
mov word [esi + 0x4c50], 1
mov dword [esi + 0x4cc4], eax
mov dword [esi + 0x4cb8], eax
push ebx
call fcn.0041d810
push ebx
mov dword [esi + 0x4a74], eax
call fcn.0041d900
mov dword [esi + 0x4a78], eax
mov edi, dword [esi + 0x4cd4]
mov ecx, dword [esi + 0x4a74]
xor edx, edx
add esp, 8
lea eax, [ecx + edi - 1]
div edi
mov edx, dword [esi + 0x4cb8]
cmp edx, ecx
mov dword [esi + 0x4c00], eax
jb 0x41a76b
mov edx, ecx
mov dword [esi + 0x4a18], ecx
mov cx, word [esi + 0x4cd4]
test eax, eax
mov dword [esi + 0x4cb8], edx
mov word [esi + 0x4a20], cx
mov dword [esi + 0x4a1c], eax
jbe 0x41ac08
lea edx, [eax + eax + 0x14]
push edx
call fcn.0045f3a6
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x4c08], edi
je 0x41ac99
mov eax, dword [esi + 0x4c00]
lea ecx, [eax + eax + 0x14]
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
mov eax, dword [esi + 0x4c00]
lea ecx, [eax + eax + 0x14]
push ecx
call fcn.0045f3a6
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x4c04], edi
je 0x41abc8
mov edx, dword [esi + 0x4c00]
xor eax, eax
lea ecx, [edx + edx + 0x14]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.0041d930
add esp, 8
test eax, eax
je 0x41a97b
mov ecx, dword [esi + 0x4c00]
mov eax, dword [esi + 0x4a6c]
lea edx, [ecx*4 + 0x4a10]
mov ecx, dword [eax - 8]
test ecx, ecx
mov dword [ebp - 0x58], edx
je 0x41a97b
mov ecx, dword [ebp - 0x48]
push 0
push ecx
call fcn.0043f384
add esp, 8
cmp eax, 0xffffffff
je 0x41a8da
mov eax, dword [ebp - 0x48]
mov edx, dword [esi + 0x4a28]
lea edi, [esi + 0x4a28]
push 0
push 0x8042
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
je 0x41a8da
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
lea ecx, [ebp - 0x4bb8]
mov ebx, eax
mov eax, dword [edi]
push 0x4a10
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [esi + 0x4cd4]
and eax, 0xffff
cmp eax, ecx
jne 0x41a8d1
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [esi + 0x4a74]
cmp ecx, eax
jne 0x41a8d1
mov edx, dword [ebp - 0x1b4]
mov eax, dword [esi + 0x4c00]
cmp edx, eax
jne 0x41a8d1
cmp dword [ebp - 0x58], ebx
je 0x41a8da
mov eax, dword [ebp - 0x48]
push eax
call fcn.0045fed1
mov eax, dword [ebp - 0x48]
mov edx, dword [esi + 0x4a28]
lea edi, [esi + 0x4a28]
push 0
push 0xb042
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
je 0x41a978
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
cmp eax, dword [ebp - 0x58]
jb 0x41a92f
mov eax, dword [edi]
lea ecx, [esi + 0x18]
push 0x4a10
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov eax, dword [esi + 0x4c00]
mov ecx, dword [esi + 0x4c08]
mov edx, dword [edi]
shl eax, 1
push eax
push ecx
mov ecx, edi
call dword [edx + 0x34]
jmp 0x41a978
mov edx, dword [edi]
push 0
push 0
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [edi]
lea ecx, [esi + 0x18]
push 0x4a10
push ecx
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [esi + 0x4c00]
mov ecx, dword [esi + 0x4c08]
mov edx, dword [edi]
shl eax, 1
push eax
push ecx
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esi + 0x4c00]
mov ecx, dword [esi + 0x4c04]
mov edx, dword [edi]
shl eax, 1
push eax
push ecx
mov ecx, edi
call dword [edx + 0x38]
mov ebx, dword [ebp - 0x38]
mov eax, dword [esi + 0x4c08]
xor ecx, ecx
cmp eax, ecx
je 0x41abe8
mov edx, dword [esi + 0x4c00]
mov dword [ebp - 0x1c], ecx
cmp edx, ecx
mov dword [ebp - 0x18], ecx
jbe 0x41abbd
mov edx, dword [esi + 0x4cd4]
xor edi, edi
mov di, word [eax + ecx*2]
cmp edi, edx
jbe 0x41ab97
mov ecx, dword [0x497e8c]
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x18]
push edx
xor edx, edx
lea ecx, [ebp - 0x24]
mov dx, word [eax + edi*2]
mov eax, dword [esi + 0x4a74]
push edx
push edi
push eax
push str.File__lu___Block_lu__Size_lu__BlockSize_lu
push ecx
mov byte [ebp - 4], 5
call fcn.00454b0b
mov ebx, dword [ebp - 0x24]
add esp, 0x18
test ebx, ebx
je 0x41ab74
cmp byte [ebx], 0
je 0x41ab74
lea ecx, [ebp - 0x84]
call fcn.0045f9d1
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 6
push edx
call fcn.00455016
mov eax, dword [0x497e8c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push str._Y_m_d
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.004552a3
mov edi, eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
push ecx
call fcn.00403400
add esp, 4
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x34]
push str._sTemp_s_error.log
push ecx
mov byte [ebp - 4], 0xa
call fcn.00454b0b
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.0045ecd5
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.0045ecd5
lea edx, [ebp - 0x14]
push str._H:_M:_S
push edx
lea ecx, [ebp - 0x50]
call fcn.004552a3
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x28]
push str._s:__s_r_n
push ecx
mov byte [ebp - 4], 0xb
call fcn.00454b0b
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0045ecd5
push ecx
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
call fcn.0045ea4a
call fcn.00404e50
add esp, 4
lea ecx, [ebp - 0x90]
push 0
push 0x1da9788
call fcn.0043293e
push 0xffffffffffffffff
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.00432965
mov eax, dword [ebp - 0x34]
push 0
push 0xb042
push eax
lea ecx, [ebp - 0x84]
call fcn.0045fb83
test eax, eax
je 0x41ab30
mov edx, dword [ebp - 0x84]
push 2
push 0
lea ecx, [ebp - 0x84]
call dword [edx + 0x28]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.0045fcda
lea ecx, [ebp - 0x84]
call fcn.0045fd9e
lea ecx, [ebp - 0x90]
call fcn.0043297a
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.0043297a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0045ecd5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0045ecd5
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.0045fac6
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x4c08]
mov cx, word [esi + 0x4cd4]
mov byte [ebp - 4], 3
mov word [eax + edi*2], cx
lea ecx, [ebp - 0x24]
call fcn.0045ecd5
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x38]
mov eax, dword [esi + 0x4c08]
mov edi, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [eax + ecx*2]
add edi, edx
mov edx, dword [esi + 0x4c00]
inc ecx
mov dword [ebp - 0x1c], edi
cmp ecx, edx
mov dword [ebp - 0x18], ecx
jb 0x41a99f
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x4aec], eax
jmp 0x41abe8
mov eax, dword [esi + 0x4c08]
push eax
call fcn.0045f3cf
add esp, 4
mov dword [esi + 0x4c08], 0
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [esi + 0x4c08]
test eax, eax
je 0x41ac08
mov eax, dword [esi + 0x4a74]
test eax, eax
jbe 0x41ac08
push eax
push 0
push 0
mov ecx, esi
call fcn.00418160
mov edi, 1
cmp word [esi + 0x4c50], di
jne 0x41ac28
mov eax, dword [esi + 0x4c08]
test eax, eax
je 0x41ac28
push edi
mov ecx, esi
call fcn.00418200
mov eax, dword [esi + 0x4a74]
test eax, eax
je 0x41ac3a
cmp dword [esi + 0x4aec], eax
jae 0x41aca0
push ebx
call fcn.0041dc70
add esp, 4
test eax, eax
jne 0x41ac79
cmp word [esi + 0x4c50], di
je 0x41ac61
mov eax, dword [ebp - 0x2c]
test eax, eax
jbe 0x41ac61
mov eax, dword [esi + 0x4c08]
test eax, eax
jne 0x41aca0
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x4c3c]
test eax, eax
je 0x41a6b6
jmp 0x41aca0
cmp dword [ebp - 0x5c], 2
jge 0x41aca0
mov edi, dword [ebp - 0x30]
mov edx, dword [ebx + 0x18]
xor ecx, ecx
cmp edi, 0x194
setne cl
push ecx
push edx
mov ecx, esi
call fcn.00413b40
mov dword [ebp - 0x3c], 0xffffffff
push ebx
call fcn.0041d9e0
mov eax, dword [ebp - 0x3c]
add esp, 4
cmp eax, 0xffffffff
je 0x41acba
push 1
mov ecx, esi
call fcn.00418200
mov eax, dword [esi + 0x4a74]
mov ecx, esi
push eax
push 0
push 0
call fcn.00418160
mov ecx, dword [ebx + 0x18]
push ecx
mov ecx, esi
call fcn.00412e80
mov cl, byte [ebx + 0x5b8]
lea eax, [ebx + 0x5b8]
test cl, cl
je 0x41acfe
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.0045ed43
mov edx, dword [ebx + 0x18]
mov ecx, esi
push edx
call fcn.00412d30
lea edi, [esi + 0x4c0c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.0041de00
mov eax, dword [esi + 0x4c80]
add esp, 4
mov dword [esi + 0x4c58], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x4c54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [esi + 0x4a2c], 0xffffffff
je 0x41ad8e
mov edx, dword [esi + 0x4a28]
lea edi, [esi + 0x4a28]
push 0
push 0x4a10
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c08]
mov eax, dword [edi]
shl ecx, 1
push ecx
push edx
mov ecx, edi
call dword [eax + 0x38]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c04]
mov eax, dword [edi]
shl ecx, 1
push ecx
push edx
mov ecx, edi
call dword [eax + 0x38]
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x41adcc
xor edi, edi
cmp dword [esi + 0x4c3c], edi
je 0x41a59d
jmp 0x41adce
mov eax, dword [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00412e80
add esi, 0x4c40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41bc01
mov dword [ebp - 0x3c], 0xffffffff
jmp 0x41adce
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
mov dword [ebp - 0x24], eax
jne 0x41ade8
mov dword [ebp - 0x24], 1
mov eax, dword [esi + 0x4c3c]
mov dword [ebp - 0x28], edi
cmp eax, edi
mov dword [ebp - 0x54], edi
jne 0x41b6cd
cmp dword [ebp - 0x3c], 0xffffffff
je 0x41b6cd
mov eax, dword [0x1da9780]
test eax, eax
jne 0x41b6cd
push 0
mov ecx, esi
call fcn.00417f30
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
test ecx, ecx
je 0x41af4b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 8]
lea edi, [esi + 8]
test eax, eax
jne 0x41af80
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor ebx, ebx
cmp word [esi + 0x4c50], bx
mov dword [ebp - 0x18], ebx
jbe 0x41af3a
mov ecx, ebx
and ecx, 0xffff
mov eax, dword [esi + ecx*4 + 0x4c58]
lea edi, [esi + ecx*4 + 0x4c58]
test eax, eax
je 0x41af29
push eax
call fcn.0041d7e0
mov edx, dword [edi]
mov dword [ebp - 0x14], eax
push edx
call fcn.0041db70
add esp, 8
test eax, eax
jl 0x41aea0
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, esi
call fcn.00412f30
mov ecx, dword [edi]
push ecx
call fcn.0041d9e0
add esp, 4
inc ebx
mov ecx, esi
push ebx
call fcn.00418200
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x20]
push edx
mov edx, dword [edi]
lea ecx, [ebp - 0x44]
push eax
push ecx
push edx
call fcn.0041d980
add esp, 0x10
test eax, eax
je 0x41aee7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
sub ecx, eax
add edx, eax
push ecx
push edx
push 0
mov ecx, esi
call fcn.00418160
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call fcn.00412e80
lea ebx, [esi + 0x4c0c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
push edx
call fcn.0041de00
add esp, 4
mov dword [edi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x4c54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [ebp - 0x18]
inc ebx
cmp bx, word [esi + 0x4c50]
mov dword [ebp - 0x18], ebx
jb 0x41ae5c
mov ecx, esi
mov dword [esi + 0x4bb4], 0
call fcn.00411bc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 8]
test eax, eax
je 0x41afa7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00411bc0
call ebx
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x41b6ad
mov dword [ebp - 0x24], 1
jmp 0x41b6ad
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test eax, eax
mov dword [esi + 0x4bb4], eax
jne 0x41af9c
mov dword [esi + 0x4bb4], 1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41af51
mov ecx, dword [esi + 0x4aec]
mov eax, dword [esi + 0x4a74]
cmp ecx, eax
jae 0x41b6bd
xor edx, edx
lea eax, [esi + 0x4c80]
mov dx, word [esi + 0x4c50]
push 0x32
push 0
inc edx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x41b104
mov ecx, esi
call fcn.00417140
test eax, eax
je 0x41b104
mov ecx, esi
call fcn.00413ff0
xor ebx, ebx
mov dword [esi + 0x4a50], eax
cmp word [esi + 0x4c50], bx
mov dword [ebp - 0x18], ebx
jbe 0x41b0ea
mov eax, ebx
and eax, 0xffff
lea edi, [esi + eax*4 + 0x4c58]
mov eax, dword [esi + eax*4 + 0x4c58]
test eax, eax
je 0x41b0d9
push eax
call fcn.0041d7e0
mov ecx, dword [edi]
mov dword [ebp - 0x14], eax
push ecx
call fcn.0041db70
add esp, 8
test eax, eax
jl 0x41b050
mov edx, dword [ebp - 0x14]
push eax
push edx
push 0
mov ecx, esi
call fcn.00412f30
mov eax, dword [edi]
push eax
call fcn.0041d9e0
add esp, 4
inc ebx
mov ecx, esi
push ebx
call fcn.00418200
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [edi]
lea eax, [ebp - 0x44]
push edx
push eax
push ecx
call fcn.0041d980
add esp, 0x10
test eax, eax
je 0x41b097
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
sub edx, eax
add ecx, eax
push edx
push ecx
push 0
mov ecx, esi
call fcn.00418160
mov edx, dword [edi]
mov ecx, esi
mov eax, dword [edx + 0x18]
push eax
call fcn.00412e80
lea ebx, [esi + 0x4c0c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi]
push ecx
call fcn.0041de00
add esp, 4
mov dword [edi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [esi + 0x4c54]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [ebp - 0x18]
inc ebx
cmp bx, word [esi + 0x4c50]
mov dword [ebp - 0x18], ebx
jb 0x41b00d
mov eax, dword [esi + 0x4c80]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], 0
mov eax, dword [esi + 0x4aec]
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
je 0x41b126
mov dword [ebp - 0x50], eax
call ebx
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x41b167
mov dword [ebp - 0x24], 1
jmp 0x41b167
call ebx
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jae 0x41b134
sub eax, ecx
dec eax
jmp 0x41b136
sub eax, ecx
cmp eax, 0xea60
jbe 0x41b167
mov eax, dword [ebp - 0x54]
inc eax
cmp ax, 4
mov dword [ebp - 0x54], eax
jae 0x41b6c6
call ebx
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x41b15e
mov dword [ebp - 0x24], 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.004140f0
mov eax, dword [ebp - 0x1c]
mov edi, eax
and edi, 0xffff
mov ecx, dword [esi + edi*4 + 0x4c58]
test ecx, ecx
jne 0x41b429
mov eax, dword [esi + 0x4c54]
xor ecx, ecx
mov cx, word [esi + 0x4c50]
cmp eax, ecx
jge 0x41b407
mov ebx, dword [esi + 0x4cdc]
mov dword [ebp - 0x18], 0
test ebx, ebx
jne 0x41b1b5
mov eax, dword [esi + 0x4c00]
xor edx, edx
div ecx
mov ebx, eax
mov ecx, esi
call fcn.00417140
test eax, eax
je 0x41b20d
mov ecx, dword [esi + 0x4a74]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], ecx
fild qword [ebp - 0x6c]
fmul qword [esi + 0x4cc0]
call fcn.0043f060
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x4cb8]
test eax, eax
je 0x41b207
mov ecx, esi
mov ebx, eax
call fcn.00418560
cmp eax, ebx
jae 0x41b207
mov eax, dword [esi + 0x4a74]
cmp eax, ebx
jb 0x41b207
sub eax, ebx
mov dword [ebp - 0x18], eax
mov ebx, dword [esi + 0x4cd8]
cmp ebx, 1
ja 0x41b217
mov ebx, 1
mov eax, dword [esi + 0x4c00]
xor ecx, ecx
mov cx, word [esi + 0x4c50]
xor edx, edx
div ecx
cmp ebx, eax
jb 0x41b230
mov ebx, eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x58]
push edx
push eax
push ebx
push 0
push ecx
mov ecx, esi
call fcn.004175b0
test eax, eax
jne 0x41b261
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x58]
push edx
push eax
mov ecx, esi
call fcn.00417990
test eax, eax
je 0x41b407
mov ecx, dword [0x497e8c]
mov dword [ebp - 0x18], ecx
lea edx, [edi + 1]
lea eax, [ebp - 0x18]
push edx
push str.Thread_d
push eax
mov byte [ebp - 4], 0xd
call fcn.00454b0b
mov ecx, dword [esi + 0x4a50]
add esp, 0xc
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x34]
push ecx
push 3
push edx
push eax
mov ecx, esi
call fcn.00412590
mov ecx, dword [ebp - 0x34]
push str.NOTREADY
push ecx
mov byte [ebp - 4], 0xe
call fcn.0043ee58
add esp, 8
test eax, eax
jne 0x41b2c8
push 0x47a9b8
lea ecx, [ebp - 0x34]
call fcn.0045ee5e
mov dword [ebp - 0x38], 0xffffffff
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
mov dword [esi + 0x4a50], eax
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x41b3e7
cmp dword [ebp - 0x38], eax
je 0x41b3e7
mov ecx, esi
call fcn.00417140
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x4c4c]
test eax, eax
jne 0x41b32b
push 1
push str.Multithread_Disabled
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.download
call fcn.0045ed43
call fcn.00413c40
add esp, 0xc
or ebx, 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
mov eax, dword [esi + 0x4c24]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x41b345
mov ecx, dword [esi + 0x4c34]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x38]
mov ecx, esi
push edx
call fcn.00412c00
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi + 0x4cd4]
push ecx
mov ecx, dword [esi + 0x4a74]
mov eax, dword [esi + 0x4a6c]
push edx
mov edx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [esi + 0x4a70]
push edx
mov edx, dword [esi + 0x4ccc]
push ebx
push ecx
mov ecx, dword [esi + 0x4cc8]
push edx
mov edx, dword [esi + 0x4cd0]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [esi + edi*4 + 0x4c84]
push ecx
mov ecx, dword [ebp - 0x38]
push 0
push edx
push eax
push ecx
call fcn.0041e150
add esp, 0x40
mov dword [esi + edi*4 + 0x4c58], eax
test eax, eax
je 0x41b3da
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x58]
push edx
inc ecx
push eax
push ecx
mov ecx, esi
call fcn.00418160
lea eax, [esi + 0x4c54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41b3ef
mov edx, dword [ebp - 0x38]
mov ecx, esi
push edx
call fcn.00412e80
jmp 0x41b3ef
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0045ecd5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0045ecd5
mov eax, dword [ebp - 0x1c]
inc eax
cmp ax, word [esi + 0x4c50]
mov dword [ebp - 0x1c], eax
jb 0x41b6ad
mov dword [ebp - 0x1c], 0
push 0x32
jmp 0x41b6a7
inc eax
mov ecx, esi
push eax
mov dword [ebp - 0x4c], eax
call fcn.00418200
test eax, eax
je 0x41b44b
mov eax, dword [esi + edi*4 + 0x4c58]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call fcn.004140f0
cmp dword [esi + 0x4a2c], 0xffffffff
je 0x41b49a
mov edx, dword [esi + 0x4a28]
lea ebx, [esi + 0x4a28]
push 0
push 0x4a10
mov ecx, ebx
call dword [edx + 0x28]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c08]
mov eax, dword [ebx]
shl ecx, 1
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x38]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c04]
mov eax, dword [ebx]
shl ecx, 1
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [esi + edi*4 + 0x4c58]
push eax
call fcn.0041dca0
mov ecx, dword [esi + edi*4 + 0x4c58]
mov dword [ebp - 0x5c], eax
push ecx
call fcn.0041dc70
add esp, 8
test eax, eax
je 0x41b5ff
mov edx, dword [ebp - 0x1c]
push 1
push edx
mov ecx, esi
call fcn.00419330
mov dword [ebp - 0x18], eax
mov eax, dword [esi + edi*4 + 0x4c58]
push eax
call fcn.0041d840
mov ecx, dword [esi + edi*4 + 0x4c58]
mov dword [ebp - 0x30], eax
push ecx
call fcn.0041d7e0
mov edx, dword [esi + edi*4 + 0x4c58]
mov ebx, eax
push edx
call fcn.0041db70
add esp, 0xc
test eax, eax
jl 0x41b510
push eax
push ebx
push 0
mov ecx, esi
call fcn.00412f30
mov eax, dword [esi + edi*4 + 0x4c58]
push eax
call fcn.0041d9e0
mov ecx, dword [ebp - 0x4c]
add esp, 4
push ecx
mov ecx, esi
call fcn.00418200
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x20]
push edx
mov edx, dword [esi + edi*4 + 0x4c58]
lea ecx, [ebp - 0x44]
push eax
push ecx
push edx
call fcn.0041d980
add esp, 0x10
test eax, eax
je 0x41b563
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
sub ecx, eax
add edx, eax
push ecx
push edx
push 0
mov ecx, esi
call fcn.00418160
mov eax, dword [esi + edi*4 + 0x4c58]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call fcn.00412e80
cmp dword [ebp - 0x5c], 2
je 0x41b59c
mov ebx, dword [ebp - 0x30]
mov eax, dword [esi + edi*4 + 0x4c58]
xor edx, edx
cmp ebx, 0x194
mov ecx, dword [eax + 0x18]
setne dl
push edx
push ecx
mov ecx, esi
call fcn.00413b40
lea ebx, [esi + 0x4c0c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + edi*4 + 0x4c58]
push edx
call fcn.0041de00
add esp, 4
mov dword [esi + edi*4 + 0x4c58], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x4c54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41b68f
cmp ax, word [esi + 0x4c50]
mov dword [ebp - 0x1c], eax
jb 0x41b6ad
mov dword [ebp - 0x1c], 0
jmp 0x41b6ad
mov ecx, dword [esi + edi*4 + 0x4c58]
push ecx
call fcn.0041d7e0
mov edx, dword [esi + edi*4 + 0x4c58]
mov ebx, eax
push edx
call fcn.0041db70
add esp, 8
test eax, eax
jl 0x41b62d
push eax
push ebx
push 0
mov ecx, esi
call fcn.00412f30
mov eax, dword [esi + edi*4 + 0x4c58]
push eax
call fcn.0041dbc0
mov ecx, dword [esi + edi*4 + 0x4c58]
mov dword [ebp - 0x14], eax
push ecx
call fcn.0041dbf0
add esp, 8
cmp eax, 0xffffffff
je 0x41b687
mov edx, dword [ebp - 0x14]
push eax
push edx
push ebx
mov ecx, esi
call fcn.004168e0
test eax, eax
je 0x41b687
push ebx
mov ecx, esi
call fcn.00416830
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [esi + edi*4 + 0x4c58]
lea edx, [ebp - 0x44]
push ecx
push edx
push eax
call fcn.0041d980
add esp, 0x10
push ebx
mov ecx, esi
call fcn.00412cb0
mov eax, dword [ebp - 0x4c]
cmp ax, word [esi + 0x4c50]
mov dword [ebp - 0x1c], eax
jb 0x41b6a5
mov dword [ebp - 0x1c], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x4c3c]
test eax, eax
je 0x41adfc
jmp 0x41b6cd
mov dword [ebp - 0x28], 1
jmp 0x41b6cd
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [esi + 0x4c24]
xor edi, edi
cmp eax, edi
je 0x41b6e0
mov ecx, esi
call fcn.00413250
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x41b6e9
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x4c3c], edi
je 0x41b6f4
mov dword [ebp - 0x28], edi
xor ecx, ecx
cmp word [esi + 0x4c50], di
mov dword [ebp - 0x1c], ecx
jbe 0x41b817
mov edx, ecx
and edx, 0xffff
mov eax, dword [esi + edx*4 + 0x4c58]
lea edi, [esi + edx*4 + 0x4c58]
xor edx, edx
cmp eax, edx
je 0x41b806
cmp dword [eax + 0x39c], 1
je 0x41b755
mov ecx, dword [eax + 0x3a0]
cmp ecx, 2
je 0x41b73f
cmp ecx, 1
jne 0x41b755
mov ecx, dword [eax + 0x3a4]
cmp ecx, 0xc8
je 0x41b758
cmp ecx, 0xce
je 0x41b758
mov dword [ebp - 0x28], edx
push eax
call fcn.0041d7e0
mov ebx, eax
mov eax, dword [edi]
push eax
call fcn.0041db70
add esp, 8
test eax, eax
jl 0x41b77a
push eax
push ebx
push 0
mov ecx, esi
call fcn.00412f30
mov ecx, dword [edi]
push ecx
call fcn.0041d9e0
mov edx, dword [ebp - 0x1c]
add esp, 4
inc edx
mov ecx, esi
push edx
call fcn.00418200
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [edi]
lea edx, [ebp - 0x44]
push ecx
push edx
push eax
call fcn.0041d980
add esp, 0x10
test eax, eax
je 0x41b7c4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
sub ecx, eax
add edx, eax
push ecx
push edx
push 0
mov ecx, esi
call fcn.00418160
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call fcn.00412e80
lea ebx, [esi + 0x4c0c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi]
push edx
call fcn.0041de00
add esp, 4
mov dword [edi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x4c54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [ebp - 0x1c]
inc ecx
cmp cx, word [esi + 0x4c50]
mov dword [ebp - 0x1c], ecx
jb 0x41b706
mov eax, dword [esi + 0x4a2c]
or ebx, 0xffffffff
cmp eax, ebx
je 0x41b871
mov edx, dword [esi + 0x4a28]
lea edi, [esi + 0x4a28]
push 0
push 0x4a10
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c08]
mov eax, dword [edi]
shl ecx, 1
push ecx
push edx
mov ecx, edi
call dword [eax + 0x38]
mov ecx, dword [esi + 0x4c00]
mov edx, dword [esi + 0x4c04]
mov eax, dword [edi]
shl ecx, 1
push ecx
push edx
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41bbda
mov ecx, dword [esi + 0x4a6c]
lea edi, [esi + 0x4a6c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ba07
mov eax, dword [esi + 0x4a74]
test eax, eax
je 0x41ba07
push ecx
lea ecx, [esi + 0x4a78]
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax], 0
call fcn.0041bc50
test eax, eax
je 0x41ba07
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x14]
push edx
push edi
push eax
call fcn.0045ef04
mov eax, dword [eax]
push 0
push eax
call fcn.0043f384
add esp, 8
cmp eax, 0xffffffff
lea ecx, [ebp - 0x14]
setne bl
call fcn.0045ecd5
test bl, bl
je 0x41ba07
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x14]
push ecx
push edi
push edx
mov byte [ebp - 4], 0xf
call fcn.0045ef04
mov eax, dword [eax]
lea ecx, [ebp - 0x1a8]
push ecx
push eax
mov byte [ebp - 4], 0x10
call fcn.0045f70a
lea ecx, [ebp - 0x14]
mov ebx, eax
mov byte [ebp - 4], 0xf
call fcn.0045ecd5
test ebx, ebx
je 0x41b961
mov edx, dword [esi + 0x4a78]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
push edi
push ecx
mov dword [ebp - 0x1a4], edx
call fcn.0045ef04
mov eax, dword [eax]
lea edx, [ebp - 0x1a8]
push edx
push eax
mov byte [ebp - 4], 0x11
call fcn.0045f86f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0045ecd5
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41ba00
push ecx
lea edx, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x14], esp
lea edi, [esi + 0x4a6c]
push edx
push edi
push ecx
call fcn.0045ef04
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x68], esp
push edi
call fcn.0045ea4a
mov byte [ebp - 4], 0xf
call fcn.0041cfd0
add esp, 8
test eax, eax
je 0x41b9b0
mov eax, dword [edi]
push eax
call fcn.0045fed1
jmp 0x41b9c4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.0045ea4a
call fcn.0041d0a0
add esp, 4
mov ebx, dword [edi]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
push edi
push ecx
call fcn.0045ef04
mov eax, dword [eax]
push ebx
push eax
mov byte [ebp - 4], 0x13
call fcn.0045feaf
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0045ecd5
jmp 0x41ba00
mov dword [ebp - 4], 3
mov edx, dword [esi + 0x4a6c]
mov eax, dword [edx - 8]
test eax, eax
je 0x41bbc9
mov eax, dword [0x497e8c]
mov dword [ebp - 0x30], eax
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1daa7b8
call fcn.0045ea4a
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x49297c
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.LogFile
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.System
call fcn.0045ed43
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
push ecx
call fcn.00413940
add esp, 0x14
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.0045ee0e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
call fcn.0045ecd5
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x47a9b8
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x49297c
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.IniWriteBack
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.system
call fcn.0045ed43
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
push edx
call fcn.00413940
mov eax, dword [eax]
add esp, 0x14
push eax
call fcn.0043ebab
add esp, 4
lea ecx, [ebp - 0x14]
test eax, eax
setg bl
call fcn.0045ecd5
test bl, bl
je 0x41bb68
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x1daa7b8
call fcn.0045ea4a
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
mov byte [ebp - 4], 0x1e
call fcn.0045ea4a
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.LogFile
call fcn.0045ed43
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.System
call fcn.0045ed43
mov byte [ebp - 4], 0x16
call fcn.00413780
add esp, 0x10
mov ecx, dword [ebp - 0x48]
push 0
push ecx
call fcn.0043f384
add esp, 8
cmp eax, 0xffffffff
je 0x41bb84
mov edx, dword [ebp - 0x48]
push edx
call fcn.0045fed1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.0045ecd5
jmp 0x41bbc2
mov dword [ebp - 4], 3
lea eax, [esi + 0x4c44]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41bbe0
mov dword [esi + 0x4c48], ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [esi + 0xc]
push 0
push ecx
call edi
lea edx, [esi + 8]
push 0
push edx
call edi
add esi, 0x4c40
push 1
push esi
call edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0045ecd5
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0045ecd5
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.0045ecd5
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0045ecd5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret