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

Disassembly:
push 0xffffffffffffffff
push 0x43edc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
push edi
push 0x45bd54
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 + 0x45b7a8]
xor eax, eax
mov dword [esp + 0x44], edi
mov ebp, 0x440f38
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 0x4382d1
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 0x438326
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 0x43833b
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 0x4383ab
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 0x438401
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 0x438416
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 0x43845e
mov eax, dword [eax]
add eax, 0xd
mov dword [esp + 0x54], eax
jmp 0x438462
mov dword [esp + 0x54], ebx
push 0x10c240
mov dword [esp + 0x3c], 0x440f38
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 + 0x45b7b8]
call fcn.0043d02a
mov ecx, esi
mov byte [esp + 0xac], 3
call fcn.0043c020
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 [0x45c065]
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0x10
test al, 1
jne 0x438517
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call ebp
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebx
je 0x438581
mov eax, dword [0x45bd58]
cmp eax, ebx
je 0x438581
call eax
cmp eax, 1
jl 0x438581
mov al, byte [0x45c065]
mov esi, dword [0x45b74c]
mov edi, dword [esp + 0x18]
test al, 1
jne 0x438567
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call ebp
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebx
je 0x438581
mov eax, dword [0x45bd68]
cmp eax, ebx
je 0x438581
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 0x4385ed
xor eax, eax
cmp eax, 0x45bc88
je 0x4385cb
push 0x45bc8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd44]
inc ecx
mov dword [0x45bd44], ecx
xor ecx, ecx
cmp ecx, 0x45bc88
je 0x4385ed
push 0x45bc8c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, str.INIT_init_INIT
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], 0x440f38
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 0x43863c
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 0x43866f
mov dword [eax], 0x20000
mov eax, dword [esp + 0xbc]
mov ax, word [eax*2 + 0x45b840]
add ax, 0x2710
cmp ecx, ebx
je 0x438689
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 0x4386a0
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 0x4386d9
mov edx, dword [eax]
add edx, 0xd
jmp 0x4386db
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 0x438724
cmp edx, 0x400
jl 0x438705
xor edx, edx
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0x4c]
mov ecx, dword [ecx*4 + 0x45b798]
add ecx, edx
mov cl, byte [ecx]
xor byte [edi + eax], cl
inc eax
inc edx
cmp eax, esi
jl 0x4386fb
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 + 0x45b7b8]
push edx
push eax
mov ecx, ebx
call fcn.0043b5d0
mov ecx, dword [esp + 0x50]
dec ecx
cmp ecx, eax
je 0x4387c0
mov eax, dword [esp + 0x4c]
mov esi, 0x440f38
cmp eax, ebp
mov dword [esp + 0x48], esi
je 0x43876f
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 0x438788
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 0x4387a1
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 0x4387b6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xfffd678b
jmp 0x439ffc
inc word [esi*2 + 0x45b840]
lea ecx, [esp + 0x18]
call fcn.0043d02a
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 [0x45c065]
add esp, 0x10
test al, 1
jne 0x438823
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebp
je 0x438891
mov eax, dword [0x45bd58]
cmp eax, ebp
je 0x438891
call eax
cmp eax, 2
jl 0x438891
mov al, byte [0x45c065]
mov esi, dword [0x45b74c]
mov edi, dword [esp + 0x18]
test al, 1
jne 0x438877
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebp
je 0x438891
mov eax, dword [0x45bd68]
cmp eax, ebp
je 0x438891
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 0x438d3f
xor ecx, ecx
cmp ecx, 0x45bc68
je 0x4388c8
push 0x45bc6c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd48]
xor edx, edx
inc ecx
cmp edx, 0x45bc68
mov dword [0x45bd48], ecx
je 0x4388ea
push 0x45bc6c
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.0043b5a0
mov ebp, eax
test ebp, ebp
jle 0x438a7f
xor edx, edx
xor ecx, ecx
test ebp, ebp
jle 0x438956
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xbc]
cmp edx, 0x400
jl 0x43893d
xor edx, edx
mov eax, dword [edi*4 + 0x45b798]
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 0x438933
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 0x439451
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43897f
mov ax, word [eax]
jmp 0x438981
xor eax, eax
mov ecx, dword [esp + 0xbc]
cmp ax, word [ecx*2 + 0x45b840]
jne 0x439451
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4389a2
mov edx, dword [eax]
jmp 0x4389a4
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 0x439451
mov edx, dword [esp + 0x34]
mov esi, str.next
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4389ef
test cl, cl
je 0x4389eb
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4389ef
add eax, 2
add esi, 2
test cl, cl
jne 0x4389cb
xor eax, eax
jmp 0x4389f4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x439451
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, pe_nt_image_headers32
mov edi, dword [edx*4 + 0x45b798]
rep movsd dword es:[edi], dword [esi]
jne 0x438a46
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, 0x45bd08
je 0x438a5b
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd3c]
xor edx, edx
inc ecx
cmp edx, 0x45bd08
mov dword [0x45bd3c], ecx
je 0x438a7d
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
je 0x4392ba
jl 0x4395db
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 + 0x45b840]
mov ecx, dword [esp + 0x2c]
add ax, 0x2710
test ecx, ecx
je 0x438ab6
mov word [ecx], ax
mov al, byte [esp + 0x17]
test al, al
je 0x438ba3
mov edx, dword [esp + 0xb4]
mov eax, dword [edx + 0x44]
test eax, eax
je 0x438ad4
mov ecx, dword [eax]
jmp 0x438ad6
xor ecx, ecx
lea esi, [ecx + 0xd]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jbe 0x438ae5
mov eax, ecx
jmp 0x438af2
test eax, eax
je 0x438aed
mov eax, dword [eax]
jmp 0x438aef
xor eax, eax
add eax, 0xd
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x438b08
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x438b08
mov ecx, dword [eax]
jmp 0x438b0a
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 0x438b2d
mov dword [eax], 0x20000
lea ecx, [esp + 0x28]
call fcn.00438200
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.00438200
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x438b73
cmp esi, 0x400
jl 0x438b59
xor esi, esi
mov edi, dword [ebx*4 + 0x45b798]
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 0x438b4f
mov esi, dword [esp + 0xbc]
mov eax, dword [esp + 0x28]
push 0
push 0
lea ebx, [esi*4 + 0x45b7b8]
push ebp
push eax
mov ecx, ebx
call fcn.0043b5d0
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp - 0xa]
mov dword [esp + 0x1c], edx
jmp 0x438d22
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 0x438bd6
mov eax, ecx
jmp 0x438bd7
dec eax
mov edi, dword [esp + 0xb4]
mov edx, dword [edi + 0x44]
test edx, edx
je 0x438be9
mov ecx, dword [edx]
jmp 0x438beb
xor ecx, ecx
mov esi, dword [esp + 0x1c]
add ecx, 0xd
cmp esi, ecx
jae 0x438c2f
test edx, edx
je 0x438bfe
mov ecx, dword [edx]
jmp 0x438c00
xor ecx, ecx
sub ecx, esi
add ecx, 0xd
cmp ecx, eax
ja 0x438c18
test edx, edx
je 0x438c11
mov eax, dword [edx]
jmp 0x438c13
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.00436c60
add esp, 0x14
jmp 0x438c84
mov ecx, dword [esp + 0xc0]
cmp ecx, 0xffffffff
je 0x438c18
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.00436ab0
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 0x438d3f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x438c9a
mov dword [eax], 0x20000
mov eax, dword [esp + 0x30]
test eax, eax
je 0x438ca8
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ecx, [esp + 0x28]
call fcn.00438200
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.00438200
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x438cee
cmp esi, 0x400
jl 0x438cd4
xor esi, esi
mov edi, dword [ebx*4 + 0x45b798]
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 0x438cca
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x28]
push 0
push 0
lea ebx, [ecx*4 + 0x45b7b8]
push ebp
push eax
mov ecx, ebx
call fcn.0043b5d0
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 + 0x45b840]
cmp ecx, eax
mov byte [esp + 0x17], 0
ja 0x4388b3
lea ecx, [esp + 0x10]
call fcn.0043d02a
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 [0x45c065]
add esp, 0x10
test al, 1
jne 0x438da1
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
mov eax, dword [0x45bd5c]
test eax, eax
je 0x438dd4
mov eax, dword [0x45bd58]
test eax, eax
je 0x438dd4
call eax
cmp eax, 2
jl 0x438dd4
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x10]
push 0
push 2
push ecx
push edx
push 2
call fcn.00437180
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 0x438f65
mov ecx, dword [esp + 0xc4]
cmp dword [ecx], 0xffffffff
jne 0x438f65
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 + 0x45b7b8]
call fcn.0043b5a0
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x438e64
cmp esi, 0x400
jl 0x438e48
xor esi, esi
mov edi, dword [ebx*4 + 0x45b798]
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 0x438e3e
mov ebp, edi
mov edi, str.next
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebx*4 + 0x45b798]
not ecx
dec ecx
lea esi, [ecx + ebp + 0xf]
mov ecx, pe_nt_image_headers32
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 0x438e9c
mov dword [eax], 0x20000
mov ax, word [ebx*2 + 0x45b840]
mov ecx, dword [esp + 0x2c]
add ax, 0x2710
test ecx, ecx
je 0x438eb3
mov word [ecx], ax
push 0xb
lea ecx, [esp + 0x2c]
call fcn.0043a040
mov eax, dword [esp + 0x34]
mov ecx, dword [str.END_end_END]
mov dword [eax], ecx
mov edx, dword [0x457fc4]
mov dword [eax + 4], edx
mov cx, word [0x457fc8]
mov word [eax + 8], cx
mov dl, byte [0x457fca]
lea ecx, [esp + 0x28]
mov byte [eax + 0xa], dl
call fcn.00438200
mov ebp, eax
lea ecx, [esp + 0x28]
add ebp, 0xa
call fcn.00438200
add eax, 0xa
xor esi, esi
xor ecx, ecx
test eax, eax
jle 0x438f2d
cmp esi, 0x400
jl 0x438f13
xor esi, esi
mov edi, dword [ebx*4 + 0x45b798]
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 0x438f09
mov eax, dword [esp + 0x28]
push 0
push 0
push ebp
push eax
lea ecx, [ebx*4 + 0x45b7b8]
call fcn.0043b5d0
push 0x45bc48
lea ecx, [esp + 0x68]
call fcn.00436e00
mov eax, dword [0x45bd28]
lea ecx, [esp + 0x64]
inc eax
mov dword [0x45bd28], eax
call fcn.00435d60
mov esi, dword [esp + 0xc4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x438f80
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.004381d0
xor esi, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
call fcn.0043d02a
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call fcn.0043d02a
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.00437180
add esp, 0x24
cmp eax, 2
jl 0x43900d
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x10]
push esi
push 2
push ecx
push edx
push 2
call fcn.00437180
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
inc word [ebx*2 + 0x45b840]
mov byte [esp + 0x17], 1
push 0x45bc68
lea ecx, [esp + 0xa0]
xor esi, esi
call fcn.00436e00
mov eax, dword [0x45bd48]
lea ecx, [esp + 0x9c]
inc eax
mov dword [0x45bd48], eax
call fcn.00435d60
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 + 0x45b7b8]
call fcn.0043b5a0
mov ebp, eax
test ebp, ebp
jle 0x4391cc
xor ecx, ecx
test ebp, ebp
jle 0x4390b6
cmp esi, 0x400
jl 0x43909c
xor esi, esi
mov edx, dword [ebx*4 + 0x45b798]
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 0x439092
cmp ebp, 0xa
jne 0x439bca
lea ecx, [esp + 0x28]
call fcn.004381f0
cmp ax, word [ebx*2 + 0x45b840]
jne 0x439bca
lea ecx, [esp + 0x28]
call fcn.00438200
cmp eax, 0x10c240
ja 0x439bca
push 0x45bd08
lea ecx, [esp + 0x98]
call fcn.00436e00
mov ecx, dword [0x45bd3c]
inc ecx
mov dword [0x45bd3c], ecx
lea ecx, [esp + 0x94]
call fcn.00435d60
mov edi, dword [esp + 0x34]
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.00438200
push eax
push edi
lea ecx, [ebx*4 + 0x45b7b8]
call fcn.0043b5a0
mov ebp, eax
test ebp, ebp
jle 0x4391cc
xor ecx, ecx
test ebp, ebp
jle 0x439167
cmp esi, 0x400
jl 0x43914d
xor esi, esi
mov edx, dword [ebx*4 + 0x45b798]
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 0x439143
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx*4 + 0x45b798]
lea esi, [ecx + ebp - 0x400]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
call fcn.00438200
cmp eax, ebp
je 0x4391a5
lea ecx, [esp + 0x28]
call fcn.00438200
add eax, dword [esp + 0x1c]
cmp eax, 0x100464
jae 0x439b3f
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd3c]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd3c], eax
call fcn.00435d60
test ebp, ebp
je 0x439aad
jl 0x439c56
lea ecx, [esp + 0x28]
call fcn.00438200
cmp eax, 0x40b
jne 0x439205
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 0x439d0f
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 + 0x45b840]
add cx, 0x2710
push ecx
lea ecx, [esp + 0x88]
call fcn.0043a020
mov al, byte [esp + 0x17]
test al, al
je 0x439905
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x28]
call fcn.00438200
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.00438200
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 0x439806
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 0x439806
mov byte [esp + 0x54], al
jmp 0x4399e8
xor ecx, ecx
cmp ecx, 0x45bd08
je 0x4392cf
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd4c]
xor edx, edx
inc ecx
cmp edx, 0x45bd08
mov dword [0x45bd4c], ecx
je 0x4392f1
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.MSVCRT.dll__errno]
lea ecx, [esp + 0x10]
call fcn.0043d02a
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 [0x45c065]
add esp, 0x10
test al, 1
jne 0x43935d
mov bl, al
push 0x45c084
or bl, 1
mov dword [0x45c080], 0x440fac
mov byte [0x45c065], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
mov eax, dword [0x45bd5c]
test eax, eax
je 0x4393d0
mov eax, dword [0x45bd58]
test eax, eax
je 0x439375
call eax
test eax, eax
jl 0x4393d0
mov al, byte [0x45c065]
mov esi, dword [0x45b74c]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x4393b5
mov bl, al
push 0x45c084
or bl, 1
mov dword [0x45c080], 0x440fac
mov byte [0x45c065], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
mov eax, dword [0x45bd5c]
test eax, eax
je 0x4393d0
mov eax, dword [0x45bd68]
test eax, eax
je 0x4393d0
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, 0x440f38
cmp eax, edi
mov dword [esp + 0x48], esi
je 0x439401
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 0x43941a
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 0x439433
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 0x439ff9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x439ff9
xor eax, eax
cmp eax, 0x45bd08
je 0x439465
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd38]
inc ecx
mov dword [0x45bd38], ecx
xor ecx, ecx
cmp ecx, 0x45bd08
je 0x439487
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x457ee8
push ecx
mov byte [esp + 0xbc], 0x22
call sub.MFC42.DLL_CString::Format
mov al, byte [0x45c065]
add esp, 0x10
test al, 1
jne 0x4394ed
mov bl, al
push 0x45c084
or bl, 1
mov dword [0x45c080], 0x440fac
mov byte [0x45c065], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
mov eax, dword [0x45bd5c]
xor ebx, ebx
cmp eax, ebx
je 0x43955c
mov eax, dword [0x45bd58]
cmp eax, ebx
je 0x439507
call eax
cmp eax, ebx
jl 0x43955c
mov al, byte [0x45c065]
mov esi, dword [0x45b74c]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x439543
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebx
je 0x43955c
mov eax, dword [0x45bd68]
cmp eax, ebx
je 0x43955c
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, 0x440f38
cmp eax, ebx
mov dword [esp + 0x48], esi
je 0x43958b
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 0x4395a4
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 0x4395bd
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 0x439ff9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x439ff9
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
call esi
xor edx, edx
cmp edx, 0x45bd08
je 0x4395fa
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x45bd34]
xor eax, eax
inc edx
cmp eax, 0x45bd08
mov dword [0x45bd34], edx
je 0x439626
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x45bd4c]
inc ecx
mov dword [0x45bd4c], ecx
xor ecx, ecx
cmp ecx, 0x45bd08
je 0x439648
push 0x45bd0c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x457ea0
push ecx
mov byte [esp + 0xbc], 0x40
call sub.MFC42.DLL_CString::Format
mov al, byte [0x45c065]
add esp, 0x10
test al, 1
jne 0x4396ae
mov bl, al
push 0x45c084
or bl, 1
mov dword [0x45c080], 0x440fac
mov byte [0x45c065], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
mov eax, dword [0x45bd5c]
xor ebx, ebx
cmp eax, ebx
je 0x43971d
mov eax, dword [0x45bd58]
cmp eax, ebx
je 0x4396c8
call eax
cmp eax, ebx
jl 0x43971d
mov al, byte [0x45c065]
mov esi, dword [0x45b74c]
mov edi, dword [esp + 0x10]
test al, 1
jne 0x439704
or al, 1
push 0x45c084
mov byte [0x45c065], al
mov dword [0x45c080], 0x440fac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4378f0
call fcn.0043d3f8
add esp, 4
cmp dword [0x45bd5c], ebx
je 0x43971d
mov eax, dword [0x45bd68]
cmp eax, ebx
je 0x43971d
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, 0x440f38
cmp eax, ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], esi
jne 0x4397a5
cmp eax, ebx
je 0x439754
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 0x43976d
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 0x439786
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 0x43979b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xfffd678a
jmp 0x439ffc
cmp eax, ebx
je 0x4397b6
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 0x4397cf
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 0x4397e8
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 0x439ff9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x439ff9
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43983f
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x24]
add edx, 0xd
push edx
push 0x45b848
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.0043a490
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 0x439a40
lea ecx, [esp + 0x10]
call fcn.0043d02a
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.00437180
add esp, 0x2c
cmp eax, 2
jl 0x4398d6
mov eax, dword [0x45b74c]
mov ecx, dword [esp + 0x10]
push 0
push 2
push eax
push ecx
push 2
call fcn.00437180
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.0043a170
mov byte [esi + 0x58], 0
jmp 0x4399e8
lea ecx, [esp + 0x18]
call fcn.0043d02a
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.00437180
add esp, 0x2c
cmp eax, 2
jl 0x43996a
mov eax, dword [0x45b74c]
mov ecx, dword [esp + 0x18]
push 0
push 2
push eax
push ecx
push 2
call fcn.00437180
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 0x4399b1
lea ecx, [esp + 0x28]
call fcn.00438200
mov esi, dword [esp + 0x34]
add edi, eax
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], edi
call fcn.00438200
mov edx, dword [esp + 0x7c]
push eax
push esi
push edx
call fcn.00436b90
add esp, 0x10
jmp 0x4399e8
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x28]
call fcn.00438200
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.00438200
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 0x439a1c
lea ebp, [ebx*4 + 0x45b798]
cmp edx, 0x400
jl 0x439a0c
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 0x439a02
push 0
push 0
push esi
push edi
lea ecx, [ebx*4 + 0x45b7b8]
call fcn.0043b5d0
inc word [ebx*2 + 0x45b840]
mov byte [esp + 0x17], 0
jmp 0x43902b
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push 0x457d48
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.00437180
add esp, 0x24
cmp eax, 2
jl 0x439a97
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x10]
push 0
push 2
push ecx
push edx
push 2
call fcn.00437180
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
jmp 0x439d83
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd4c]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd4c], eax
call fcn.00435d60
call dword [sym.imp.MSVCRT.dll__errno]
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov eax, dword [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x18]
push 0x457d00
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.00437180
add esp, 0x24
test eax, eax
jl 0x439b2e
mov edx, dword [0x45b74c]
mov eax, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 2
call fcn.00437180
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x439fbf
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd38]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd38], eax
call fcn.00435d60
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov ecx, dword [esp + 0x20]
push ebx
push ecx
lea edx, [esp + 0x18]
push 0x457cb8
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.00437180
add esp, 0x24
test eax, eax
jl 0x439bb9
mov eax, dword [0x45b74c]
mov ecx, dword [esp + 0x10]
push 0
push 0
push eax
push ecx
push 2
call fcn.00437180
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x439fbf
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd38]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd38], eax
call fcn.00435d60
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x18]
push 0x457c70
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.00437180
add esp, 0x24
test eax, eax
jl 0x439c45
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x10]
push 0
push 0
push ecx
push edx
push 2
call fcn.00437180
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x439fbf
call dword [sym.imp.MSVCRT.dll__errno]
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov edx, dword [0x45bd34]
lea ecx, [esp + 0x7c]
inc edx
mov dword [0x45bd34], edx
call fcn.00435d60
push 0x45bd08
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd4c]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd4c], eax
call fcn.00435d60
lea ecx, [esp + 0x10]
call fcn.0043d02a
mov eax, dword [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x18]
push 0x457c28
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.00437180
add esp, 0x24
test eax, eax
jl 0x439cfe
mov edx, dword [0x45b74c]
mov eax, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 2
call fcn.00437180
add esp, 0x14
mov byte [esp + 0xac], 0x57
lea ecx, [esp + 0x10]
jmp 0x439fbf
lea ecx, [esp + 0x10]
call fcn.0043d02a
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.00437180
add esp, 0x28
cmp eax, 2
jl 0x439d6a
mov eax, dword [0x45b74c]
mov ecx, dword [esp + 0x10]
push 0
push 2
push eax
push ecx
push 2
call fcn.00437180
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.0043d02a
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.00437180
add esp, 0x24
cmp eax, 2
jl 0x439ddd
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x78]
push 0
push 2
push ecx
push edx
push 2
call fcn.00437180
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.0043d02a
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.00437180
add esp, 0x2c
cmp eax, 2
jl 0x439e59
mov edx, dword [0x45b74c]
mov eax, dword [esp + 0x64]
push 0
push 2
push edx
push eax
push 2
call fcn.00437180
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0x57
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 4], esi
jne 0x439f2c
mov ebx, dword [esp + 0xb8]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
mov dword [esp + 0x68], 0xffffffff
call fcn.0043a1f0
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x10d]
add edx, 0xfffffef3
mov ecx, ebx
push edx
push eax
call fcn.0043a0d0
mov ecx, dword [ebp]
push ecx
mov ecx, ebx
call fcn.0043a070
push esi
mov ecx, ebx
call fcn.0043a090
mov edx, dword [ebp + 8]
mov ecx, ebx
push edx
call fcn.0043a0b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 4]
sub eax, 0x100
push eax
call fcn.0043a050
cmp edi, 0xffffffff
je 0x439ef0
mov ecx, dword [esp + 0x24]
push 0
push ecx
mov ecx, ebx
call fcn.0043a170
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.00431290
lea ecx, [esp + 0x38]
call fcn.00431290
lea ecx, [esp + 0x58]
call fcn.00431290
lea ecx, [esp + 0x6c]
call fcn.00431290
xor eax, eax
jmp 0x439ffc
cmp edi, 0xffffffff
je 0x439f38
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45bce8
lea ecx, [esp + 0x80]
call fcn.00436e00
mov eax, dword [0x45bd2c]
lea ecx, [esp + 0x7c]
inc eax
mov dword [0x45bd2c], eax
call fcn.00435d60
lea ecx, [esp + 0x64]
call fcn.0043d02a
mov edx, dword [esp + 0x20]
push ebx
push edx
lea eax, [esp + 0x6c]
push 0x457aec
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.00437180
add esp, 0x24
test eax, eax
jl 0x439fb3
mov ecx, dword [0x45b74c]
mov edx, dword [esp + 0x64]
push 0
push 0
push ecx
push edx
push 2
call fcn.00437180
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.00431290
lea ecx, [esp + 0x38]
call fcn.00431290
lea ecx, [esp + 0x58]
call fcn.00431290
lea ecx, [esp + 0x6c]
call fcn.00431290
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