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

Disassembly:
push 0xffffffffffffffff
push 0x100433d0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
lea eax, [esp + 0x70]
push eax
mov edi, ecx
call fcn.1002c0b0
add esp, 4
xor ebp, ebp
mov dword [esp + 0x98], ebp
push 0xc
push str.download.hzt
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
call fcn.100025e0
mov ecx, esi
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 1
call fcn.10024290
add esp, 8
mov ebx, 8
mov byte [esp + 0x98], 3
cmp dword [esp + 0x34], ebx
jb 0x1002155a
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x38]
mov esi, 7
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.10024720
add esp, 4
test al, al
jne 0x100215ba
cmp dword [esp + 0x50], ebx
jb 0x10021590
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x50], esi
mov word [esp + 0x3c], bp
mov dword [esp + 0x4c], ebp
jb 0x100215b3
mov eax, dword [esp + 0x74]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10021787
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f300
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x9c], 4
call fcn.10023c50
add esp, 4
cmp dword [esp + 0x68], ebp
jne 0x10021640
cmp dword [esp + 0x6c], ebx
jb 0x100215f6
mov eax, dword [esp + 0x58]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
jb 0x10021616
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x100215b3
mov edx, dword [esp + 0x74]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10021787
push edi
lea eax, [esp + 0x58]
push 0x3b
push eax
call fcn.100252a0
add esp, 0xc
mov ecx, edi
xor esi, esi
call fcn.1000aa50
test eax, eax
jbe 0x100216b1
xor ebx, ebx
nop
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x10021683
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10021689
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
add eax, ebx
push eax
call fcn.10024720
add esp, 4
test al, al
je 0x100216bc
mov ecx, edi
add esi, 1
add ebx, 0x1c
call fcn.1000aa50
cmp esi, eax
jb 0x10021660
mov ebx, 8
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x10021709
xor eax, eax
jmp 0x10021721
mov esi, 8
cmp dword [esp + 0x6c], esi
jb 0x100216d4
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x50], esi
mov edi, 7
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
jb 0x100216f9
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0x50], edi
jmp 0x1002159b
mov edi, dword [edi + 8]
sub edi, eax
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebp
setne byte [esp + 0x1b]
cmp dword [esp + 0x6c], ebx
jb 0x1002173b
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x50], ebx
mov esi, 7
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
jb 0x10021760
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x10021783
mov eax, dword [esp + 0x74]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x88
ret