Function at 0x437430
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x5a8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov esi, ecx
call ebx
push eax
push 0x473f74
call fcn.00436850
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x24]
add esp, 8
push eax
mov eax, dword [esi + 0x12c8]
push ecx
mov ecx, dword [esi + 0x12c4]
push edx
push eax
push ecx
push str.PicResProvider::OnClose____m_PicDownloadMgr.m_nAreadyDownLoadTimes_d___t_tm_PicDownloadMgr.m_bIsNeedDownload_d_m_PicDownloadMgr.m_bEnableDownloadStrategy_d___t_tm_PicDownloadMgr.m_bUpdateComplete_d_m_PicDownloadMgr.m_bHasSomePicDownloadSucc_d
call fcn.00436850
mov eax, dword [esi + 0x12c4]
add esp, 0x18
test eax, eax
mov ebp, 0x2790
jne 0x43753b
mov eax, dword [esi + 0x12c8]
test eax, eax
je 0x43753b
mov edx, dword [esi + 0x12bc]
mov ecx, 0x167
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2e20]
mov dword [esp + 0x18], 0x5a0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 6
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call ebx
mov ebx, dword [esi + 0x2d0c]
mov ecx, dword [esi + 0x2e20]
mov edx, dword [esp + 0x34]
sub eax, ebx
push eax
mov dword [esp + 0x40], eax
push ecx
push edx
lea eax, [esi + 0x2aac]
push 0x4766b0
push eax
call fcn.0041c9d0
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
push 0x5a0
push 0x57
mov ecx, 0x4795c0
call fcn.004034b0
mov edx, dword [esi + 0x12bc]
mov eax, dword [esi + 0x2e20]
push edx
push eax
push str.RET_REPORT_FIRSTUPDATE_SUCC_NUM_6__m_nGameCount_d
call fcn.00436850
add esp, 0xc
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.MSVCRT.dll_time]
mov ebx, 1
cmp eax, ebx
jne 0x437576
mov ecx, esi
call fcn.00437d00
push 0
call edi
add esp, 4
mov dword [esi + 0x2e14], eax
push eax
push str.OnClose___closeClientTimestamp_u
call fcn.00436850
add esp, 8
mov ecx, esi
call fcn.00437e90
cmp dword [esi + 0x24], ebx
jne 0x4375f7
mov ecx, esi
call fcn.00437d00
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4375d9
mov eax, dword [esi + 8]
test eax, eax
jne 0x4375d9
push 0
call edi
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x2e18]
add esp, 4
mov edi, eax
push ecx
push edx
push edi
push str.tm_u_start_u_m_PicDownloadMgr.m_nClientOpenCloseTimeStamp_d
call fcn.00436850
mov ecx, dword [esi + 0x2e18]
mov eax, dword [esi + 0x20]
sub edi, ecx
add esp, 0x10
cmp edi, eax
jg 0x4375f0
mov eax, dword [esi + 0x2e1c]
test eax, eax
jle 0x4375f0
dec eax
push str.OnClose___continuousCloseOpenCount____
mov dword [esi + 0x2e1c], eax
jmp 0x4375e8
mov dword [esi + 0x2e1c], 0
push str.OnClose___continuousCloseOpenCount__0_
call fcn.00436850
add esp, 4
mov ecx, esi
call fcn.00437e90
mov eax, dword [esi + 0x24]
test eax, eax
je 0x437673
mov eax, dword [esi + 0x2e1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x437673
mov ecx, 0x167
xor eax, eax
lea edi, [esp + 0x1c]
push 0x476580
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x2aac]
mov dword [esp + 0x1c], 0x5a0
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 7
call fcn.0041c9d0
add esp, 8
lea edx, [esp + 0x18]
mov ecx, 0x4795c0
push edx
push 0x5a0
push 0x57
call fcn.004034b0
push str.RET_REPORT_CLIENTSWITCH_NON_SUCC_7_
call fcn.00436850
add esp, 4
lea ecx, [esi + 4]
call fcn.00420740
lea ecx, [esi + 4]
call fcn.00420390
mov ebx, dword [esi + 0x12bc]
test ebx, ebx
mov dword [esp + 0x10], ebx
jg 0x437697
mov eax, dword [esi + 0x12c0]
test eax, eax
jle 0x43774a
mov ecx, 0x167
xor eax, eax
lea edi, [esp + 0x1c]
fld dword [0x466250]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x12c0]
mov dword [esp + 0x18], 0x5a0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea ecx, [eax + ebx]
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4376d9
fstp st(0)
fild dword [esp + 0x14]
fild dword [esp + 0x10]
fadd st(1)
fdivp st(1)
fmul dword [0x4662f4]
mov edi, eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call sub.MSVCRT.dll__ftol
push eax
push ebx
push edi
lea edx, [esi + 0x2aac]
push 0x476520
push edx
mov dword [esp + 0x50], eax
call fcn.0041c9d0
add esp, 0x14
lea eax, [esp + 0x18]
mov ecx, 0x4795c0
push eax
push 0x5a0
push 0x57
call fcn.004034b0
mov ecx, dword [esi + 0x12bc]
mov edx, dword [esi + 0x12c0]
push ecx
push edx
push str.RET_REPORT_FAIL_0_:m_nDownloadPicFailNum_d_m_nDownloadPicSuccNum_d
call fcn.00436850
add esp, 0xc
mov edx, dword [esi + 0x2cd8]
test edx, edx
jg 0x437762
mov eax, dword [esi + 0x2cd4]
test eax, eax
jle 0x4378e4
mov ecx, 0x167
xor eax, eax
lea edi, [esp + 0x1c]
mov ebx, dword [esi + 0x2ce4]
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esi + 0x2ce8]
mov edi, dword [esi + 0x2ce0]
mov dword [esp + 0x48], ebp
mov ebp, dword [esi + 0x2cec]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esi + 0x2cf0]
mov dword [esp + 0x50], ebp
mov ebp, dword [esi + 0x2cf4]
mov dword [esp + 0x54], ebp
mov ebp, dword [esi + 0x2cf8]
mov dword [esp + 0x58], ebp
mov ebp, dword [esi + 0x2cfc]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esi + 0x2d00]
mov dword [esp + 0x60], ebp
mov ebp, dword [esi + 0x2d04]
mov dword [esp + 0x64], ebp
mov ebp, dword [esi + 0x2d08]
mov dword [esp + 0x68], ebp
push ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [esi + 0x2cd4]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
mov eax, edx
mov edx, dword [esi + 0x2cdc]
push ebp
push ebx
push edi
push edx
push ecx
mov dword [esp + 0x68], eax
push eax
lea eax, [esi + 0x2aac]
push 0x476400
push eax
mov dword [esp + 0x58], 0x5a0
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], 5
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
call fcn.0041c9d0
add esp, 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x5a0
push 0x57
mov ecx, 0x4795c0
call fcn.004034b0
mov edx, dword [esi + 0x2d08]
mov eax, dword [esi + 0x2d04]
mov ecx, dword [esi + 0x2d00]
push edx
mov edx, dword [esi + 0x2cfc]
push eax
mov eax, dword [esi + 0x2cf8]
push ecx
mov ecx, dword [esi + 0x2cf4]
push edx
push eax
mov edx, dword [esi + 0x2cf0]
mov eax, dword [esi + 0x2cec]
push ecx
mov ecx, dword [esi + 0x2ce8]
push edx
mov edx, dword [esi + 0x2ce4]
push eax
mov eax, dword [esi + 0x2ce0]
push ecx
mov ecx, dword [esi + 0x2cdc]
push edx
mov edx, dword [esi + 0x2cd4]
push eax
mov eax, dword [esi + 0x2cd8]
push ecx
push edx
push eax
push str.RET_REPORT_HALL_DOWNLOAD_MSG_5__m_nFailCount_d__m_nSuccCount_d__m_arrErrorID_0__d__t_t_tm_arrErrorID_1__d__m_arrErrorID_2__d__m_arrErrorID_3__d__m_arrErrorID_4__d__t_t_tm_arrErrorID_5__d__m_arrErrorID_6__d__m_arrErrorID_7__d__m_arrErrorID_8__d__t_t_tm_arrErrorID_9__d__m_arrErrorID_10__d__m_arrErrorID_11__d
call fcn.00436850
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret