Function at 0x4124c0
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x497120
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4b994c
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 1
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 2
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x40]
cmp edx, esi
mov byte [esp + 0x38], 3
jne 0x412568
xor eax, eax
jmp 0x41257f
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x412570
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.00401f30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._cid_d
lea edi, [esp + 0x2c]
call fcn.004039d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add esp, 8
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.00401ff0
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
push ebx
push esi
push str.KHelper::DownloadFileAndDecompressCrcDat_url:_ws_file:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 0xc
test ebp, ebp
je 0x4125ff
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4125e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4125e0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x18]
call fcn.00401f30
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
mov ebp, dword [esp + 0x44]
je 0x41266d
push 0
push ebp
call fcn.004602c8
add esp, 8
test eax, eax
jne 0x41266d
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.004107f0
add esp, 8
test eax, eax
je 0x41266d
mov eax, dword [esp + 0x1c]
push eax
push 0x4a0fbc
lea edi, [esp + 0x20]
call fcn.004039d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.004616ad
add esp, 0x10
test eax, eax
jne 0x41266d
push ebx
mov ecx, ebp
call fcn.00410950
add esp, 4
test eax, eax
je 0x41266d
xor esi, esi
jmp 0x4127b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
jmp 0x412688
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, 3
jge 0x4126ce
push 0
push ebp
push esi
call fcn.00410d30
add esp, 0xc
test eax, eax
jne 0x41270d
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x30]
mov ecx, ebx
push eax
call fcn.00403080
push ebx
mov ecx, ebp
call fcn.00410950
add esp, 4
test eax, eax
jne 0x412714
lea esi, [eax + 4]
jmp 0x41277b
cmp edi, 5
jge 0x4126e7
push 0
mov ecx, ebp
mov ebx, esi
call fcn.00410e80
mov ebx, dword [esp + 0x4c]
add esp, 4
jmp 0x412709
cmp edi, 6
jge 0x4126f9
push esi
mov ecx, ebp
call fcn.00411220
add esp, 4
jmp 0x412709
mov eax, dword [esp + 0x20]
push 0
push ebp
push eax
call fcn.00410d30
add esp, 0xc
test eax, eax
je 0x4126b7
mov esi, 7
jmp 0x41277b
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x41278d
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.004107f0
add esp, 8
test eax, eax
jne 0x412735
lea esi, [eax + 8]
jmp 0x41277b
mov eax, dword [esp + 0x1c]
push eax
push str._08x
lea edi, [esp + 0x20]
call fcn.004039d0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
push ebx
push edi
call fcn.004616ad
add esp, 0x10
test eax, eax
je 0x41278d
push edi
push ebx
push str.DownloadFileAndDecompressCrcDat_Crc_is_not_correct__expect_crc:_ws__crc:_ws
mov ecx, 0x4ba960
mov esi, 9
call fcn.0041d5c0
mov edi, dword [esp + 0x34]
add esp, 0xc
add edi, 1
cmp edi, 7
mov dword [esp + 0x28], edi
jl 0x412680
jmp 0x41278f
xor esi, esi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x34]
mov ecx, 0x4ba960
push eax
push esi
push str.DownloadFileAndDecompressCrcDat_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.0041d5c0
add esp, 0x14
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41284e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret