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

Disassembly:
push 0xffffffffffffffff
push 0x4a9148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
push edi
push 0x5084bc
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
mov ecx, 0x40119
xor ebx, ebx
mov edi, dword [eax*4 + 0x507f10]
xor eax, eax
mov dword [esp + 0x44], edi
mov ebp, 0x4b3ce0
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov edi, str.next
mov dword [esp + 0x78], ecx
mov dword [esp + 0x10], 0x3ff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x84], ebx
mov esi, ecx
mov ecx, ebx
add esi, 0xb
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
je 0x49f811
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x74], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov dword [esp + 0x74], ecx
mov edi, dword [esp + 0x70]
mov edx, ecx
xor eax, eax
mov dword [esp + 0xac], 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 [esp + 0x70]
cmp eax, ebx
mov dword [esp + 0x84], eax
lea ecx, [eax + 4]
lea edx, [eax + 6]
mov dword [esp + 0x88], ecx
lea ecx, [eax + 0xa]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
je 0x49f866
mov dword [eax], 0x20000
mov edx, dword [esp + 0x8c]
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ebx
je 0x49f87b
mov dword [edx], ecx
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.next
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x58], ebp
mov esi, ecx
mov ecx, ebx
add esi, 0xb
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ecx
je 0x49f8eb
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x60], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov dword [esp + 0x60], ecx
mov edi, dword [esp + 0x5c]
mov edx, ecx
xor eax, eax
mov byte [esp + 0xac], 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov dword [esp + 0x84], eax
lea ecx, [eax + 4]
lea edx, [eax + 6]
mov dword [esp + 0x88], ecx
lea ecx, [eax + 0xa]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
je 0x49f941
mov dword [eax], 0x20000
mov edx, dword [esp + 0x8c]
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ebx
je 0x49f956
mov dword [edx], ecx
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x64], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0xb4]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x1c], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x49f99e
mov eax, dword [eax]
add eax, 0xd
mov dword [esp + 0x54], eax
jmp 0x49f9a2
mov dword [esp + 0x54], ebx
push 0x10c240
mov dword [esp + 0x3c], 0x4b3ce0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x43090
xor eax, eax
mov dword [esp + 0x40], edi
rep stosd dword es:[edi], eax
add esp, 4
mov dword [esp + 0x40], 0x10c240
mov edi, dword [esp + 0x3c]
mov ecx, 0x43090
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xbc]
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 2
lea esi, [edi*4 + 0x507f20]
call fcn.004a4816
mov ecx, esi
mov byte [esp + 0xac], 3
call fcn.004a3440
push eax
push edi
lea ecx, [esp + 0x20]
push str.__02d_NET_DOG__CClientThread::My_File__HANDLE:0x_08X_
push ecx
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0x10
test al, 1
jne 0x49fa57
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call ebp
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebx
je 0x49fac1
mov eax, dword [0x5084c0]
cmp eax, ebx
je 0x49fac1
call eax
cmp eax, 1
jl 0x49fac1
mov al, byte [0x5087cd]
mov esi, dword [0x507eb4]
mov edi, dword [esp + 0x18]
test al, 1
jne 0x49faa7
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call ebp
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebx
je 0x49fac1
mov eax, dword [0x5084d0]
cmp eax, ebx
je 0x49fac1
push esi
push edi
push 1
call eax
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 4]
lea edx, [ecx + 6]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
add ecx, 0xa
cmp eax, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
jbe 0x49fb2d
xor eax, eax
cmp eax, 0x5083f0
je 0x49fb0b
push 0x5083f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084ac]
inc ecx
mov dword [0x5084ac], ecx
xor ecx, ecx
cmp ecx, 0x5083f0
je 0x49fb2d
push 0x5083f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, str.INIT_init_INIT
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], 0x4b3ce0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x4c], ebx
mov esi, ecx
mov ecx, ebx
add esi, 0x10
mov dword [esp + 0x50], ecx
je 0x49fb7c
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x50], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov dword [esp + 0x50], ecx
mov edi, dword [esp + 0x4c]
mov edx, ecx
xor eax, eax
mov byte [esp + 0xac], 0x12
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c]
cmp eax, ebx
lea ecx, [eax + 4]
lea edx, [eax + 6]
lea ebp, [eax + 0xa]
je 0x49fbaf
mov dword [eax], 0x20000
mov eax, dword [esp + 0xbc]
mov ax, word [eax*2 + 0x507fa8]
add ax, 0x2710
cmp ecx, ebx
je 0x49fbc9
mov word [ecx], ax
mov edi, str.INIT_init_INIT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 4
cmp edx, ebx
je 0x49fbe0
mov dword [edx], ecx
mov edi, str.INIT_init_INIT
or ecx, 0xffffffff
xor eax, eax
mov esi, str.INIT_init_INIT
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
mov eax, dword [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x49fc19
mov edx, dword [eax]
add edx, 0xd
jmp 0x49fc1b
xor edx, edx
mov edi, str.INIT_init_INIT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ecx + ebp + 1], edx
mov ecx, dword [esp + 0x50]
xor edx, edx
lea esi, [ecx - 1]
cmp esi, ebx
jle 0x49fc64
cmp edx, 0x400
jl 0x49fc45
xor edx, edx
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0x4c]
mov ecx, dword [ecx*4 + 0x507f00]
add ecx, edx
mov cl, byte [ecx]
xor byte [edi + eax], cl
inc eax
inc edx
cmp eax, esi
jl 0x49fc3b
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0xbc]
mov eax, dword [esp + 0x4c]
xor ebp, ebp
push ebp
dec edx
push ebp
lea ebx, [esi*4 + 0x507f20]
push edx
push eax
mov ecx, ebx
call fcn.004a2b00
mov ecx, dword [esp + 0x50]
dec ecx
cmp ecx, eax
je 0x49fd00
mov eax, dword [esp + 0x4c]
mov esi, 0x4b3ce0
cmp eax, ebp
mov dword [esp + 0x48], esi
je 0x49fcaf
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, ebp
je 0x49fcc8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], esi
cmp eax, ebp
je 0x49fce1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], esi
cmp eax, ebp
je 0x49fcf6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xfffd678b
jmp 0x4a153c
inc word [esi*2 + 0x507fa8]
lea ecx, [esp + 0x18]
call fcn.004a4816
mov edx, dword [esp + 0x20]
push esi
push edx
lea eax, [esp + 0x20]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________Begin_Send
push eax
mov byte [esp + 0xbc], 0x13
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
add esp, 0x10
test al, 1
jne 0x49fd63
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebp
je 0x49fdd1
mov eax, dword [0x5084c0]
cmp eax, ebp
je 0x49fdd1
call eax
cmp eax, 2
jl 0x49fdd1
mov al, byte [0x5087cd]
mov esi, dword [0x507eb4]
mov edi, dword [esp + 0x18]
test al, 1
jne 0x49fdb7
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebp
je 0x49fdd1
mov eax, dword [0x5084d0]
cmp eax, ebp
je 0x49fdd1
push esi
push edi
push 2
call eax
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x54]
mov byte [esp + 0x17], 1
cmp eax, ebp
jbe 0x4a027f
xor ecx, ecx
cmp ecx, 0x5083d0
je 0x49fe08
push 0x5083d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084b0]
xor edx, edx
inc ecx
cmp edx, 0x5083d0
mov dword [0x5084b0], ecx
je 0x49fe2a
push 0x5083d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x44]
mov ecx, 0x40119
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, str.next
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push eax
add ecx, 0x40e
push eax
push ecx
push edx
mov ecx, ebx
call fcn.004a2ad0
mov ebp, eax
test ebp, ebp
jle 0x49ffbf
xor edx, edx
xor ecx, ecx
test ebp, ebp
jle 0x49fe96
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xbc]
cmp edx, 0x400
jl 0x49fe7d
xor edx, edx
mov eax, dword [edi*4 + 0x507f00]
mov bl, byte [ecx + esi]
add eax, edx
mov al, byte [eax]
xor bl, al
mov byte [ecx + esi], bl
inc ecx
inc edx
cmp ecx, ebp
jl 0x49fe73
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x40e
cmp ecx, ebp
jne 0x4a0991
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49febf
mov ax, word [eax]
jmp 0x49fec1
xor eax, eax
mov ecx, dword [esp + 0xbc]
cmp ax, word [ecx*2 + 0x507fa8]
jne 0x4a0991
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49fee2
mov edx, dword [eax]
jmp 0x49fee4
xor edx, edx
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x404
cmp edx, ecx
jne 0x4a0991
mov edx, dword [esp + 0x34]
mov esi, str.next
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x49ff2f
test cl, cl
je 0x49ff2b
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x49ff2f
add eax, 2
add esi, 2
test cl, cl
jne 0x49ff0b
xor eax, eax
jmp 0x49ff34
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a0991
mov edi, str.next
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0x1c]
dec ecx
test eax, eax
lea esi, [ecx + edx + 5]
mov edx, dword [esp + 0xbc]
mov ecx, 0x100
mov edi, dword [edx*4 + 0x507f00]
rep movsd dword es:[edi], dword [esi]
jne 0x49ff86
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
mov ecx, dword [ecx + eax + 1]
dec ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
cmp ecx, 0x508470
je 0x49ff9b
push 0x508474
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084a4]
xor edx, edx
inc ecx
cmp edx, 0x508470
mov dword [0x5084a4], ecx
je 0x49ffbd
push 0x508474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
je 0x4a07fa
jl 0x4a0b1b
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0xbc]
mov ecx, 0x40119
xor eax, eax
rep stosd dword es:[edi], eax
mov ax, word [ebx*2 + 0x507fa8]
mov ecx, dword [esp + 0x2c]
add ax, 0x2710
test ecx, ecx
je 0x49fff6
mov word [ecx], ax
mov al, byte [esp + 0x17]
test al, al
je 0x4a00e3
mov edx, dword [esp + 0xb4]
mov eax, dword [edx + 0x44]
test eax, eax
je 0x4a0014
mov ecx, dword [eax]
jmp 0x4a0016
xor ecx, ecx
lea esi, [ecx + 0xd]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jbe 0x4a0025
mov eax, ecx
jmp 0x4a0032
test eax, eax
je 0x4a002d
mov eax, dword [eax]
jmp 0x4a002f
xor eax, eax
add eax, 0xd
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4a0048
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a0048
mov ecx, dword [eax]
jmp 0x4a004a
xor ecx, ecx
mov esi, dword [edx + 0x34]
mov edi, dword [esp + 0x34]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a006d
mov dword [eax], 0x20000
lea ecx, [esp + 0x28]
call fcn.0049f740
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.0049f740
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x4a00b3
cmp esi, 0x400
jl 0x4a0099
xor esi, esi
mov edi, dword [ebx*4 + 0x507f00]
mov edx, esi
add edx, edi
mov edi, dword [esp + 0x28]
mov dl, byte [edx]
xor byte [ecx + edi], dl
inc ecx
inc esi
cmp ecx, eax
jl 0x4a008f
mov esi, dword [esp + 0xbc]
mov eax, dword [esp + 0x28]
push 0
push 0
lea ebx, [esi*4 + 0x507f20]
push ebp
push eax
mov ecx, ebx
call fcn.004a2b00
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp - 0xa]
mov dword [esp + 0x1c], edx
jmp 0x4a0262
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
lea edx, [eax - 1]
cmp edx, ecx
jbe 0x4a0116
mov eax, ecx
jmp 0x4a0117
dec eax
mov edi, dword [esp + 0xb4]
mov edx, dword [edi + 0x44]
test edx, edx
je 0x4a0129
mov ecx, dword [edx]
jmp 0x4a012b
xor ecx, ecx
mov esi, dword [esp + 0x1c]
add ecx, 0xd
cmp esi, ecx
jae 0x4a016f
test edx, edx
je 0x4a013e
mov ecx, dword [edx]
jmp 0x4a0140
xor ecx, ecx
sub ecx, esi
add ecx, 0xd
cmp ecx, eax
ja 0x4a0158
test edx, edx
je 0x4a0151
mov eax, dword [edx]
jmp 0x4a0153
xor eax, eax
sub eax, esi
add eax, 0xd
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push esi
push edi
call fcn.0049e1a0
add esp, 0x14
jmp 0x4a01c4
mov ecx, dword [esp + 0xc0]
cmp ecx, 0xffffffff
je 0x4a0158
mov esi, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
push esi
push ecx
call fcn.0049dff0
mov ecx, dword [esp + 0xd8]
xor edx, edx
add esp, 0x14
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
cmp edx, ecx
sbb eax, eax
add esi, ecx
mov edx, ecx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x3c]
inc eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
jne 0x4a027f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a01da
mov dword [eax], 0x20000
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a01e8
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.0049f740
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.0049f740
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x4a022e
cmp esi, 0x400
jl 0x4a0214
xor esi, esi
mov edi, dword [ebx*4 + 0x507f00]
mov edx, esi
add edx, edi
mov edi, dword [esp + 0x28]
mov dl, byte [edx]
xor byte [ecx + edi], dl
inc ecx
inc esi
cmp ecx, eax
jl 0x4a020a
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x28]
push 0
push 0
lea ebx, [ecx*4 + 0x507f20]
push ebp
push eax
mov ecx, ebx
call fcn.004a2b00
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xbc]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
inc word [esi*2 + 0x507fa8]
cmp ecx, eax
mov byte [esp + 0x17], 0
ja 0x49fdf3
lea ecx, [esp + 0x10]
call fcn.004a4816
mov ebx, dword [esp + 0xbc]
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Send
push eax
mov byte [esp + 0xbc], 0x4f
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
add esp, 0x10
test al, 1
jne 0x4a02e1
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
mov eax, dword [0x5084c4]
test eax, eax
je 0x4a0314
mov eax, dword [0x5084c0]
test eax, eax
je 0x4a0314
call eax
cmp eax, 2
jl 0x4a0314
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x10]
push 0
push 2
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4a04a5
mov ecx, dword [esp + 0xc4]
cmp dword [ecx], 0xffffffff
jne 0x4a04a5
mov ebp, dword [esp + 0x44]
mov ecx, 0x40119
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, str.next
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push eax
add ecx, 0x40e
push eax
push ecx
push ebp
lea ecx, [ebx*4 + 0x507f20]
call fcn.004a2ad0
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x4a03a4
cmp esi, 0x400
jl 0x4a0388
xor esi, esi
mov edi, dword [ebx*4 + 0x507f00]
mov edx, esi
add edx, edi
mov edi, dword [esp + 0x44]
mov dl, byte [edx]
xor byte [ecx + edi], dl
inc ecx
inc esi
cmp ecx, eax
jl 0x4a037e
mov ebp, edi
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebx*4 + 0x507f00]
not ecx
dec ecx
lea esi, [ecx + ebp + 0xf]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x40119
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a03dc
mov dword [eax], 0x20000
mov ax, word [ebx*2 + 0x507fa8]
mov ecx, dword [esp + 0x2c]
add ax, 0x2710
test ecx, ecx
je 0x4a03f3
mov word [ecx], ax
push 0xb
lea ecx, [esp + 0x2c]
call fcn.004a1580
mov eax, dword [esp + 0x34]
mov ecx, dword [str.END_end_END]
mov dword [eax], ecx
mov edx, dword [0x4e84a4]
mov dword [eax + 4], edx
mov cx, word [0x4e84a8]
mov word [eax + 8], cx
mov dl, byte [0x4e84aa]
lea ecx, [esp + 0x28]
mov byte [eax + 0xa], dl
call fcn.0049f740
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.0049f740
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x4a046d
cmp esi, 0x400
jl 0x4a0453
xor esi, esi
mov edi, dword [ebx*4 + 0x507f00]
mov edx, esi
add edx, edi
mov edi, dword [esp + 0x28]
mov dl, byte [edx]
xor byte [ecx + edi], dl
inc ecx
inc esi
cmp ecx, eax
jl 0x4a0449
mov eax, dword [esp + 0x28]
push 0
push 0
push ebp
push eax
lea ecx, [ebx*4 + 0x507f20]
call fcn.004a2b00
push 0x5083b0
lea ecx, [esp + 0x68]
call fcn.0049e340
mov eax, dword [0x508490]
lea ecx, [esp + 0x64]
inc eax
mov dword [0x508490], eax
call fcn.0049d2a0
mov esi, dword [esp + 0xc4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4a04c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov edi, dword [esp + 0x44]
mov ecx, 0x40119
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0049f710
xor esi, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
call fcn.004a4816
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call fcn.004a4816
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________Begin_Recv
push eax
mov byte [esp + 0xbc], 0x58
call sub.MFC42.DLL_CString::Format
push esi
push esi
push esi
push esi
push 3
call fcn.0049e6c0
add esp, 0x24
cmp eax, 2
jl 0x4a054d
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x10]
push esi
push 2
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
inc word [ebx*2 + 0x507fa8]
mov byte [esp + 0x17], 1
push 0x5083d0
lea ecx, [esp + 0xa0]
xor esi, esi
call fcn.0049e340
mov eax, dword [0x5084b0]
lea ecx, [esp + 0x9c]
inc eax
mov dword [0x5084b0], eax
call fcn.0049d2a0
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
push 0xa
push eax
lea ecx, [ebx*4 + 0x507f20]
call fcn.004a2ad0
mov ebp, eax
test ebp, ebp
jle 0x4a070c
xor ecx, ecx
test ebp, ebp
jle 0x4a05f6
cmp esi, 0x400
jl 0x4a05dc
xor esi, esi
mov edx, dword [ebx*4 + 0x507f00]
mov eax, esi
add eax, edx
mov edx, dword [esp + 0x3c]
mov al, byte [eax]
xor byte [edx + ecx], al
inc ecx
inc esi
cmp ecx, ebp
jl 0x4a05d2
cmp ebp, 0xa
jne 0x4a110a
lea ecx, [esp + 0x28]
call fcn.0049f730
cmp ax, word [ebx*2 + 0x507fa8]
jne 0x4a110a
lea ecx, [esp + 0x28]
call fcn.0049f740
cmp eax, 0x10c240
ja 0x4a110a
push 0x508470
lea ecx, [esp + 0x98]
call fcn.0049e340
mov ecx, dword [0x5084a4]
inc ecx
mov dword [0x5084a4], ecx
lea ecx, [esp + 0x94]
call fcn.0049d2a0
mov edi, dword [esp + 0x34]
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.0049f740
push eax
push edi
lea ecx, [ebx*4 + 0x507f20]
call fcn.004a2ad0
mov ebp, eax
test ebp, ebp
jle 0x4a070c
xor ecx, ecx
test ebp, ebp
jle 0x4a06a7
cmp esi, 0x400
jl 0x4a068d
xor esi, esi
mov edx, dword [ebx*4 + 0x507f00]
mov eax, esi
add eax, edx
mov edx, dword [esp + 0x34]
mov al, byte [eax]
xor byte [edx + ecx], al
inc ecx
inc esi
cmp ecx, ebp
jl 0x4a0683
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx*4 + 0x507f00]
lea esi, [ecx + ebp - 0x400]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
call fcn.0049f740
cmp eax, ebp
je 0x4a06e5
lea ecx, [esp + 0x28]
call fcn.0049f740
add eax, dword [esp + 0x1c]
cmp eax, 0x100464
jae 0x4a107f
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x5084a4]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x5084a4], eax
call fcn.0049d2a0
test ebp, ebp
je 0x4a0fed
jl 0x4a1196
lea ecx, [esp + 0x28]
call fcn.0049f740
cmp eax, 0x40b
jne 0x4a0745
mov edx, dword [esp + 0x34]
push 0xb
push str.END_end_END
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4a124f
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [ebx*2 + 0x507fa8]
add cx, 0x2710
push ecx
lea ecx, [esp + 0x88]
call fcn.004a1560
mov al, byte [esp + 0x17]
test al, al
je 0x4a0e45
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x28]
call fcn.0049f740
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov ecx, eax
lea edi, [edx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.0049f740
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
add edi, eax
xor eax, eax
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x1c], edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4a0d46
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lea edi, [eax + 0xd]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4a0d46
mov byte [esp + 0x54], al
jmp 0x4a0f28
xor ecx, ecx
cmp ecx, 0x508470
je 0x4a080f
push 0x508474
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084b4]
xor edx, edx
inc ecx
cmp edx, 0x508470
mov dword [0x5084b4], ecx
je 0x4a0831
push 0x508474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.MSVCRT.dll__errno]
lea ecx, [esp + 0x10]
call fcn.004a4816
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x18]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File
push edx
mov byte [esp + 0xbc], 0x31
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
add esp, 0x10
test al, 1
jne 0x4a089d
mov bl, al
push 0x5087e4
or bl, 1
mov dword [0x5087e0], 0x4b3d54
mov byte [0x5087cd], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
mov eax, dword [0x5084c4]
test eax, eax
je 0x4a0910
mov eax, dword [0x5084c0]
test eax, eax
je 0x4a08b5
call eax
test eax, eax
jl 0x4a0910
mov al, byte [0x5087cd]
mov esi, dword [0x507eb4]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x4a08f5
mov bl, al
push 0x5087e4
or bl, 1
mov dword [0x5087e0], 0x4b3d54
mov byte [0x5087cd], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
mov eax, dword [0x5084c4]
test eax, eax
je 0x4a0910
mov eax, dword [0x5084d0]
test eax, eax
je 0x4a0910
push esi
push edi
push 0
call eax
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x4c]
xor edi, edi
mov esi, 0x4b3ce0
cmp eax, edi
mov dword [esp + 0x48], esi
je 0x4a0941
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, edi
je 0x4a095a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], esi
cmp eax, edi
je 0x4a0973
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], esi
cmp eax, edi
je 0x4a1539
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4a1539
xor eax, eax
cmp eax, 0x508470
je 0x4a09a5
push 0x508474
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084a0]
inc ecx
mov dword [0x5084a0], ecx
xor ecx, ecx
cmp ecx, 0x508470
je 0x4a09c7
push 0x508474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call fcn.004a4816
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x4e83c8
push ecx
mov byte [esp + 0xbc], 0x22
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
add esp, 0x10
test al, 1
jne 0x4a0a2d
mov bl, al
push 0x5087e4
or bl, 1
mov dword [0x5087e0], 0x4b3d54
mov byte [0x5087cd], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
mov eax, dword [0x5084c4]
xor ebx, ebx
cmp eax, ebx
je 0x4a0a9c
mov eax, dword [0x5084c0]
cmp eax, ebx
je 0x4a0a47
call eax
cmp eax, ebx
jl 0x4a0a9c
mov al, byte [0x5087cd]
mov esi, dword [0x507eb4]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x4a0a83
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebx
je 0x4a0a9c
mov eax, dword [0x5084d0]
cmp eax, ebx
je 0x4a0a9c
push esi
push edi
push ebx
call eax
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x4c]
mov esi, 0x4b3ce0
cmp eax, ebx
mov dword [esp + 0x48], esi
je 0x4a0acb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x4a0ae4
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], esi
cmp eax, ebx
je 0x4a0afd
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], esi
cmp eax, ebx
je 0x4a1539
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4a1539
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
call esi
xor edx, edx
cmp edx, 0x508470
je 0x4a0b3a
push 0x508474
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x50849c]
xor eax, eax
inc edx
cmp eax, 0x508470
mov dword [0x50849c], edx
je 0x4a0b66
push 0x508474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x508474
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5084b4]
inc ecx
mov dword [0x5084b4], ecx
xor ecx, ecx
cmp ecx, 0x508470
je 0x4a0b88
push 0x508474
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call fcn.004a4816
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x4e8380
push ecx
mov byte [esp + 0xbc], 0x40
call sub.MFC42.DLL_CString::Format
mov al, byte [0x5087cd]
add esp, 0x10
test al, 1
jne 0x4a0bee
mov bl, al
push 0x5087e4
or bl, 1
mov dword [0x5087e0], 0x4b3d54
mov byte [0x5087cd], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
mov eax, dword [0x5084c4]
xor ebx, ebx
cmp eax, ebx
je 0x4a0c5d
mov eax, dword [0x5084c0]
cmp eax, ebx
je 0x4a0c08
call eax
cmp eax, ebx
jl 0x4a0c5d
mov al, byte [0x5087cd]
mov esi, dword [0x507eb4]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x4a0c44
or al, 1
push 0x5087e4
mov byte [0x5087cd], al
mov dword [0x5087e0], 0x4b3d54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x49ee30
call fcn.004a52b2
add esp, 4
cmp dword [0x5084c4], ebx
je 0x4a0c5d
mov eax, dword [0x5084d0]
cmp eax, ebx
je 0x4a0c5d
push esi
push edi
push ebx
call eax
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov esi, 0x4b3ce0
cmp eax, ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], esi
jne 0x4a0ce5
cmp eax, ebx
je 0x4a0c94
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x4a0cad
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], esi
cmp eax, ebx
je 0x4a0cc6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], esi
cmp eax, ebx
je 0x4a0cdb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xfffd678a
jmp 0x4a153c
cmp eax, ebx
je 0x4a0cf6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x4a0d0f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], esi
cmp eax, ebx
je 0x4a0d28
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], esi
cmp eax, ebx
je 0x4a1539
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4a1539
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.004a4cf0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4a0d7f
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x24]
add edx, 0xd
push edx
push 0x507fb0
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [esp + 0x24]
push 0
push ecx
call fcn.004a19d0
mov edx, dword [esp + 0x2c]
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x78], edi
je 0x4a0f80
lea ecx, [esp + 0x10]
call fcn.004a4816
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push edi
push ebx
push ecx
lea edx, [esp + 0x20]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Recv___hFileToWrite___d__sTmpRecvFileName_s__
push edx
mov byte [esp + 0xc4], 0x5f
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x2c
cmp eax, 2
jl 0x4a0e16
mov eax, dword [0x507eb4]
mov ecx, dword [esp + 0x10]
push 0
push 2
push eax
push ecx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0xb8]
push 1
push edx
mov ecx, esi
call fcn.004a16b0
mov byte [esi + 0x58], 0
jmp 0x4a0f28
lea ecx, [esp + 0x18]
call fcn.004a4816
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
and eax, 0xff
push edi
push eax
push ebx
push ecx
lea edx, [esp + 0x28]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Recv_second___bWriteRecvdToFile___d___ulTotalWrite___d__
push edx
mov byte [esp + 0xc4], 0x60
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x2c
cmp eax, 2
jl 0x4a0eaa
mov eax, dword [0x507eb4]
mov ecx, dword [esp + 0x18]
push 0
push 2
push eax
push ecx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x54]
test al, al
je 0x4a0ef1
lea ecx, [esp + 0x28]
call fcn.0049f740
mov esi, dword [esp + 0x34]
add edi, eax
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], edi
call fcn.0049f740
mov edx, dword [esp + 0x7c]
push eax
push esi
push edx
call fcn.0049e0d0
add esp, 0x10
jmp 0x4a0f28
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x28]
call fcn.0049f740
mov ebp, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x44]
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.0049f740
add ebp, eax
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
xor edx, edx
lea esi, [eax - 1]
xor eax, eax
test esi, esi
jle 0x4a0f5c
lea ebp, [ebx*4 + 0x507f00]
cmp edx, 0x400
jl 0x4a0f4c
xor edx, edx
mov ecx, edx
add ecx, dword [ebp]
mov cl, byte [ecx]
xor byte [edi + eax], cl
inc eax
inc edx
cmp eax, esi
jl 0x4a0f42
push 0
push 0
push esi
push edi
lea ecx, [ebx*4 + 0x507f20]
call fcn.004a2b00
inc word [ebx*2 + 0x507fa8]
mov byte [esp + 0x17], 0
jmp 0x4a056b
lea ecx, [esp + 0x10]
call fcn.004a4816
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push 0x4e8228
push eax
mov byte [esp + 0xbc], 0x5e
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
cmp eax, 2
jl 0x4a0fd7
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x10]
push 0
push 2
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
jmp 0x4a12c3
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x5084b4]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x5084b4], eax
call fcn.0049d2a0
call dword [sym.imp.MSVCRT.dll__errno]
lea ecx, [esp + 0x10]
call fcn.004a4816
mov eax, dword [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x18]
push 0x4e81e0
push ecx
mov byte [esp + 0xbc], 0x5b
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
test eax, eax
jl 0x4a106e
mov edx, dword [0x507eb4]
mov eax, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 2
call fcn.0049e6c0
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x4a14ff
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x5084a0]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x5084a0], eax
call fcn.0049d2a0
lea ecx, [esp + 0x10]
call fcn.004a4816
mov ecx, dword [esp + 0x20]
push ebx
push ecx
lea edx, [esp + 0x18]
push 0x4e8198
push edx
mov byte [esp + 0xbc], 0x5a
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
test eax, eax
jl 0x4a10f9
mov eax, dword [0x507eb4]
mov ecx, dword [esp + 0x10]
push 0
push 0
push eax
push ecx
push 2
call fcn.0049e6c0
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x4a14ff
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x5084a0]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x5084a0], eax
call fcn.0049d2a0
lea ecx, [esp + 0x10]
call fcn.004a4816
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push 0x4e8150
push eax
mov byte [esp + 0xbc], 0x59
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
test eax, eax
jl 0x4a1185
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x10]
push 0
push 0
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x4a14ff
call dword [sym.imp.MSVCRT.dll__errno]
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov edx, dword [0x50849c]
lea ecx, [esp + 0x7c]
inc edx
mov dword [0x50849c], edx
call fcn.0049d2a0
push 0x508470
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x5084b4]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x5084b4], eax
call fcn.0049d2a0
lea ecx, [esp + 0x10]
call fcn.004a4816
mov eax, dword [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x18]
push 0x4e8108
push ecx
mov byte [esp + 0xbc], 0x5c
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
test eax, eax
jl 0x4a123e
mov edx, dword [0x507eb4]
mov eax, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 2
call fcn.0049e6c0
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x4a14ff
lea ecx, [esp + 0x10]
call fcn.004a4816
mov ecx, dword [esp + 0x20]
push str.END_end_END
push ebx
push ecx
lea edx, [esp + 0x1c]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Recv__s
push edx
mov byte [esp + 0xc0], 0x5d
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x28
cmp eax, 2
jl 0x4a12aa
mov eax, dword [0x507eb4]
mov ecx, dword [esp + 0x10]
push 0
push 2
push eax
push ecx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x78]
call fcn.004a4816
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x80]
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Recv
push eax
mov byte [esp + 0xbc], 0x61
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
cmp eax, 2
jl 0x4a131d
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x78]
push 0
push 2
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + ecx - 0x40d]
lea ecx, [esp + 0x64]
call fcn.004a4816
mov eax, dword [esp + 0x20]
mov byte [esp + 0xac], 0x62
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x64]
push edx
push esi
push ebx
push eax
push str.__d___ThreadID_d__NET_DOG__CClientThread::My_File__________End_Recv__ulBufLen_d___pulBufLen__d_
push ecx
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x2c
cmp eax, 2
jl 0x4a1399
mov edx, dword [0x507eb4]
mov eax, dword [esp + 0x64]
push 0
push 2
push edx
push eax
push 2
call fcn.0049e6c0
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 4], esi
jne 0x4a146c
mov ebx, dword [esp + 0xb8]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
mov dword [esp + 0x68], 0xffffffff
call fcn.004a1730
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x10d]
add edx, 0xfffffef3
mov ecx, ebx
push edx
push eax
call fcn.004a1610
mov ecx, dword [ebp]
push ecx
mov ecx, ebx
call fcn.004a15b0
push esi
mov ecx, ebx
call fcn.004a15d0
mov edx, dword [ebp + 8]
mov ecx, ebx
push edx
call fcn.004a15f0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 4]
sub eax, 0x100
push eax
call fcn.004a1590
cmp edi, 0xffffffff
je 0x4a1430
mov ecx, dword [esp + 0x24]
push 0
push ecx
mov ecx, ebx
call fcn.004a16b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
call fcn.004987d0
lea ecx, [esp + 0x38]
call fcn.004987d0
lea ecx, [esp + 0x58]
call fcn.004987d0
lea ecx, [esp + 0x6c]
call fcn.004987d0
xor eax, eax
jmp 0x4a153c
cmp edi, 0xffffffff
je 0x4a1478
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x508450
lea ecx, [esp + 0x80]
call fcn.0049e340
mov eax, dword [0x508494]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x508494], eax
call fcn.0049d2a0
lea ecx, [esp + 0x64]
call fcn.004a4816
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x6c]
push 0x4e7fcc
push eax
mov byte [esp + 0xbc], 0x63
call sub.MFC42.DLL_CString::Format
push 0
push 0
push 0
push 0
push 3
call fcn.0049e6c0
add esp, 0x24
test eax, eax
jl 0x4a14f3
mov ecx, dword [0x507eb4]
mov edx, dword [esp + 0x64]
push 0
push 0
push ecx
push edx
push 2
call fcn.0049e6c0
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
call fcn.004987d0
lea ecx, [esp + 0x38]
call fcn.004987d0
lea ecx, [esp + 0x58]
call fcn.004987d0
lea ecx, [esp + 0x6c]
call fcn.004987d0
or eax, 0xffffffff
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret