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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], eax
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0xffffffff
call fcn.004a9d5c
mov eax, dword [0x4f5b3c]
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
push 4
push ecx
lea edi, [esi + 0x2e8]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004a7219
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004a9d0c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004a9c1f
lea ecx, [ebp - 0x18]
call fcn.004aa107
push edi
lea edx, [ebp + 8]
push str.Opening_package:
push edx
call fcn.004a9edc
push eax
mov byte [ebp - 4], 6
call fcn.0045db50
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004a9c1f
mov eax, dword [ebp - 0x18]
push str.http
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x417b3d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41774f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 7
jmp 0x417d69
mov ecx, dword [0x4ff354]
mov edx, dword [0x4ff358]
push 0
lea ebx, [esi + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx - 8]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [edi]
push ecx
push eax
push edx
mov ecx, ebx
call fcn.00419cc0
test eax, eax
jne 0x4177c2
mov ecx, edi
call fcn.004a9baa
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2ec], eax
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 8
jmp 0x417dc4
push 2
push 0xfffffffffffffff0
mov ecx, ebx
call fcn.0041a3b0
mov ecx, dword [ebp - 0x1c]
push 0x10
lea eax, [ecx + 0x40]
mov ecx, ebx
push eax
call fcn.0041a490
test eax, eax
jne 0x417828
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, edi
call fcn.004a9baa
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2ec], eax
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 9
jmp 0x417dc4
mov eax, dword [ebp - 0x1c]
push str._20_20_
add eax, 0x40
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x417887
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, edi
call fcn.004a9baa
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2ec], eax
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0xa
jmp 0x417dc4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x48]
mov dword [esi + 0x2ec], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x4c]
test ecx, ecx
mov dword [esi + 0x2f0], edx
je 0x4178a8
add eax, 4
jmp 0x4178ab
add eax, 0x20
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00432870
mov eax, dword [esi + 0x2f0]
push 0
push eax
mov ecx, ebx
call fcn.0041a3b0
lea eax, [ebp - 0x1dc]
push 0x114
push eax
mov ecx, ebx
call fcn.0041a490
test eax, eax
je 0x417949
push 0xa
lea ecx, [ebp - 0x1c8]
push str.ZZYZX.MFT
push ecx
call fcn.00475f10
add esp, 0xc
test eax, eax
jne 0x417949
mov edx, dword [ebp - 0x1cc]
push edx
call fcn.00475441
mov edi, eax
add esp, 4
test edi, edi
je 0x417949
mov eax, dword [ebp - 0x1cc]
mov ecx, ebx
push eax
push edi
call fcn.0041a490
test eax, eax
je 0x417935
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1cc]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push edi
call fcn.00417390
mov dword [ebp - 0x34], eax
push edi
call fcn.004753f9
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
jne 0x417d43
mov edi, dword [esi + 0x2ec]
push 0
lea ecx, [ebp - 0xc8]
call fcn.00415680
mov eax, dword [0x4f5b3c]
mov dword [ebp + 8], eax
push 0x8c0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.004abac8
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.004a9994
lea ecx, [ebp - 0xc8]
call fcn.00415770
push 0
push 0x79
lea ecx, [ebp - 0xc8]
call fcn.004ab358
push 0
lea ecx, [ebp - 0xc8]
call fcn.004aec92
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4feef8]
and eax, 8
xor ecx, ecx
cmp al, 8
mov dword [ebp - 0x34], 0
setne cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4179ff
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4179ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, 0x7d0
jb 0x4179ff
push 5
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x34], 1
call fcn.004aec92
mov eax, dword [esi + 0x2ec]
mov ecx, dword [esi + 0x2f0]
sub ecx, eax
cmp ecx, 0x2625a00
jbe 0x417a2f
mov edx, edi
sub edx, eax
mov eax, 0x51eb851f
mov dword [ebp - 0x38], edx
mul ecx
mov ecx, edx
mov edx, dword [ebp - 0x38]
shr ecx, 5
mov eax, edx
jmp 0x417a45
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
mov edx, eax
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
shl eax, 2
sub eax, edx
xor edx, edx
div ecx
cmp eax, 0x63
mov dword [ebp - 0x6c], eax
jle 0x417a58
mov dword [ebp - 0x6c], 0x63
lea ecx, [ebp - 0xc8]
call fcn.00415740
push 0
push edi
mov ecx, ebx
call fcn.0041a3b0
lea eax, [ebp - 0x1dc]
push 0x114
push eax
mov ecx, ebx
call fcn.0041a490
test eax, eax
je 0x417abf
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004a9d5c
lea ecx, [ebp - 0x14]
call fcn.004aa0f5
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push edi
push edx
call fcn.00432c70
mov edi, dword [ebp - 0x1dc]
test edi, edi
je 0x417b11
cmp edi, dword [esi + 0x2f0]
ja 0x417b11
jmp 0x4179cd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.004a9c1f
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.004a9c1f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.004ab31a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0xe
jmp 0x417dc4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.004a9c1f
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.004a9c1f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.004ab31a
jmp 0x417d43
cmp dword [esi + 4], 0xffffffff
je 0x417b6e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0x10
jmp 0x417d69
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x417ba2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0x11
jmp 0x417dc4
mov edx, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push 0x40
push eax
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
jne 0x417c08
mov eax, dword [edi]
mov edx, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
jne 0x417c08
mov ecx, edi
call fcn.004a9baa
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2ec], eax
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0x12
jmp 0x417dc4
lea ecx, [ebp - 0x3c]
call fcn.004aad9a
mov edx, dword [esi]
push 2
push 0xfffffffffffffff0
mov ecx, esi
mov byte [ebp - 4], 0x14
call dword [edx + 0x28]
mov dword [ebp - 4], 4
call fcn.004aadd8
mov edx, dword [esi]
lea eax, [ebx + 0x40]
push 0x10
push eax
mov ecx, esi
call dword [edx + 0x34]
lea eax, [ebx + 0x40]
push str._20_20_
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x417c94
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov ecx, edi
call fcn.004a9baa
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2ec], eax
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0x17
jmp 0x417dc4
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2ec], ecx
mov edx, dword [ebx + 0x4c]
test eax, eax
mov dword [esi + 0x2f0], edx
je 0x417cb2
add ebx, 4
jmp 0x417cb5
add ebx, 0x20
mov ecx, ebx
call fcn.00432870
mov edi, dword [esi + 0x2ec]
lea ecx, [ebp - 0x3c]
call fcn.004aad9a
mov eax, dword [esi]
push 0
push edi
mov ecx, esi
mov byte [ebp - 4], 0x19
call dword [eax + 0x28]
mov edx, dword [esi]
lea eax, [ebp - 0x1dc]
push 0x114
push eax
mov ecx, esi
call dword [edx + 0x34]
mov dword [ebp - 4], 4
call fcn.004aadd8
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004a9d5c
lea ecx, [ebp - 0x14]
call fcn.004aa0f5
mov edx, dword [ebp - 0x14]
push edi
push edx
mov ecx, ebx
call fcn.00432c70
mov edi, dword [ebp - 0x1dc]
test edi, edi
je 0x417d43
cmp edi, dword [esi + 0x2f0]
jbe 0x417cc2
jmp 0x417d43
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004a9c1f
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0x20]
call fcn.004a9c1f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x20]
call fcn.004a9c1f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8